]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/core_wrap.cpp
More Unicode fixes
[wxWidgets.git] / wxPython / src / msw / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50/***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60#include <string.h>
61
62#if defined(_WIN32) || defined(__WIN32__)
63# if defined(_MSC_VER)
64# if defined(STATIC_LINKED)
65# define SWIGEXPORT(a) a
66# define SWIGIMPORT(a) extern a
67# else
68# define SWIGEXPORT(a) __declspec(dllexport) a
69# define SWIGIMPORT(a) extern a
70# endif
71# else
72# if defined(__BORLANDC__)
73# define SWIGEXPORT(a) a _export
74# define SWIGIMPORT(a) a _export
75# else
76# define SWIGEXPORT(a) a
77# define SWIGIMPORT(a) a
78# endif
79# endif
80#else
81# define SWIGEXPORT(a) a
82# define SWIGIMPORT(a) a
83#endif
84
85#ifdef SWIG_GLOBAL
86#define SWIGRUNTIME(a) SWIGEXPORT(a)
87#else
88#define SWIGRUNTIME(a) static a
89#endif
90
91
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
423f194a 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
423f194a 103 void *clientdata;
d14a1e28
RD
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119#ifdef __cplusplus
120}
423f194a 121
d14a1e28
RD
122#endif
123
124/***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135#include "Python.h"
136
137#ifdef __cplusplus
138extern "C" {
139#endif
140
141#define SWIG_PY_INT 1
142#define SWIG_PY_FLOAT 2
143#define SWIG_PY_STRING 3
144#define SWIG_PY_POINTER 4
145#define SWIG_PY_BINARY 5
146
147/* Flags for pointer conversion */
148
149#define SWIG_POINTER_EXCEPTION 0x1
150#define SWIG_POINTER_DISOWN 0x2
151
152/* Exception handling in wrappers */
153#define SWIG_fail goto fail
154
155/* Constant information structure */
156typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163} swig_const_info;
164
165
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184#define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186#define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188#define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205/* Contract support */
206
423f194a 207#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 208
d14a1e28
RD
209
210#ifdef __cplusplus
211}
212#endif
213
214
215
216/* -------- TYPES TABLE (BEGIN) -------- */
217
218#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
219#define SWIGTYPE_p_wxRealPoint swig_types[1]
220#define SWIGTYPE_p_wxSizerItem swig_types[2]
221#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
222#define SWIGTYPE_p_wxScrollEvent swig_types[4]
223#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
224#define SWIGTYPE_p_wxSizer swig_types[6]
225#define SWIGTYPE_p_wxBoxSizer swig_types[7]
226#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
227#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
228#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
229#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
230#define SWIGTYPE_p_wxMenu swig_types[12]
231#define SWIGTYPE_p_wxEvent swig_types[13]
232#define SWIGTYPE_p_wxGridSizer swig_types[14]
233#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
234#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
235#define SWIGTYPE_p_wxItemContainer swig_types[17]
236#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
237#define SWIGTYPE_p_wxPaintEvent swig_types[19]
238#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
239#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
240#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
241#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
242#define SWIGTYPE_p_wxControl swig_types[24]
243#define SWIGTYPE_p_wxFont swig_types[25]
244#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
245#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
246#define SWIGTYPE_p_wxFSFile swig_types[28]
247#define SWIGTYPE_p_wxCaret swig_types[29]
248#define SWIGTYPE_p_wxRegion swig_types[30]
249#define SWIGTYPE_p_wxPoint2D swig_types[31]
250#define SWIGTYPE_p_int swig_types[32]
251#define SWIGTYPE_p_wxSize swig_types[33]
252#define SWIGTYPE_p_wxDC swig_types[34]
253#define SWIGTYPE_p_wxPySizer swig_types[35]
254#define SWIGTYPE_p_wxNotifyEvent swig_types[36]
255#define SWIGTYPE_p_wxPyEvent swig_types[37]
256#define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
257#define SWIGTYPE_p_wxAppTraits swig_types[39]
258#define SWIGTYPE_p_wxArrayString swig_types[40]
259#define SWIGTYPE_p_wxShowEvent swig_types[41]
260#define SWIGTYPE_p_wxToolTip swig_types[42]
261#define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
262#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
263#define SWIGTYPE_p_wxActivateEvent swig_types[45]
264#define SWIGTYPE_p_wxMoveEvent swig_types[46]
265#define SWIGTYPE_p_wxSizeEvent swig_types[47]
266#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
267#define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
268#define SWIGTYPE_p_wxIdleEvent swig_types[50]
269#define SWIGTYPE_p_wxMenuItem swig_types[51]
270#define SWIGTYPE_p_wxStaticBox swig_types[52]
271#define SWIGTYPE_p_long swig_types[53]
272#define SWIGTYPE_p_wxTIFFHandler swig_types[54]
273#define SWIGTYPE_p_wxXPMHandler swig_types[55]
274#define SWIGTYPE_p_wxPNMHandler swig_types[56]
275#define SWIGTYPE_p_wxJPEGHandler swig_types[57]
276#define SWIGTYPE_p_wxPCXHandler swig_types[58]
277#define SWIGTYPE_p_wxGIFHandler swig_types[59]
278#define SWIGTYPE_p_wxPNGHandler swig_types[60]
279#define SWIGTYPE_p_wxANIHandler swig_types[61]
280#define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
281#define SWIGTYPE_p_wxEvtHandler swig_types[63]
282#define SWIGTYPE_p_wxCURHandler swig_types[64]
283#define SWIGTYPE_p_wxICOHandler swig_types[65]
284#define SWIGTYPE_p_wxBMPHandler swig_types[66]
285#define SWIGTYPE_p_wxImageHandler swig_types[67]
286#define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
287#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
288#define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
289#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
290#define SWIGTYPE_p_wxRect swig_types[72]
291#define SWIGTYPE_p_wxGBSpan swig_types[73]
292#define SWIGTYPE_p_wxPropagateOnce swig_types[74]
293#define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
294#define SWIGTYPE_p_wxGBPosition swig_types[76]
295#define SWIGTYPE_p_wxImage swig_types[77]
296#define SWIGTYPE_p_wxFrame swig_types[78]
297#define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
298#define SWIGTYPE_p_wxImageHistogram swig_types[80]
299#define SWIGTYPE_p_byte swig_types[81]
300#define SWIGTYPE_p_wxPoint swig_types[82]
301#define SWIGTYPE_p_wxCursor swig_types[83]
302#define SWIGTYPE_p_wxObject swig_types[84]
303#define SWIGTYPE_p_wxPyInputStream swig_types[85]
304#define SWIGTYPE_p_wxOutputStream swig_types[86]
305#define SWIGTYPE_p_wxInputStream swig_types[87]
306#define SWIGTYPE_p_wxDateTime swig_types[88]
307#define SWIGTYPE_p_wxKeyEvent swig_types[89]
308#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
309#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
310#define SWIGTYPE_p_wxWindow swig_types[92]
311#define SWIGTYPE_p_wxMenuBar swig_types[93]
312#define SWIGTYPE_p_wxString swig_types[94]
313#define SWIGTYPE_p_wxFileSystem swig_types[95]
314#define SWIGTYPE_p_wxBitmap swig_types[96]
315#define SWIGTYPE_p_wxMenuEvent swig_types[97]
316#define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
317#define SWIGTYPE_p_unsigned_char swig_types[99]
318#define SWIGTYPE_p_wxCloseEvent swig_types[100]
319#define SWIGTYPE_p_wxEraseEvent swig_types[101]
320#define SWIGTYPE_p_wxMouseEvent swig_types[102]
321#define SWIGTYPE_p_wxPyApp swig_types[103]
322#define SWIGTYPE_p_wxCommandEvent swig_types[104]
323#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
44127b65 324#define SWIGTYPE_p_wxPyDropTarget swig_types[106]
d14a1e28
RD
325#define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
326#define SWIGTYPE_p_wxFocusEvent swig_types[108]
327#define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
328#define SWIGTYPE_p_wxControlWithItems swig_types[110]
329#define SWIGTYPE_p_wxColour swig_types[111]
330#define SWIGTYPE_p_wxValidator swig_types[112]
331#define SWIGTYPE_p_wxPyValidator swig_types[113]
332static swig_type_info *swig_types[115];
333
334/* -------- TYPES TABLE (END) -------- */
335
336
337/*-----------------------------------------------
338 @(target):= _core.so
339 ------------------------------------------------*/
340#define SWIG_init init_core
341
342#define SWIG_name "_core"
343
344#include "wx/wxPython/wxPython_int.h"
345#include "wx/wxPython/pyclasses.h"
346
347
348#ifndef wxPyUSE_EXPORT
349// Helper functions for dealing with SWIG objects and such. These are
350// located here so they know about the SWIG types and functions declared
351// in the wrapper code.
352
353#include <wx/hashmap.h>
354WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
355
356
357// Maintains a hashmap of className to swig_type_info pointers. Given the
358// name of a class either looks up the type info in the cache, or scans the
359// SWIG tables for it.
360extern PyObject* wxPyPtrTypeMap;
361static
362swig_type_info* wxPyFindSwigType(const wxChar* className) {
363
364 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
365
366 if (typeInfoCache == NULL)
367 typeInfoCache = new wxPyTypeInfoHashMap;
368
369 wxString name(className);
370 swig_type_info* swigType = (*typeInfoCache)[name];
371
372 if (! swigType) {
373 // it wasn't in the cache, so look it up from SWIG
374 name.Append(wxT(" *"));
375 swigType = SWIG_Python_TypeQuery(name.mb_str());
376
377 // if it still wasn't found, try looking for a mapped name
378 if (!swigType) {
379 PyObject* item;
380 name = className;
381
382 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
383 (char*)(const char*)name.mbc_str())) != NULL) {
384 name = wxString(PyString_AsString(item), *wxConvCurrent);
385 name.Append(wxT(" *"));
386 swigType = SWIG_Python_TypeQuery(name.mb_str());
387 }
388 }
389 if (swigType) {
390 // and add it to the map if found
391 (*typeInfoCache)[className] = swigType;
392 }
393 }
394 return swigType;
395}
396
397
398// Check if a class name is a type known to SWIG
399bool wxPyCheckSwigType(const wxChar* className) {
400
401 swig_type_info* swigType = wxPyFindSwigType(className);
402 return swigType != NULL;
403}
404
405
406// Given a pointer to a C++ object and a class name, construct a Python proxy
407// object for it.
408PyObject* wxPyConstructObject(void* ptr,
409 const wxChar* className,
410 int setThisOwn) {
411
412 swig_type_info* swigType = wxPyFindSwigType(className);
413 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
414
415 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
416}
417
418
419// Extract a pointer to the wrapped C++ object from a Python proxy object.
420// Ensures that the proxy object is of the specified (or derived) type. If
421// not able to perform the conversion then a Python exception is set and the
423f194a 422// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
423bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
424 const wxChar* className) {
425
426 swig_type_info* swigType = wxPyFindSwigType(className);
423f194a 427 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
428
429 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
430}
431
432
433// Make a SWIGified pointer object suitable for a .this attribute
434PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
435
436 PyObject* robj = NULL;
437
438 swig_type_info* swigType = wxPyFindSwigType(className);
439 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
440
441#ifdef SWIG_COBJECT_TYPES
442 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
443#else
444 {
445 char result[1024];
446 char *r = result;
447 *(r++) = '_';
448 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
449 strcpy(r, swigType->name);
450 robj = PyString_FromString(result);
451 }
452#endif
453
454 return robj;
455}
456
457
458
459
460// Export a C API in a struct. Other modules will be able to load this from
461// the wx.core module and will then have safe access to these functions, even if
462// they are located in another shared library.
463static wxPyCoreAPI API = {
464
465 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
466 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
467 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
468 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
469 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
470 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
471 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
472 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
473 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
474 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
475 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
476 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
477 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
478 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
479 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
480 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
481 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
482
483 wxPyCheckSwigType,
484 wxPyConstructObject,
485 wxPyConvertSwigPtr,
486 wxPyMakeSwigPtr,
487
488 wxPyBeginAllowThreads,
489 wxPyEndAllowThreads,
490 wxPyBeginBlockThreads,
491 wxPyEndBlockThreads,
492
493 wxPy_ConvertList,
494
495 wxString_in_helper,
496 Py2wxString,
497 wx2PyString,
498
499 byte_LIST_helper,
500 int_LIST_helper,
501 long_LIST_helper,
502 string_LIST_helper,
503 wxPoint_LIST_helper,
504 wxBitmap_LIST_helper,
505 wxString_LIST_helper,
506 wxAcceleratorEntry_LIST_helper,
507
508 wxSize_helper,
509 wxPoint_helper,
510 wxRealPoint_helper,
511 wxRect_helper,
512 wxColour_helper,
513 wxPoint2D_helper,
514
515 wxPySimple_typecheck,
516 wxColour_typecheck,
517
518 wxPyCBH_setCallbackInfo,
519 wxPyCBH_findCallback,
520 wxPyCBH_callCallback,
521 wxPyCBH_callCallbackObj,
522 wxPyCBH_delete,
523
524 wxPyMake_wxObject,
525 wxPyMake_wxSizer,
526 wxPyPtrTypeMap_Add,
527 wxPy2int_seq_helper,
528 wxPy4int_seq_helper,
529 wxArrayString2PyList_helper,
530 wxArrayInt2PyList_helper,
531
532 wxPyClientData_dtor,
533 wxPyUserData_dtor,
534 wxPyOORClientData_dtor,
535
536 wxPyCBInputStream_create,
537
538 wxPyInstance_Check,
539 wxPySwigInstance_Check
540
541};
542
543#endif
544
545
546 DECLARE_DEF_STRING(EmptyString);
423f194a 547// DECLARE_DEF_STRING(PanelNameStr);
d14a1e28
RD
548
549
550#if ! wxUSE_HOTKEY
551enum wxHotkeyModifier
552{
553 wxMOD_NONE = 0,
554 wxMOD_ALT = 1,
555 wxMOD_CONTROL = 2,
556 wxMOD_SHIFT = 4,
557 wxMOD_WIN = 8
558};
559#define wxEVT_HOTKEY 9999
560#endif
561
562wxString wxObject_GetClassName(wxObject *self){
563 return self->GetClassInfo()->GetClassName();
564 }
565void wxObject_Destroy(wxObject *self){
566 delete self;
567 }
568
569#ifndef __WXMAC__
570#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
571#endif
572
423f194a 573PyObject *wxSize_Get(wxSize *self){
d14a1e28
RD
574 wxPyBeginBlockThreads();
575 PyObject* tup = PyTuple_New(2);
576 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
577 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
578 wxPyEndBlockThreads();
579 return tup;
580 }
581void wxRealPoint_Set(wxRealPoint *self,double x,double y){
582 self->x = x;
583 self->y = y;
584 }
423f194a 585PyObject *wxRealPoint_Get(wxRealPoint *self){
d14a1e28
RD
586 wxPyBeginBlockThreads();
587 PyObject* tup = PyTuple_New(2);
588 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
589 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
590 wxPyEndBlockThreads();
591 return tup;
592 }
593void wxPoint_Set(wxPoint *self,long x,long y){
594 self->x = x;
595 self->y = y;
596 }
423f194a 597PyObject *wxPoint_Get(wxPoint *self){
d14a1e28
RD
598 wxPyBeginBlockThreads();
599 PyObject* tup = PyTuple_New(2);
600 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
601 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
602 wxPyEndBlockThreads();
603 return tup;
604 }
605void wxRect_Set(wxRect *self,int x,int y,int width,int height){
606 self->x = x;
607 self->y = y;
608 self->width = width;
609 self->height = height;
610 }
423f194a 611PyObject *wxRect_Get(wxRect *self){
d14a1e28
RD
612 wxPyBeginBlockThreads();
613 PyObject* tup = PyTuple_New(4);
614 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
615 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
616 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
617 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
618 wxPyEndBlockThreads();
619 return tup;
620 }
621
622 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
623 wxRegion reg1(*r1);
624 wxRegion reg2(*r2);
625 wxRect dest(0,0,0,0);
626 PyObject* obj;
627
628 reg1.Intersect(reg2);
629 dest = reg1.GetBox();
630
631 if (dest != wxRect(0,0,0,0)) {
632 wxPyBeginBlockThreads();
633 wxRect* newRect = new wxRect(dest);
423f194a 634 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
d14a1e28
RD
635 wxPyEndBlockThreads();
636 return obj;
637 }
638 Py_INCREF(Py_None);
639 return Py_None;
640 }
641
642
643static PyObject* t_output_helper(PyObject* target, PyObject* o) {
644 PyObject* o2;
645 PyObject* o3;
646
647 if (!target) {
648 target = o;
649 } else if (target == Py_None) {
650 Py_DECREF(Py_None);
651 target = o;
652 } else {
653 if (!PyTuple_Check(target)) {
654 o2 = target;
655 target = PyTuple_New(1);
656 PyTuple_SetItem(target, 0, o2);
657 }
658 o3 = PyTuple_New(1);
659 PyTuple_SetItem(o3, 0, o);
660
661 o2 = target;
662 target = PySequence_Concat(o2, o3);
663 Py_DECREF(o2);
664 Py_DECREF(o3);
665 }
666 return target;
667}
668
669void wxPoint2D_Set(wxPoint2D *self,double x,double y){
670 self->m_x = x;
671 self->m_y = y;
672 }
423f194a 673PyObject *wxPoint2D_Get(wxPoint2D *self){
d14a1e28
RD
674 wxPyBeginBlockThreads();
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
677 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
678 wxPyEndBlockThreads();
679 return tup;
680 }
681
682#include "wx/wxPython/pyistream.h"
683
684wxPyInputStream *new_wxPyInputStream(PyObject *p){
685 wxInputStream* wxis = wxPyCBInputStream::create(p);
686 if (wxis)
687 return new wxPyInputStream(wxis);
688 else
689 return NULL;
690 }
691void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
692 // We use only strings for the streams, not unicode
693 PyObject* str = PyObject_Str(obj);
694 if (! str) {
695 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
696 return;
697 }
698 self->Write(PyString_AS_STRING(str),
699 PyString_GET_SIZE(str));
700 Py_DECREF(str);
701 }
702
703#include "wx/wxPython/pyistream.h"
704
705
706class wxPyFileSystemHandler : public wxFileSystemHandler
707{
708public:
709 wxPyFileSystemHandler() : wxFileSystemHandler() {}
710
711 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
712 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
713 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
714 DEC_PYCALLBACK_STRING__pure(FindNext);
715
716 wxString GetProtocol(const wxString& location) {
717 return wxFileSystemHandler::GetProtocol(location);
718 }
719
720 wxString GetLeftLocation(const wxString& location) {
721 return wxFileSystemHandler::GetLeftLocation(location);
722 }
723
724 wxString GetAnchor(const wxString& location) {
725 return wxFileSystemHandler::GetAnchor(location);
726 }
727
728 wxString GetRightLocation(const wxString& location) {
729 return wxFileSystemHandler::GetRightLocation(location);
730 }
731
732 wxString GetMimeTypeFromExt(const wxString& location) {
733 return wxFileSystemHandler::GetMimeTypeFromExt(location);
734 }
735
736 PYPRIVATE;
737};
738
739
740IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
741IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
742IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
743IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
744
745
746 wxString wxFileSystem_URLToFileName(const wxString& url) {
747 wxFileName fname = wxFileSystem::URLToFileName(url);
748 return fname.GetFullPath();
749 }
750
751
752 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
753 wxImage& image,
754 long type) {
755 wxMemoryFSHandler::AddFile(filename, image, type);
756 }
757
758 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
759 const wxBitmap& bitmap,
760 long type) {
761 wxMemoryFSHandler::AddFile(filename, bitmap, type);
762 }
763
764 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
765 PyObject* data) {
766 wxMemoryFSHandler::AddFile(filename,
767 // TODO: Verify data type
768 (void*)PyString_AsString(data),
769 (size_t)PyString_Size(data));
770 }
771
772
773#include "wx/wxPython/pyistream.h"
774
775wxImage *new_wxImage(int width,int height,bool clear){
776 if (width > 0 && height > 0)
777 return new wxImage(width, height, clear);
778 else
779 return new wxImage;
780 }
781wxImage *new_wxImage(wxBitmap const &bitmap){
782 return new wxImage(bitmap.ConvertToImage());
783 }
784wxImage *new_wxImage(int width,int height,unsigned char *data){
785 // Copy the source data so the wxImage can clean it up later
786 unsigned char* copy = (unsigned char*)malloc(width*height*3);
787 if (copy == NULL) {
788 PyErr_NoMemory();
789 return NULL;
790 }
791 memcpy(copy, data, width*height*3);
423f194a 792 return new wxImage(width, height, copy, False);
d14a1e28
RD
793 }
794PyObject *wxImage_GetData(wxImage *self){
795 unsigned char* data = self->GetData();
796 int len = self->GetWidth() * self->GetHeight() * 3;
797 PyObject* rv;
798 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
799 return rv;
800 }
801void wxImage_SetData(wxImage *self,PyObject *data){
802 unsigned char* dataPtr;
803
804 if (! PyString_Check(data)) {
805 PyErr_SetString(PyExc_TypeError, "Expected string object");
806 return /* NULL */ ;
807 }
808
809 size_t len = self->GetWidth() * self->GetHeight() * 3;
810 dataPtr = (unsigned char*) malloc(len);
811 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
812 self->SetData(dataPtr);
813 // wxImage takes ownership of dataPtr...
814 }
815PyObject *wxImage_GetDataBuffer(wxImage *self){
816 unsigned char* data = self->GetData();
817 int len = self->GetWidth() * self->GetHeight() * 3;
818 PyObject* rv;
819 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
820 return rv;
821 }
822void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
823 unsigned char* buffer;
824 int size;
825
826 wxPyBeginBlockThreads();
827 if (!PyArg_Parse(data, "t#", &buffer, &size))
828 goto done;
829
830 if (size != self->GetWidth() * self->GetHeight() * 3) {
831 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
832 goto done;
833 }
834 self->SetData(buffer);
835 done:
836 wxPyEndBlockThreads();
837 }
838PyObject *wxImage_GetAlphaData(wxImage *self){
839 unsigned char* data = self->GetAlpha();
840 if (! data) {
841 RETURN_NONE();
842 } else {
843 int len = self->GetWidth() * self->GetHeight();
844 PyObject* rv;
845 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
846 return rv;
847 }
848 }
849void wxImage_SetAlphaData(wxImage *self,PyObject *data){
850 unsigned char* dataPtr;
851
852 if (! PyString_Check(data)) {
853 PyErr_SetString(PyExc_TypeError, "Expected string object");
854 return /* NULL */ ;
855 }
856
857 size_t len = self->GetWidth() * self->GetHeight();
858 dataPtr = (unsigned char*) malloc(len);
859 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
860 self->SetAlpha(dataPtr);
861 // wxImage takes ownership of dataPtr...
862 }
863PyObject *wxImage_GetAlphaBuffer(wxImage *self){
864 unsigned char* data = self->GetAlpha();
865 int len = self->GetWidth() * self->GetHeight();
866 PyObject* rv;
867 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
868 return rv;
869 }
870void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
871 unsigned char* buffer;
872 int size;
873
874 wxPyBeginBlockThreads();
875 if (!PyArg_Parse(data, "t#", &buffer, &size))
876 goto done;
877
878 if (size != self->GetWidth() * self->GetHeight()) {
879 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
880 goto done;
881 }
882 self->SetAlpha(buffer);
883 done:
884 wxPyEndBlockThreads();
885 }
886wxBitmap wxImage_ConvertToBitmap(wxImage *self){
887 wxBitmap bitmap(*self);
888 return bitmap;
889 }
890wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
891 wxImage mono = self->ConvertToMono( red, green, blue );
892 wxBitmap bitmap( mono, 1 );
893 return bitmap;
894 }
895 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
896 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
897 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
898 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
899 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
900void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
901 if (PyCallable_Check(func)) {
902 self->Connect(id, lastId, eventType,
903 (wxObjectEventFunction) &wxPyCallback::EventThunker,
904 new wxPyCallback(func));
905 }
906 else if (func == Py_None) {
907 self->Disconnect(id, lastId, eventType,
908 (wxObjectEventFunction)
909 &wxPyCallback::EventThunker);
910 }
911 else {
912 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
913 }
914 }
915bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
916 return self->Disconnect(id, lastId, eventType,
917 (wxObjectEventFunction)
918 &wxPyCallback::EventThunker);
919 }
920void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
921 if (_self && _self != Py_None) {
922 self->SetClientObject(new wxPyOORClientData(_self));
923 }
924 else {
925 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
926 if (data) {
927 self->SetClientObject(NULL); // This will delete it too
928 }
929 }
930 }
931int wxKeyEvent_GetUniChar(wxKeyEvent *self){
932
933
934
935 return 0;
936
937 }
938void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
939 self->m_size = size;
940 }
941void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
942 self->m_pos = pos;
943 }
944PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
945 int count = self->GetNumberOfFiles();
946 wxString* files = self->GetFiles();
947 PyObject* list = PyList_New(count);
948
949 if (!list) {
950 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
951 return NULL;
952 }
953
954 for (int i=0; i<count; i++) {
955
956
957
958 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
959
960 }
961 return list;
962 }
963
964
965wxPyApp *new_wxPyApp(){
966 wxPythonApp = new wxPyApp();
967 return wxPythonApp;
968 }
969
970 void wxApp_CleanUp() {
971 __wxPyCleanup();
972 }
973
974
975 wxPyApp* wxGetApp() {
976 return (wxPyApp*)wxTheApp;
977 }
978
979
980
423f194a 981 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
982PyObject *wxWindow_GetChildren(wxWindow *self){
983 wxWindowList& list = self->GetChildren();
984 return wxPy_ConvertList(&list);
985 }
986bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
987
988
989
423f194a 990 return False;
d14a1e28
RD
991
992 }
993bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
994
995
996
423f194a 997 return False;
d14a1e28
RD
998
999 }
1000long wxWindow_GetHandle(wxWindow *self){
1001 return wxPyGetWinHandle(self);
1002 }
1003
1004wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1005 return wxWindow::FindWindowById(id, parent);
1006}
1007
1008wxWindow* wxFindWindowByName( const wxString& name,
1009 const wxWindow *parent = NULL ) {
1010 return wxWindow::FindWindowByName(name, parent);
1011}
1012
1013wxWindow* wxFindWindowByLabel( const wxString& label,
1014 const wxWindow *parent = NULL ) {
1015 return wxWindow::FindWindowByLabel(label, parent);
1016}
1017
1018
1019 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1020#ifdef __WXMSW__
1021 wxWindow* win = new wxWindow;
1022 win->SetHWND(hWnd);
1023 win->SubclassWin(hWnd);
1024 return win;
1025#else
1026 PyErr_SetNone(PyExc_NotImplementedError);
1027 return NULL;
1028#endif
1029 }
1030
1031
1032IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1033IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1034IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1035
1036IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1037
1038void wxMenu_Destroy(wxMenu *self){ delete self; }
1039PyObject *wxMenu_GetMenuItems(wxMenu *self){
1040 wxMenuItemList& list = self->GetMenuItems();
1041 return wxPy_ConvertList(&list);
1042 }
1043
1044 DECLARE_DEF_STRING(ControlNameStr);
1045
1046int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1047 if (clientData) {
1048 wxPyClientData* data = new wxPyClientData(clientData);
1049 return self->Append(item, data);
1050 } else
1051 return self->Append(item);
1052 }
1053int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1054 if (clientData) {
1055 wxPyClientData* data = new wxPyClientData(clientData);
1056 return self->Insert(item, pos, data);
1057 } else
1058 return self->Insert(item, pos);
1059 }
1060PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1061 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1062 if (data) {
1063 Py_INCREF(data->m_obj);
1064 return data->m_obj;
1065 } else {
1066 Py_INCREF(Py_None);
1067 return Py_None;
1068 }
1069 }
1070void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1071 wxPyClientData* data = new wxPyClientData(clientData);
1072 self->SetClientObject(n, data);
1073 }
1074
1075
1076PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1077 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1078 if (data) {
1079 Py_INCREF(data->m_obj);
1080 return data->m_obj;
1081 } else {
1082 Py_INCREF(Py_None);
1083 return Py_None;
1084 }
1085 }
1086
1087// Figure out the type of the sizer item
1088
1089struct wxPySizerItemInfo {
1090 wxPySizerItemInfo()
423f194a
RD
1091 : window(NULL), sizer(NULL), gotSize(False),
1092 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1093 {}
1094
1095 wxWindow* window;
1096 wxSizer* sizer;
1097 bool gotSize;
1098 wxSize size;
1099 bool gotPos;
1100 int pos;
1101};
1102
1103static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1104
1105 wxPySizerItemInfo info;
1106 wxSize size;
1107 wxSize* sizePtr = &size;
1108
1109 // Find out what the type of the item is
1110 // try wxWindow
1111 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1112 PyErr_Clear();
1113 info.window = NULL;
1114
1115 // try wxSizer
1116 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1117 PyErr_Clear();
1118 info.sizer = NULL;
1119
1120 // try wxSize or (w,h)
1121 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1122 info.size = *sizePtr;
423f194a 1123 info.gotSize = True;
d14a1e28
RD
1124 }
1125
1126 // or a single int
1127 if (checkIdx && PyInt_Check(item)) {
1128 info.pos = PyInt_AsLong(item);
423f194a 1129 info.gotPos = True;
d14a1e28
RD
1130 }
1131 }
1132 }
1133
1134 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1135 // no expected type, figure out what kind of error message to generate
1136 if ( !checkSize && !checkIdx )
1137 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1138 else if ( checkSize && !checkIdx )
1139 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1140 else if ( !checkSize && checkIdx)
1141 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1142 else
1143 // can this one happen?
1144 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1145 }
1146
1147 return info;
1148}
1149
1150void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1151 self->SetClientObject(new wxPyOORClientData(_self));
1152 }
1153void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1154
1155 wxPyUserData* data = NULL;
1156 wxPyBeginBlockThreads();
423f194a 1157 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1158 if ( userData && (info.window || info.sizer || info.gotSize) )
1159 data = new wxPyUserData(userData);
1160 wxPyEndBlockThreads();
1161
1162 // Now call the real Add method if a valid item type was found
1163 if ( info.window )
1164 self->Add(info.window, proportion, flag, border, data);
1165 else if ( info.sizer )
1166 self->Add(info.sizer, proportion, flag, border, data);
1167 else if (info.gotSize)
1168 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1169 proportion, flag, border, data);
1170 }
1171void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1172
1173 wxPyUserData* data = NULL;
1174 wxPyBeginBlockThreads();
423f194a 1175 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1176 if ( userData && (info.window || info.sizer || info.gotSize) )
1177 data = new wxPyUserData(userData);
1178 wxPyEndBlockThreads();
1179
1180 // Now call the real Insert method if a valid item type was found
1181 if ( info.window )
1182 self->Insert(before, info.window, proportion, flag, border, data);
1183 else if ( info.sizer )
1184 self->Insert(before, info.sizer, proportion, flag, border, data);
1185 else if (info.gotSize)
1186 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1187 proportion, flag, border, data);
1188 }
1189void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1190
1191 wxPyUserData* data = NULL;
1192 wxPyBeginBlockThreads();
423f194a 1193 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1194 if ( userData && (info.window || info.sizer || info.gotSize) )
1195 data = new wxPyUserData(userData);
1196 wxPyEndBlockThreads();
1197
1198 // Now call the real Prepend method if a valid item type was found
1199 if ( info.window )
1200 self->Prepend(info.window, proportion, flag, border, data);
1201 else if ( info.sizer )
1202 self->Prepend(info.sizer, proportion, flag, border, data);
1203 else if (info.gotSize)
1204 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1205 proportion, flag, border, data);
1206 }
1207bool wxSizer_Remove(wxSizer *self,PyObject *item){
1208 wxPyBeginBlockThreads();
423f194a 1209 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1210 wxPyEndBlockThreads();
1211 if ( info.window )
1212 return self->Remove(info.window);
1213 else if ( info.sizer )
1214 return self->Remove(info.sizer);
1215 else if ( info.gotPos )
1216 return self->Remove(info.pos);
1217 else
423f194a 1218 return False;
d14a1e28 1219 }
423f194a 1220void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
d14a1e28 1221 wxPyBeginBlockThreads();
423f194a 1222 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1223 wxPyEndBlockThreads();
1224 if ( info.window )
1225 self->SetItemMinSize(info.window, size);
1226 else if ( info.sizer )
1227 self->SetItemMinSize(info.sizer, size);
1228 else if ( info.gotPos )
1229 self->SetItemMinSize(info.pos, size);
1230 }
1231PyObject *wxSizer_GetChildren(wxSizer *self){
1232 wxSizerItemList& list = self->GetChildren();
1233 return wxPy_ConvertList(&list);
1234 }
1235void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
423f194a 1236 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1237 if ( info.window )
1238 self->Show(info.window, show);
1239 else if ( info.sizer )
1240 self->Show(info.sizer, show);
1241 }
1242void wxSizer_Hide(wxSizer *self,PyObject *item){
423f194a 1243 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1244 if ( info.window )
1245 self->Hide(info.window);
1246 else if ( info.sizer )
1247 self->Hide(info.sizer);
1248 }
1249bool wxSizer_IsShown(wxSizer *self,PyObject *item){
423f194a 1250 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1251 if ( info.window )
1252 return self->IsShown(info.window);
1253 else if ( info.sizer )
1254 return self->IsShown(info.sizer);
1255 else
423f194a 1256 return False;
d14a1e28
RD
1257 }
1258
1259// See pyclasses.h
1260IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1261IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1262IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1263
1264
1265
1266
1267bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1268{
1269 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1270}
1271
1272bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1273{
1274 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1275}
1276
1277
423f194a
RD
1278void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1279 self->SetRow(row);
1280 self->SetCol(col);
1281 }
1282PyObject *wxGBPosition_Get(wxGBPosition *self){
d14a1e28
RD
1283 wxPyBeginBlockThreads();
1284 PyObject* tup = PyTuple_New(2);
1285 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1286 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1287 wxPyEndBlockThreads();
1288 return tup;
1289 }
423f194a
RD
1290void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1291 self->SetRowspan(rowspan);
1292 self->SetColspan(colspan);
1293 }
1294PyObject *wxGBSpan_Get(wxGBSpan *self){
d14a1e28
RD
1295 wxPyBeginBlockThreads();
1296 PyObject* tup = PyTuple_New(2);
1297 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1298 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1299 wxPyEndBlockThreads();
1300 return tup;
1301 }
1302bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1303
1304 wxPyUserData* data = NULL;
1305 wxPyBeginBlockThreads();
423f194a 1306 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1307 if ( userData && (info.window || info.sizer || info.gotSize) )
1308 data = new wxPyUserData(userData);
1309 wxPyEndBlockThreads();
1310
1311 // Now call the real Add method if a valid item type was found
1312 if ( info.window )
1313 return self->Add(info.window, pos, span, flag, border, data);
1314 else if ( info.sizer )
1315 return self->Add(info.sizer, pos, span, flag, border, data);
1316 else if (info.gotSize)
1317 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1318 pos, span, flag, border, data);
423f194a 1319 return False;
d14a1e28
RD
1320 }
1321
1322
1323#ifdef __cplusplus
1324extern "C" {
1325#endif
1326static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject *resultobj;
1328 wxObject *arg1 = (wxObject *) 0 ;
1329 wxString result;
1330 PyObject * obj0 = 0 ;
1331 char *kwnames[] = {
1332 (char *) "self", NULL
1333 };
1334
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 result = wxObject_GetClassName(arg1);
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 {
1345#if wxUSE_UNICODE
1346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1347#else
1348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1349#endif
1350 }
1351 return resultobj;
1352 fail:
1353 return NULL;
1354}
1355
1356
1357static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1358 PyObject *resultobj;
1359 wxObject *arg1 = (wxObject *) 0 ;
1360 PyObject * obj0 = 0 ;
1361 char *kwnames[] = {
1362 (char *) "self", NULL
1363 };
1364
1365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 wxObject_Destroy(arg1);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
1374 Py_INCREF(Py_None); resultobj = Py_None;
1375 return resultobj;
1376 fail:
1377 return NULL;
1378}
1379
1380
1381static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1382 PyObject *obj;
1383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1384 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1385 Py_INCREF(obj);
1386 return Py_BuildValue((char *)"");
1387}
1388static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1389 PyObject *resultobj;
1390 wxSize *arg1 = (wxSize *) 0 ;
1391 int arg2 ;
1392 PyObject * obj0 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "self",(char *) "x", NULL
1395 };
1396
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1399 if (arg1) (arg1)->x = arg2;
1400
1401 Py_INCREF(Py_None); resultobj = Py_None;
1402 return resultobj;
1403 fail:
1404 return NULL;
1405}
1406
1407
1408static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxSize *arg1 = (wxSize *) 0 ;
1411 int result;
1412 PyObject * obj0 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 result = (int) ((arg1)->x);
1420
1421 resultobj = PyInt_FromLong((long)result);
1422 return resultobj;
1423 fail:
1424 return NULL;
1425}
1426
1427
1428static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject *resultobj;
1430 wxSize *arg1 = (wxSize *) 0 ;
1431 int arg2 ;
1432 PyObject * obj0 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "y", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 if (arg1) (arg1)->y = arg2;
1440
1441 Py_INCREF(Py_None); resultobj = Py_None;
1442 return resultobj;
1443 fail:
1444 return NULL;
1445}
1446
1447
1448static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxSize *arg1 = (wxSize *) 0 ;
1451 int result;
1452 PyObject * obj0 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1459 result = (int) ((arg1)->y);
1460
1461 resultobj = PyInt_FromLong((long)result);
1462 return resultobj;
1463 fail:
1464 return NULL;
1465}
1466
1467
1468static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject *resultobj;
1470 int arg1 = (int) 0 ;
1471 int arg2 = (int) 0 ;
1472 wxSize *result;
1473 char *kwnames[] = {
1474 (char *) "w",(char *) "h", NULL
1475 };
1476
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 result = (wxSize *)new wxSize(arg1,arg2);
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1486 return resultobj;
1487 fail:
1488 return NULL;
1489}
1490
1491
1492static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject *resultobj;
1494 wxSize *arg1 = (wxSize *) 0 ;
1495 PyObject * obj0 = 0 ;
1496 char *kwnames[] = {
1497 (char *) "self", NULL
1498 };
1499
1500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 delete arg1;
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 Py_INCREF(Py_None); resultobj = Py_None;
1510 return resultobj;
1511 fail:
1512 return NULL;
1513}
1514
1515
1516static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxSize *arg1 = (wxSize *) 0 ;
1519 wxSize *arg2 = 0 ;
1520 bool result;
1521 wxSize temp2 ;
1522 PyObject * obj0 = 0 ;
1523 PyObject * obj1 = 0 ;
1524 char *kwnames[] = {
1525 (char *) "self",(char *) "sz", NULL
1526 };
1527
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1530 {
1531 arg2 = &temp2;
1532 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1536 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 resultobj = PyInt_FromLong((long)result);
1542 return resultobj;
1543 fail:
1544 return NULL;
1545}
1546
1547
1548static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxSize *arg1 = (wxSize *) 0 ;
1551 wxSize *arg2 = 0 ;
1552 bool result;
1553 wxSize temp2 ;
1554 PyObject * obj0 = 0 ;
1555 PyObject * obj1 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self",(char *) "sz", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562 {
1563 arg2 = &temp2;
1564 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1565 }
1566 {
1567 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1568 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
1569
1570 wxPyEndAllowThreads(__tstate);
1571 if (PyErr_Occurred()) SWIG_fail;
1572 }
1573 resultobj = PyInt_FromLong((long)result);
1574 return resultobj;
1575 fail:
1576 return NULL;
1577}
1578
1579
1580static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject *resultobj;
1582 wxSize *arg1 = (wxSize *) 0 ;
1583 wxSize *arg2 = 0 ;
1584 wxSize result;
1585 wxSize temp2 ;
1586 PyObject * obj0 = 0 ;
1587 PyObject * obj1 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "self",(char *) "sz", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1594 {
1595 arg2 = &temp2;
1596 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1597 }
1598 {
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 result = (arg1)->operator +((wxSize const &)*arg2);
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 {
1606 wxSize * resultptr;
1607 resultptr = new wxSize((wxSize &) result);
1608 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1609 }
1610 return resultobj;
1611 fail:
1612 return NULL;
1613}
1614
1615
1616static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxSize *arg1 = (wxSize *) 0 ;
1619 wxSize *arg2 = 0 ;
1620 wxSize result;
1621 wxSize temp2 ;
1622 PyObject * obj0 = 0 ;
1623 PyObject * obj1 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self",(char *) "sz", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 arg2 = &temp2;
1632 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1633 }
1634 {
1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
1636 result = (arg1)->operator -((wxSize const &)*arg2);
1637
1638 wxPyEndAllowThreads(__tstate);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 {
1642 wxSize * resultptr;
1643 resultptr = new wxSize((wxSize &) result);
1644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1645 }
1646 return resultobj;
1647 fail:
1648 return NULL;
1649}
1650
1651
1652static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 wxSize *arg1 = (wxSize *) 0 ;
1655 wxSize *arg2 = 0 ;
1656 wxSize temp2 ;
1657 PyObject * obj0 = 0 ;
1658 PyObject * obj1 = 0 ;
1659 char *kwnames[] = {
1660 (char *) "self",(char *) "sz", NULL
1661 };
1662
1663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1665 {
1666 arg2 = &temp2;
1667 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1668 }
1669 {
1670 PyThreadState* __tstate = wxPyBeginAllowThreads();
1671 (arg1)->IncTo((wxSize const &)*arg2);
1672
1673 wxPyEndAllowThreads(__tstate);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 Py_INCREF(Py_None); resultobj = Py_None;
1677 return resultobj;
1678 fail:
1679 return NULL;
1680}
1681
1682
1683static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject *resultobj;
1685 wxSize *arg1 = (wxSize *) 0 ;
1686 wxSize *arg2 = 0 ;
1687 wxSize temp2 ;
1688 PyObject * obj0 = 0 ;
1689 PyObject * obj1 = 0 ;
1690 char *kwnames[] = {
1691 (char *) "self",(char *) "sz", NULL
1692 };
1693
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1696 {
1697 arg2 = &temp2;
1698 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1699 }
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 (arg1)->DecTo((wxSize const &)*arg2);
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 Py_INCREF(Py_None); resultobj = Py_None;
1708 return resultobj;
1709 fail:
1710 return NULL;
1711}
1712
1713
1714static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1715 PyObject *resultobj;
1716 wxSize *arg1 = (wxSize *) 0 ;
1717 int arg2 ;
1718 int arg3 ;
1719 PyObject * obj0 = 0 ;
1720 char *kwnames[] = {
423f194a 1721 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 (arg1)->Set(arg2,arg3);
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 }
1733 Py_INCREF(Py_None); resultobj = Py_None;
1734 return resultobj;
1735 fail:
1736 return NULL;
1737}
1738
1739
1740static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1741 PyObject *resultobj;
1742 wxSize *arg1 = (wxSize *) 0 ;
1743 int arg2 ;
1744 PyObject * obj0 = 0 ;
1745 char *kwnames[] = {
1746 (char *) "self",(char *) "w", NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 (arg1)->SetWidth(arg2);
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 Py_INCREF(Py_None); resultobj = Py_None;
1759 return resultobj;
1760 fail:
1761 return NULL;
1762}
1763
1764
1765static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxSize *arg1 = (wxSize *) 0 ;
1768 int arg2 ;
1769 PyObject * obj0 = 0 ;
1770 char *kwnames[] = {
1771 (char *) "self",(char *) "h", NULL
1772 };
1773
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1776 {
1777 PyThreadState* __tstate = wxPyBeginAllowThreads();
1778 (arg1)->SetHeight(arg2);
1779
1780 wxPyEndAllowThreads(__tstate);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 Py_INCREF(Py_None); resultobj = Py_None;
1784 return resultobj;
1785 fail:
1786 return NULL;
1787}
1788
1789
1790static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject *resultobj;
1792 wxSize *arg1 = (wxSize *) 0 ;
1793 int result;
1794 PyObject * obj0 = 0 ;
1795 char *kwnames[] = {
1796 (char *) "self", NULL
1797 };
1798
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1801 {
1802 PyThreadState* __tstate = wxPyBeginAllowThreads();
1803 result = (int)((wxSize const *)arg1)->GetWidth();
1804
1805 wxPyEndAllowThreads(__tstate);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 }
1808 resultobj = PyInt_FromLong((long)result);
1809 return resultobj;
1810 fail:
1811 return NULL;
1812}
1813
1814
1815static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1816 PyObject *resultobj;
1817 wxSize *arg1 = (wxSize *) 0 ;
1818 int result;
1819 PyObject * obj0 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1826 {
1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
1828 result = (int)((wxSize const *)arg1)->GetHeight();
1829
1830 wxPyEndAllowThreads(__tstate);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 }
1833 resultobj = PyInt_FromLong((long)result);
1834 return resultobj;
1835 fail:
1836 return NULL;
1837}
1838
1839
423f194a 1840static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1841 PyObject *resultobj;
1842 wxSize *arg1 = (wxSize *) 0 ;
1843 PyObject *result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
423f194a 1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
1850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1853 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 resultobj = result;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1866 PyObject *obj;
1867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1868 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1869 Py_INCREF(obj);
1870 return Py_BuildValue((char *)"");
1871}
1872static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1875 double arg2 ;
1876 PyObject * obj0 = 0 ;
1877 char *kwnames[] = {
1878 (char *) "self",(char *) "x", NULL
1879 };
1880
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1883 if (arg1) (arg1)->x = arg2;
1884
1885 Py_INCREF(Py_None); resultobj = Py_None;
1886 return resultobj;
1887 fail:
1888 return NULL;
1889}
1890
1891
1892static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject *resultobj;
1894 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1895 double result;
1896 PyObject * obj0 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 result = (double) ((arg1)->x);
1904
1905 resultobj = PyFloat_FromDouble(result);
1906 return resultobj;
1907 fail:
1908 return NULL;
1909}
1910
1911
1912static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1913 PyObject *resultobj;
1914 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1915 double arg2 ;
1916 PyObject * obj0 = 0 ;
1917 char *kwnames[] = {
1918 (char *) "self",(char *) "y", NULL
1919 };
1920
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1923 if (arg1) (arg1)->y = arg2;
1924
1925 Py_INCREF(Py_None); resultobj = Py_None;
1926 return resultobj;
1927 fail:
1928 return NULL;
1929}
1930
1931
1932static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1935 double result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1943 result = (double) ((arg1)->y);
1944
1945 resultobj = PyFloat_FromDouble(result);
1946 return resultobj;
1947 fail:
1948 return NULL;
1949}
1950
1951
1952static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 double arg1 = (double) 0.0 ;
1955 double arg2 = (double) 0.0 ;
1956 wxRealPoint *result;
1957 char *kwnames[] = {
1958 (char *) "x",(char *) "y", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
1970 return resultobj;
1971 fail:
1972 return NULL;
1973}
1974
1975
1976static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1979 PyObject * obj0 = 0 ;
1980 char *kwnames[] = {
1981 (char *) "self", NULL
1982 };
1983
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 delete arg1;
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 Py_INCREF(Py_None); resultobj = Py_None;
1994 return resultobj;
1995 fail:
1996 return NULL;
1997}
1998
1999
423f194a 2000static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2001 PyObject *resultobj;
2002 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2003 wxRealPoint *arg2 = 0 ;
423f194a 2004 bool result;
d14a1e28
RD
2005 wxRealPoint temp2 ;
2006 PyObject * obj0 = 0 ;
2007 PyObject * obj1 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self",(char *) "pt", NULL
2010 };
2011
423f194a 2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2014 {
2015 arg2 = &temp2;
2016 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2017 }
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2020 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
423f194a 2025 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
2026 return resultobj;
2027 fail:
2028 return NULL;
2029}
2030
2031
423f194a 2032static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2033 PyObject *resultobj;
2034 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2035 wxRealPoint *arg2 = 0 ;
423f194a 2036 bool result;
d14a1e28
RD
2037 wxRealPoint temp2 ;
2038 PyObject * obj0 = 0 ;
2039 PyObject * obj1 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "pt", NULL
2042 };
2043
423f194a 2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2046 {
2047 arg2 = &temp2;
2048 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2049 }
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2052 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
423f194a 2057 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
2058 return resultobj;
2059 fail:
2060 return NULL;
2061}
2062
2063
423f194a 2064static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2065 PyObject *resultobj;
2066 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2067 wxRealPoint *arg2 = 0 ;
423f194a 2068 wxRealPoint result;
d14a1e28
RD
2069 wxRealPoint temp2 ;
2070 PyObject * obj0 = 0 ;
2071 PyObject * obj1 = 0 ;
2072 char *kwnames[] = {
2073 (char *) "self",(char *) "pt", NULL
2074 };
2075
423f194a 2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2078 {
2079 arg2 = &temp2;
2080 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2081 }
2082 {
2083 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2084 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2085
2086 wxPyEndAllowThreads(__tstate);
2087 if (PyErr_Occurred()) SWIG_fail;
2088 }
423f194a
RD
2089 {
2090 wxRealPoint * resultptr;
2091 resultptr = new wxRealPoint((wxRealPoint &) result);
2092 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2093 }
d14a1e28
RD
2094 return resultobj;
2095 fail:
2096 return NULL;
2097}
2098
2099
423f194a 2100static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2101 PyObject *resultobj;
2102 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2103 wxRealPoint *arg2 = 0 ;
423f194a 2104 wxRealPoint result;
d14a1e28
RD
2105 wxRealPoint temp2 ;
2106 PyObject * obj0 = 0 ;
2107 PyObject * obj1 = 0 ;
2108 char *kwnames[] = {
2109 (char *) "self",(char *) "pt", NULL
2110 };
2111
423f194a 2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
2113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2114 {
2115 arg2 = &temp2;
2116 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2117 }
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2120 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
423f194a
RD
2125 {
2126 wxRealPoint * resultptr;
2127 resultptr = new wxRealPoint((wxRealPoint &) result);
2128 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2129 }
d14a1e28
RD
2130 return resultobj;
2131 fail:
2132 return NULL;
2133}
2134
2135
2136static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject *resultobj;
2138 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2139 double arg2 ;
2140 double arg3 ;
2141 PyObject * obj0 = 0 ;
2142 char *kwnames[] = {
2143 (char *) "self",(char *) "x",(char *) "y", NULL
2144 };
2145
2146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2148 {
2149 PyThreadState* __tstate = wxPyBeginAllowThreads();
2150 wxRealPoint_Set(arg1,arg2,arg3);
2151
2152 wxPyEndAllowThreads(__tstate);
2153 if (PyErr_Occurred()) SWIG_fail;
2154 }
2155 Py_INCREF(Py_None); resultobj = Py_None;
2156 return resultobj;
2157 fail:
2158 return NULL;
2159}
2160
2161
423f194a 2162static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2163 PyObject *resultobj;
2164 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2165 PyObject *result;
2166 PyObject * obj0 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self", NULL
2169 };
2170
423f194a 2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 {
2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2175 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2176
2177 wxPyEndAllowThreads(__tstate);
2178 if (PyErr_Occurred()) SWIG_fail;
2179 }
2180 resultobj = result;
2181 return resultobj;
2182 fail:
2183 return NULL;
2184}
2185
2186
2187static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2188 PyObject *obj;
2189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2190 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2191 Py_INCREF(obj);
2192 return Py_BuildValue((char *)"");
2193}
2194static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject *resultobj;
2196 wxPoint *arg1 = (wxPoint *) 0 ;
2197 int arg2 ;
2198 PyObject * obj0 = 0 ;
2199 char *kwnames[] = {
2200 (char *) "self",(char *) "x", NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2205 if (arg1) (arg1)->x = arg2;
2206
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
2214static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxPoint *arg1 = (wxPoint *) 0 ;
2217 int result;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 result = (int) ((arg1)->x);
2226
2227 resultobj = PyInt_FromLong((long)result);
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
2234static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxPoint *arg1 = (wxPoint *) 0 ;
2237 int arg2 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "y", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 if (arg1) (arg1)->y = arg2;
2246
2247 Py_INCREF(Py_None); resultobj = Py_None;
2248 return resultobj;
2249 fail:
2250 return NULL;
2251}
2252
2253
2254static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 wxPoint *arg1 = (wxPoint *) 0 ;
2257 int result;
2258 PyObject * obj0 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2265 result = (int) ((arg1)->y);
2266
2267 resultobj = PyInt_FromLong((long)result);
2268 return resultobj;
2269 fail:
2270 return NULL;
2271}
2272
2273
2274static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2275 PyObject *resultobj;
2276 int arg1 = (int) 0 ;
2277 int arg2 = (int) 0 ;
2278 wxPoint *result;
2279 char *kwnames[] = {
2280 (char *) "x",(char *) "y", NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 result = (wxPoint *)new wxPoint(arg1,arg2);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2292 return resultobj;
2293 fail:
2294 return NULL;
2295}
2296
2297
2298static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxPoint *arg1 = (wxPoint *) 0 ;
2301 PyObject * obj0 = 0 ;
2302 char *kwnames[] = {
2303 (char *) "self", NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 delete arg1;
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
2315 Py_INCREF(Py_None); resultobj = Py_None;
2316 return resultobj;
2317 fail:
2318 return NULL;
2319}
2320
2321
2322static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject *resultobj;
2324 wxPoint *arg1 = (wxPoint *) 0 ;
2325 wxPoint *arg2 = 0 ;
2326 bool result;
2327 wxPoint temp2 ;
2328 PyObject * obj0 = 0 ;
2329 PyObject * obj1 = 0 ;
2330 char *kwnames[] = {
423f194a 2331 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 {
2337 arg2 = &temp2;
2338 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2339 }
2340 {
2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2342 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2343
2344 wxPyEndAllowThreads(__tstate);
2345 if (PyErr_Occurred()) SWIG_fail;
2346 }
2347 resultobj = PyInt_FromLong((long)result);
2348 return resultobj;
2349 fail:
2350 return NULL;
2351}
2352
2353
2354static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2355 PyObject *resultobj;
2356 wxPoint *arg1 = (wxPoint *) 0 ;
2357 wxPoint *arg2 = 0 ;
2358 bool result;
2359 wxPoint temp2 ;
2360 PyObject * obj0 = 0 ;
2361 PyObject * obj1 = 0 ;
2362 char *kwnames[] = {
423f194a 2363 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2364 };
2365
2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2368 {
2369 arg2 = &temp2;
2370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2371 }
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2374 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 resultobj = PyInt_FromLong((long)result);
2380 return resultobj;
2381 fail:
2382 return NULL;
2383}
2384
2385
2386static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject *resultobj;
2388 wxPoint *arg1 = (wxPoint *) 0 ;
2389 wxPoint *arg2 = 0 ;
2390 wxPoint result;
2391 wxPoint temp2 ;
2392 PyObject * obj0 = 0 ;
2393 PyObject * obj1 = 0 ;
2394 char *kwnames[] = {
423f194a 2395 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2396 };
2397
2398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2400 {
2401 arg2 = &temp2;
2402 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2403 }
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2406 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 {
2412 wxPoint * resultptr;
2413 resultptr = new wxPoint((wxPoint &) result);
2414 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2415 }
2416 return resultobj;
2417 fail:
2418 return NULL;
2419}
2420
2421
2422static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2423 PyObject *resultobj;
2424 wxPoint *arg1 = (wxPoint *) 0 ;
2425 wxPoint *arg2 = 0 ;
2426 wxPoint result;
2427 wxPoint temp2 ;
2428 PyObject * obj0 = 0 ;
2429 PyObject * obj1 = 0 ;
2430 char *kwnames[] = {
423f194a 2431 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2432 };
2433
2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2436 {
2437 arg2 = &temp2;
2438 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2439 }
2440 {
2441 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2442 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
2443
2444 wxPyEndAllowThreads(__tstate);
2445 if (PyErr_Occurred()) SWIG_fail;
2446 }
2447 {
2448 wxPoint * resultptr;
2449 resultptr = new wxPoint((wxPoint &) result);
2450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2451 }
2452 return resultobj;
2453 fail:
2454 return NULL;
2455}
2456
2457
2458static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxPoint *arg1 = (wxPoint *) 0 ;
2461 wxPoint *arg2 = 0 ;
2462 wxPoint *result;
2463 wxPoint temp2 ;
2464 PyObject * obj0 = 0 ;
2465 PyObject * obj1 = 0 ;
2466 char *kwnames[] = {
423f194a 2467 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2468 };
2469
2470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2472 {
2473 arg2 = &temp2;
2474 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2475 }
2476 {
2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
2478 {
2479 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2480 result = (wxPoint *) &_result_ref;
2481 }
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
2493static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxPoint *arg1 = (wxPoint *) 0 ;
2496 wxPoint *arg2 = 0 ;
2497 wxPoint *result;
2498 wxPoint temp2 ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 char *kwnames[] = {
423f194a 2502 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2507 {
2508 arg2 = &temp2;
2509 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2510 }
2511 {
2512 PyThreadState* __tstate = wxPyBeginAllowThreads();
2513 {
2514 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2515 result = (wxPoint *) &_result_ref;
2516 }
2517
2518 wxPyEndAllowThreads(__tstate);
2519 if (PyErr_Occurred()) SWIG_fail;
2520 }
2521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2522 return resultobj;
2523 fail:
2524 return NULL;
2525}
2526
2527
2528static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2529 PyObject *resultobj;
2530 wxPoint *arg1 = (wxPoint *) 0 ;
2531 long arg2 ;
2532 long arg3 ;
2533 PyObject * obj0 = 0 ;
2534 char *kwnames[] = {
2535 (char *) "self",(char *) "x",(char *) "y", NULL
2536 };
2537
2538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 wxPoint_Set(arg1,arg2,arg3);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551}
2552
2553
423f194a 2554static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2555 PyObject *resultobj;
2556 wxPoint *arg1 = (wxPoint *) 0 ;
2557 PyObject *result;
2558 PyObject * obj0 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self", NULL
2561 };
2562
423f194a 2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
2564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2567 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 resultobj = result;
2573 return resultobj;
2574 fail:
2575 return NULL;
2576}
2577
2578
2579static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2580 PyObject *obj;
2581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2582 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2583 Py_INCREF(obj);
2584 return Py_BuildValue((char *)"");
2585}
2586static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 int arg1 = (int) 0 ;
2589 int arg2 = (int) 0 ;
2590 int arg3 = (int) 0 ;
2591 int arg4 = (int) 0 ;
2592 wxRect *result;
2593 char *kwnames[] = {
2594 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2606 return resultobj;
2607 fail:
2608 return NULL;
2609}
2610
2611
2612static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxPoint *arg1 = 0 ;
2615 wxPoint *arg2 = 0 ;
2616 wxRect *result;
2617 wxPoint temp1 ;
2618 wxPoint temp2 ;
2619 PyObject * obj0 = 0 ;
2620 PyObject * obj1 = 0 ;
2621 char *kwnames[] = {
2622 (char *) "topLeft",(char *) "bottomRight", NULL
2623 };
2624
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2626 {
2627 arg1 = &temp1;
2628 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2629 }
2630 {
2631 arg2 = &temp2;
2632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2633 }
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2642 return resultobj;
2643 fail:
2644 return NULL;
2645}
2646
2647
2648static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxPoint *arg1 = 0 ;
2651 wxSize *arg2 = 0 ;
2652 wxRect *result;
2653 wxPoint temp1 ;
2654 wxSize temp2 ;
2655 PyObject * obj0 = 0 ;
2656 PyObject * obj1 = 0 ;
2657 char *kwnames[] = {
2658 (char *) "pos",(char *) "size", NULL
2659 };
2660
2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2662 {
2663 arg1 = &temp1;
2664 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2665 }
2666 {
2667 arg2 = &temp2;
2668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2669 }
2670 {
2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
2672 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2673
2674 wxPyEndAllowThreads(__tstate);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2678 return resultobj;
2679 fail:
2680 return NULL;
2681}
2682
2683
2684static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2685 PyObject *resultobj;
2686 wxRect *arg1 = (wxRect *) 0 ;
2687 PyObject * obj0 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "self", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
2696 delete arg1;
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 Py_INCREF(Py_None); resultobj = Py_None;
2702 return resultobj;
2703 fail:
2704 return NULL;
2705}
2706
2707
2708static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2709 PyObject *resultobj;
2710 wxRect *arg1 = (wxRect *) 0 ;
2711 int result;
2712 PyObject * obj0 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 result = (int)((wxRect const *)arg1)->GetX();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 resultobj = PyInt_FromLong((long)result);
2727 return resultobj;
2728 fail:
2729 return NULL;
2730}
2731
2732
2733static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxRect *arg1 = (wxRect *) 0 ;
2736 int arg2 ;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self",(char *) "x", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 (arg1)->SetX(arg2);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 Py_INCREF(Py_None); resultobj = Py_None;
2752 return resultobj;
2753 fail:
2754 return NULL;
2755}
2756
2757
2758static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxRect *arg1 = (wxRect *) 0 ;
2761 int result;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 result = (int)(arg1)->GetY();
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 resultobj = PyInt_FromLong((long)result);
2777 return resultobj;
2778 fail:
2779 return NULL;
2780}
2781
2782
2783static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxRect *arg1 = (wxRect *) 0 ;
2786 int arg2 ;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self",(char *) "y", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2794 {
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 (arg1)->SetY(arg2);
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 Py_INCREF(Py_None); resultobj = Py_None;
2802 return resultobj;
2803 fail:
2804 return NULL;
2805}
2806
2807
2808static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2809 PyObject *resultobj;
2810 wxRect *arg1 = (wxRect *) 0 ;
2811 int result;
2812 PyObject * obj0 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 result = (int)((wxRect const *)arg1)->GetWidth();
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 resultobj = PyInt_FromLong((long)result);
2827 return resultobj;
2828 fail:
2829 return NULL;
2830}
2831
2832
2833static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxRect *arg1 = (wxRect *) 0 ;
2836 int arg2 ;
2837 PyObject * obj0 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "w", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 (arg1)->SetWidth(arg2);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 Py_INCREF(Py_None); resultobj = Py_None;
2852 return resultobj;
2853 fail:
2854 return NULL;
2855}
2856
2857
2858static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2859 PyObject *resultobj;
2860 wxRect *arg1 = (wxRect *) 0 ;
2861 int result;
2862 PyObject * obj0 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2869 {
2870 PyThreadState* __tstate = wxPyBeginAllowThreads();
2871 result = (int)((wxRect const *)arg1)->GetHeight();
2872
2873 wxPyEndAllowThreads(__tstate);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
2876 resultobj = PyInt_FromLong((long)result);
2877 return resultobj;
2878 fail:
2879 return NULL;
2880}
2881
2882
2883static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2884 PyObject *resultobj;
2885 wxRect *arg1 = (wxRect *) 0 ;
2886 int arg2 ;
2887 PyObject * obj0 = 0 ;
2888 char *kwnames[] = {
2889 (char *) "self",(char *) "h", NULL
2890 };
2891
2892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 (arg1)->SetHeight(arg2);
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 Py_INCREF(Py_None); resultobj = Py_None;
2902 return resultobj;
2903 fail:
2904 return NULL;
2905}
2906
2907
2908static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxRect *arg1 = (wxRect *) 0 ;
2911 wxPoint result;
2912 PyObject * obj0 = 0 ;
2913 char *kwnames[] = {
2914 (char *) "self", NULL
2915 };
2916
2917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2919 {
2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2921 result = ((wxRect const *)arg1)->GetPosition();
2922
2923 wxPyEndAllowThreads(__tstate);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 {
2927 wxPoint * resultptr;
2928 resultptr = new wxPoint((wxPoint &) result);
2929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2930 }
2931 return resultobj;
2932 fail:
2933 return NULL;
2934}
2935
2936
2937static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2938 PyObject *resultobj;
2939 wxRect *arg1 = (wxRect *) 0 ;
2940 wxPoint *arg2 = 0 ;
2941 wxPoint temp2 ;
2942 PyObject * obj0 = 0 ;
2943 PyObject * obj1 = 0 ;
2944 char *kwnames[] = {
2945 (char *) "self",(char *) "p", NULL
2946 };
2947
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2950 {
2951 arg2 = &temp2;
2952 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2953 }
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 (arg1)->SetPosition((wxPoint const &)*arg2);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 Py_INCREF(Py_None); resultobj = Py_None;
2962 return resultobj;
2963 fail:
2964 return NULL;
2965}
2966
2967
2968static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxRect *arg1 = (wxRect *) 0 ;
2971 wxSize result;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 result = ((wxRect const *)arg1)->GetSize();
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 {
2987 wxSize * resultptr;
2988 resultptr = new wxSize((wxSize &) result);
2989 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
2990 }
2991 return resultobj;
2992 fail:
2993 return NULL;
2994}
2995
2996
2997static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxRect *arg1 = (wxRect *) 0 ;
3000 wxSize *arg2 = 0 ;
3001 wxSize temp2 ;
3002 PyObject * obj0 = 0 ;
3003 PyObject * obj1 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self",(char *) "s", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 {
3011 arg2 = &temp2;
3012 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3013 }
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
3016 (arg1)->SetSize((wxSize const &)*arg2);
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
3021 Py_INCREF(Py_None); resultobj = Py_None;
3022 return resultobj;
3023 fail:
3024 return NULL;
3025}
3026
3027
3028static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3029 PyObject *resultobj;
3030 wxRect *arg1 = (wxRect *) 0 ;
3031 int result;
3032 PyObject * obj0 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 result = (int)((wxRect const *)arg1)->GetLeft();
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 resultobj = PyInt_FromLong((long)result);
3047 return resultobj;
3048 fail:
3049 return NULL;
3050}
3051
3052
3053static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxRect *arg1 = (wxRect *) 0 ;
3056 int result;
3057 PyObject * obj0 = 0 ;
3058 char *kwnames[] = {
3059 (char *) "self", NULL
3060 };
3061
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3064 {
3065 PyThreadState* __tstate = wxPyBeginAllowThreads();
3066 result = (int)((wxRect const *)arg1)->GetTop();
3067
3068 wxPyEndAllowThreads(__tstate);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 resultobj = PyInt_FromLong((long)result);
3072 return resultobj;
3073 fail:
3074 return NULL;
3075}
3076
3077
3078static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3079 PyObject *resultobj;
3080 wxRect *arg1 = (wxRect *) 0 ;
3081 int result;
3082 PyObject * obj0 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 result = (int)((wxRect const *)arg1)->GetBottom();
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 resultobj = PyInt_FromLong((long)result);
3097 return resultobj;
3098 fail:
3099 return NULL;
3100}
3101
3102
3103static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxRect *arg1 = (wxRect *) 0 ;
3106 int result;
3107 PyObject * obj0 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 result = (int)((wxRect const *)arg1)->GetRight();
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 resultobj = PyInt_FromLong((long)result);
3122 return resultobj;
3123 fail:
3124 return NULL;
3125}
3126
3127
3128static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxRect *arg1 = (wxRect *) 0 ;
3131 int arg2 ;
3132 PyObject * obj0 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self",(char *) "left", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3139 {
3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
3141 (arg1)->SetLeft(arg2);
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 Py_INCREF(Py_None); resultobj = Py_None;
3147 return resultobj;
3148 fail:
3149 return NULL;
3150}
3151
3152
3153static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3154 PyObject *resultobj;
3155 wxRect *arg1 = (wxRect *) 0 ;
3156 int arg2 ;
3157 PyObject * obj0 = 0 ;
3158 char *kwnames[] = {
3159 (char *) "self",(char *) "right", NULL
3160 };
3161
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3164 {
3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
3166 (arg1)->SetRight(arg2);
3167
3168 wxPyEndAllowThreads(__tstate);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 Py_INCREF(Py_None); resultobj = Py_None;
3172 return resultobj;
3173 fail:
3174 return NULL;
3175}
3176
3177
3178static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxRect *arg1 = (wxRect *) 0 ;
3181 int arg2 ;
3182 PyObject * obj0 = 0 ;
3183 char *kwnames[] = {
3184 (char *) "self",(char *) "top", NULL
3185 };
3186
3187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 (arg1)->SetTop(arg2);
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 Py_INCREF(Py_None); resultobj = Py_None;
3197 return resultobj;
3198 fail:
3199 return NULL;
3200}
3201
3202
3203static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxRect *arg1 = (wxRect *) 0 ;
3206 int arg2 ;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self",(char *) "bottom", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 (arg1)->SetBottom(arg2);
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 Py_INCREF(Py_None); resultobj = Py_None;
3222 return resultobj;
3223 fail:
3224 return NULL;
3225}
3226
3227
3228static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3231 int arg2 ;
3232 int arg3 ;
d14a1e28
RD
3233 wxRect *result;
3234 PyObject * obj0 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "dx",(char *) "dy", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) 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 {
3244 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3245 result = (wxRect *) &_result_ref;
3246 }
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3252 return resultobj;
3253 fail:
3254 return NULL;
3255}
3256
3257
3258static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj;
3260 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3261 int arg2 ;
3262 int arg3 ;
d14a1e28
RD
3263 wxRect *result;
3264 PyObject * obj0 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "self",(char *) "dx",(char *) "dy", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 {
3274 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3275 result = (wxRect *) &_result_ref;
3276 }
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3282 return resultobj;
3283 fail:
3284 return NULL;
3285}
3286
3287
3288static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject *resultobj;
3290 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3291 int arg2 ;
3292 int arg3 ;
d14a1e28
RD
3293 PyObject * obj0 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self",(char *) "dx",(char *) "dy", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 {
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 (arg1)->Offset(arg2,arg3);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 Py_INCREF(Py_None); resultobj = Py_None;
3308 return resultobj;
3309 fail:
3310 return NULL;
3311}
3312
3313
3314static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3315 PyObject *resultobj;
3316 wxRect *arg1 = (wxRect *) 0 ;
3317 wxPoint *arg2 = 0 ;
3318 wxPoint temp2 ;
3319 PyObject * obj0 = 0 ;
3320 PyObject * obj1 = 0 ;
3321 char *kwnames[] = {
3322 (char *) "self",(char *) "pt", NULL
3323 };
3324
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3327 {
3328 arg2 = &temp2;
3329 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3330 }
3331 {
3332 PyThreadState* __tstate = wxPyBeginAllowThreads();
3333 (arg1)->Offset((wxPoint const &)*arg2);
3334
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 Py_INCREF(Py_None); resultobj = Py_None;
3339 return resultobj;
3340 fail:
3341 return NULL;
3342}
3343
3344
3345static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 wxRect *arg1 = (wxRect *) 0 ;
3348 wxRect *arg2 = 0 ;
3349 wxRect *result;
3350 wxRect temp2 ;
3351 PyObject * obj0 = 0 ;
3352 PyObject * obj1 = 0 ;
3353 char *kwnames[] = {
3354 (char *) "self",(char *) "rect", NULL
3355 };
3356
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3359 {
3360 arg2 = &temp2;
3361 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3362 }
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 {
3366 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3367 result = (wxRect *) &_result_ref;
3368 }
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3374 return resultobj;
3375 fail:
3376 return NULL;
3377}
3378
3379
3380static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj;
3382 wxRect *arg1 = (wxRect *) 0 ;
3383 wxRect *arg2 = 0 ;
3384 wxRect result;
3385 wxRect temp2 ;
3386 PyObject * obj0 = 0 ;
3387 PyObject * obj1 = 0 ;
3388 char *kwnames[] = {
3389 (char *) "self",(char *) "rect", NULL
3390 };
3391
3392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3394 {
3395 arg2 = &temp2;
3396 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3397 }
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3401
3402 wxPyEndAllowThreads(__tstate);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 {
3406 wxRect * resultptr;
3407 resultptr = new wxRect((wxRect &) result);
3408 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3409 }
3410 return resultobj;
3411 fail:
3412 return NULL;
3413}
3414
3415
3416static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxRect *arg1 = (wxRect *) 0 ;
3419 wxRect *arg2 = 0 ;
3420 wxRect *result;
3421 wxRect temp2 ;
3422 PyObject * obj0 = 0 ;
3423 PyObject * obj1 = 0 ;
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "rect", NULL
3426 };
3427
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3430 {
3431 arg2 = &temp2;
3432 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3433 }
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 {
3437 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3438 result = (wxRect *) &_result_ref;
3439 }
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3445 return resultobj;
3446 fail:
3447 return NULL;
3448}
3449
3450
3451static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxRect *arg1 = (wxRect *) 0 ;
3454 wxRect *arg2 = 0 ;
3455 bool result;
3456 wxRect temp2 ;
3457 PyObject * obj0 = 0 ;
3458 PyObject * obj1 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self",(char *) "rect", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3465 {
3466 arg2 = &temp2;
3467 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3468 }
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 resultobj = PyInt_FromLong((long)result);
3477 return resultobj;
3478 fail:
3479 return NULL;
3480}
3481
3482
3483static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxRect *arg1 = (wxRect *) 0 ;
3486 wxRect *arg2 = 0 ;
3487 bool result;
3488 wxRect temp2 ;
3489 PyObject * obj0 = 0 ;
3490 PyObject * obj1 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "rect", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3497 {
3498 arg2 = &temp2;
3499 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3500 }
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 resultobj = PyInt_FromLong((long)result);
3509 return resultobj;
3510 fail:
3511 return NULL;
3512}
3513
3514
3515static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject *resultobj;
3517 wxRect *arg1 = (wxRect *) 0 ;
3518 int arg2 ;
3519 int arg3 ;
3520 bool result;
3521 PyObject * obj0 = 0 ;
3522 char *kwnames[] = {
3523 (char *) "self",(char *) "x",(char *) "y", NULL
3524 };
3525
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 resultobj = PyInt_FromLong((long)result);
3536 return resultobj;
3537 fail:
3538 return NULL;
3539}
3540
3541
3542static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxRect *arg1 = (wxRect *) 0 ;
3545 wxPoint *arg2 = 0 ;
3546 bool result;
3547 wxPoint temp2 ;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self",(char *) "pt", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3556 {
3557 arg2 = &temp2;
3558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 resultobj = PyInt_FromLong((long)result);
3568 return resultobj;
3569 fail:
3570 return NULL;
3571}
3572
3573
3574static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj;
3576 wxRect *arg1 = (wxRect *) 0 ;
3577 wxRect *arg2 = 0 ;
3578 bool result;
3579 wxRect temp2 ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj1 = 0 ;
3582 char *kwnames[] = {
3583 (char *) "self",(char *) "rect", NULL
3584 };
3585
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3588 {
3589 arg2 = &temp2;
3590 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3591 }
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 resultobj = PyInt_FromLong((long)result);
3600 return resultobj;
3601 fail:
3602 return NULL;
3603}
3604
3605
3606static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 wxRect *arg1 = (wxRect *) 0 ;
3609 int arg2 ;
3610 PyObject * obj0 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "self",(char *) "x", NULL
3613 };
3614
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3617 if (arg1) (arg1)->x = arg2;
3618
3619 Py_INCREF(Py_None); resultobj = Py_None;
3620 return resultobj;
3621 fail:
3622 return NULL;
3623}
3624
3625
3626static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3627 PyObject *resultobj;
3628 wxRect *arg1 = (wxRect *) 0 ;
3629 int result;
3630 PyObject * obj0 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self", NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3637 result = (int) ((arg1)->x);
3638
3639 resultobj = PyInt_FromLong((long)result);
3640 return resultobj;
3641 fail:
3642 return NULL;
3643}
3644
3645
3646static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxRect *arg1 = (wxRect *) 0 ;
3649 int arg2 ;
3650 PyObject * obj0 = 0 ;
3651 char *kwnames[] = {
3652 (char *) "self",(char *) "y", NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3657 if (arg1) (arg1)->y = arg2;
3658
3659 Py_INCREF(Py_None); resultobj = Py_None;
3660 return resultobj;
3661 fail:
3662 return NULL;
3663}
3664
3665
3666static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3667 PyObject *resultobj;
3668 wxRect *arg1 = (wxRect *) 0 ;
3669 int result;
3670 PyObject * obj0 = 0 ;
3671 char *kwnames[] = {
3672 (char *) "self", NULL
3673 };
3674
3675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3677 result = (int) ((arg1)->y);
3678
3679 resultobj = PyInt_FromLong((long)result);
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxRect *arg1 = (wxRect *) 0 ;
3689 int arg2 ;
3690 PyObject * obj0 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "width", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 if (arg1) (arg1)->width = arg2;
3698
3699 Py_INCREF(Py_None); resultobj = Py_None;
3700 return resultobj;
3701 fail:
3702 return NULL;
3703}
3704
3705
3706static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxRect *arg1 = (wxRect *) 0 ;
3709 int result;
3710 PyObject * obj0 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3717 result = (int) ((arg1)->width);
3718
3719 resultobj = PyInt_FromLong((long)result);
3720 return resultobj;
3721 fail:
3722 return NULL;
3723}
3724
3725
3726static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxRect *arg1 = (wxRect *) 0 ;
3729 int arg2 ;
3730 PyObject * obj0 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self",(char *) "height", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3737 if (arg1) (arg1)->height = arg2;
3738
3739 Py_INCREF(Py_None); resultobj = Py_None;
3740 return resultobj;
3741 fail:
3742 return NULL;
3743}
3744
3745
3746static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxRect *arg1 = (wxRect *) 0 ;
3749 int result;
3750 PyObject * obj0 = 0 ;
3751 char *kwnames[] = {
3752 (char *) "self", NULL
3753 };
3754
3755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3757 result = (int) ((arg1)->height);
3758
3759 resultobj = PyInt_FromLong((long)result);
3760 return resultobj;
3761 fail:
3762 return NULL;
3763}
3764
3765
3766static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxRect *arg1 = (wxRect *) 0 ;
3769 int arg2 = (int) 0 ;
3770 int arg3 = (int) 0 ;
3771 int arg4 = (int) 0 ;
3772 int arg5 = (int) 0 ;
3773 PyObject * obj0 = 0 ;
3774 char *kwnames[] = {
3775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3776 };
3777
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3780 {
3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
3782 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
3787 Py_INCREF(Py_None); resultobj = Py_None;
3788 return resultobj;
3789 fail:
3790 return NULL;
3791}
3792
3793
423f194a 3794static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3795 PyObject *resultobj;
3796 wxRect *arg1 = (wxRect *) 0 ;
3797 PyObject *result;
3798 PyObject * obj0 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self", NULL
3801 };
3802
423f194a 3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
3804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3807 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
3812 resultobj = result;
3813 return resultobj;
3814 fail:
3815 return NULL;
3816}
3817
3818
3819static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3820 PyObject *obj;
3821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3822 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3823 Py_INCREF(obj);
3824 return Py_BuildValue((char *)"");
3825}
3826static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxRect *arg1 = (wxRect *) 0 ;
3829 wxRect *arg2 = (wxRect *) 0 ;
3830 PyObject *result;
3831 PyObject * obj0 = 0 ;
3832 PyObject * obj1 = 0 ;
3833 char *kwnames[] = {
3834 (char *) "r1",(char *) "r2", NULL
3835 };
3836
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 result = (PyObject *)wxIntersectRect(arg1,arg2);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 resultobj = result;
3848 return resultobj;
3849 fail:
3850 return NULL;
3851}
3852
3853
3854static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 double arg1 = (double) 0.0 ;
3857 double arg2 = (double) 0.0 ;
3858 wxPoint2D *result;
3859 char *kwnames[] = {
3860 (char *) "x",(char *) "y", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3872 return resultobj;
3873 fail:
3874 return NULL;
3875}
3876
3877
3878static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj;
3880 wxPoint2D *arg1 = 0 ;
3881 wxPoint2D *result;
3882 wxPoint2D temp1 ;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "pt", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
3889 {
3890 arg1 = &temp1;
3891 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
3892 }
3893 {
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
3896
3897 wxPyEndAllowThreads(__tstate);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3901 return resultobj;
3902 fail:
3903 return NULL;
3904}
3905
3906
3907static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3908 PyObject *resultobj;
3909 wxPoint *arg1 = 0 ;
3910 wxPoint2D *result;
3911 wxPoint temp1 ;
3912 PyObject * obj0 = 0 ;
3913 char *kwnames[] = {
3914 (char *) "pt", NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
3918 {
3919 arg1 = &temp1;
3920 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3921 }
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3930 return resultobj;
3931 fail:
3932 return NULL;
3933}
3934
3935
3936static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3937 PyObject *resultobj;
3938 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3939 int *arg2 = (int *) 0 ;
3940 int *arg3 = (int *) 0 ;
3941 int temp2 ;
3942 int temp3 ;
3943 PyObject * obj0 = 0 ;
3944 char *kwnames[] = {
3945 (char *) "self", NULL
3946 };
3947
3948 arg2 = &temp2;
3949 arg3 = &temp3;
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
3951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 {
3961 PyObject *o = PyInt_FromLong((long) (*arg2));
3962 resultobj = t_output_helper(resultobj,o);
3963 }
3964 {
3965 PyObject *o = PyInt_FromLong((long) (*arg3));
3966 resultobj = t_output_helper(resultobj,o);
3967 }
3968 return resultobj;
3969 fail:
3970 return NULL;
3971}
3972
3973
3974static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject *resultobj;
3976 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3977 int *arg2 = (int *) 0 ;
3978 int *arg3 = (int *) 0 ;
3979 int temp2 ;
3980 int temp3 ;
3981 PyObject * obj0 = 0 ;
3982 char *kwnames[] = {
3983 (char *) "self", NULL
3984 };
3985
3986 arg2 = &temp2;
3987 arg3 = &temp3;
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
3989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 Py_INCREF(Py_None); resultobj = Py_None;
3998 {
3999 PyObject *o = PyInt_FromLong((long) (*arg2));
4000 resultobj = t_output_helper(resultobj,o);
4001 }
4002 {
4003 PyObject *o = PyInt_FromLong((long) (*arg3));
4004 resultobj = t_output_helper(resultobj,o);
4005 }
4006 return resultobj;
4007 fail:
4008 return NULL;
4009}
4010
4011
4012static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4015 double result;
4016 PyObject * obj0 = 0 ;
4017 char *kwnames[] = {
4018 (char *) "self", NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = PyFloat_FromDouble(result);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
4037static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4040 double result;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 resultobj = PyFloat_FromDouble(result);
4056 return resultobj;
4057 fail:
4058 return NULL;
4059}
4060
4061
4062static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4065 double arg2 ;
4066 PyObject * obj0 = 0 ;
4067 char *kwnames[] = {
4068 (char *) "self",(char *) "length", NULL
4069 };
4070
4071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 (arg1)->SetVectorLength(arg2);
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 Py_INCREF(Py_None); resultobj = Py_None;
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
4087static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4090 double arg2 ;
4091 PyObject * obj0 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self",(char *) "degrees", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 (arg1)->SetVectorAngle(arg2);
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 Py_INCREF(Py_None); resultobj = Py_None;
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
4112static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4115 wxPoint2D *arg2 = 0 ;
4116 double result;
4117 wxPoint2D temp2 ;
4118 PyObject * obj0 = 0 ;
4119 PyObject * obj1 = 0 ;
4120 char *kwnames[] = {
4121 (char *) "self",(char *) "pt", NULL
4122 };
4123
4124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4126 {
4127 arg2 = &temp2;
4128 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = PyFloat_FromDouble(result);
4138 return resultobj;
4139 fail:
4140 return NULL;
4141}
4142
4143
4144static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj;
4146 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4147 wxPoint2D *arg2 = 0 ;
4148 double result;
4149 wxPoint2D temp2 ;
4150 PyObject * obj0 = 0 ;
4151 PyObject * obj1 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self",(char *) "pt", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4158 {
4159 arg2 = &temp2;
4160 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4161 }
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 resultobj = PyFloat_FromDouble(result);
4170 return resultobj;
4171 fail:
4172 return NULL;
4173}
4174
4175
4176static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj;
4178 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4179 wxPoint2D *arg2 = 0 ;
4180 double result;
4181 wxPoint2D temp2 ;
4182 PyObject * obj0 = 0 ;
4183 PyObject * obj1 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self",(char *) "vec", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4190 {
4191 arg2 = &temp2;
4192 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4193 }
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 resultobj = PyFloat_FromDouble(result);
4202 return resultobj;
4203 fail:
4204 return NULL;
4205}
4206
4207
4208static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj;
4210 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4211 wxPoint2D *arg2 = 0 ;
4212 double result;
4213 wxPoint2D temp2 ;
4214 PyObject * obj0 = 0 ;
4215 PyObject * obj1 = 0 ;
4216 char *kwnames[] = {
4217 (char *) "self",(char *) "vec", NULL
4218 };
4219
4220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4222 {
4223 arg2 = &temp2;
4224 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = PyFloat_FromDouble(result);
4234 return resultobj;
4235 fail:
4236 return NULL;
4237}
4238
4239
4240static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4243 wxPoint2D result;
4244 PyObject * obj0 = 0 ;
4245 char *kwnames[] = {
4246 (char *) "self", NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4251 {
4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
4253 result = (arg1)->operator -();
4254
4255 wxPyEndAllowThreads(__tstate);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 {
4259 wxPoint2D * resultptr;
4260 resultptr = new wxPoint2D((wxPoint2D &) result);
4261 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4262 }
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
4269static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4272 wxPoint2D *arg2 = 0 ;
4273 wxPoint2D *result;
4274 wxPoint2D temp2 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self",(char *) "pt", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4283 {
4284 arg2 = &temp2;
4285 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4286 }
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 {
4290 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4291 result = (wxPoint2D *) &_result_ref;
4292 }
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4298 return resultobj;
4299 fail:
4300 return NULL;
4301}
4302
4303
4304static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4307 wxPoint2D *arg2 = 0 ;
4308 wxPoint2D *result;
4309 wxPoint2D temp2 ;
4310 PyObject * obj0 = 0 ;
4311 PyObject * obj1 = 0 ;
4312 char *kwnames[] = {
4313 (char *) "self",(char *) "pt", NULL
4314 };
4315
4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4318 {
4319 arg2 = &temp2;
4320 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4321 }
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 {
4325 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4326 result = (wxPoint2D *) &_result_ref;
4327 }
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4333 return resultobj;
4334 fail:
4335 return NULL;
4336}
4337
4338
4339static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4342 wxPoint2D *arg2 = 0 ;
4343 wxPoint2D *result;
4344 wxPoint2D temp2 ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 char *kwnames[] = {
4348 (char *) "self",(char *) "pt", NULL
4349 };
4350
4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4353 {
4354 arg2 = &temp2;
4355 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4356 }
4357 {
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 {
4360 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4361 result = (wxPoint2D *) &_result_ref;
4362 }
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4368 return resultobj;
4369 fail:
4370 return NULL;
4371}
4372
4373
4374static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4375 PyObject *resultobj;
4376 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4377 wxPoint2D *arg2 = 0 ;
4378 wxPoint2D *result;
4379 wxPoint2D temp2 ;
4380 PyObject * obj0 = 0 ;
4381 PyObject * obj1 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "pt", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4388 {
4389 arg2 = &temp2;
4390 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4391 }
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 {
4395 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4396 result = (wxPoint2D *) &_result_ref;
4397 }
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4403 return resultobj;
4404 fail:
4405 return NULL;
4406}
4407
4408
4409static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4412 wxPoint2D *arg2 = 0 ;
4413 bool result;
4414 wxPoint2D temp2 ;
4415 PyObject * obj0 = 0 ;
4416 PyObject * obj1 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "pt", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4423 {
4424 arg2 = &temp2;
4425 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4426 }
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = PyInt_FromLong((long)result);
4435 return resultobj;
4436 fail:
4437 return NULL;
4438}
4439
4440
4441static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj;
4443 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4444 wxPoint2D *arg2 = 0 ;
4445 bool result;
4446 wxPoint2D temp2 ;
4447 PyObject * obj0 = 0 ;
4448 PyObject * obj1 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self",(char *) "pt", NULL
4451 };
4452
4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4455 {
4456 arg2 = &temp2;
4457 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4458 }
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) SWIG_fail;
4465 }
4466 resultobj = PyInt_FromLong((long)result);
4467 return resultobj;
4468 fail:
4469 return NULL;
4470}
4471
4472
d14a1e28
RD
4473static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4476 double arg2 ;
4477 PyObject * obj0 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self",(char *) "m_x", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4484 if (arg1) (arg1)->m_x = arg2;
4485
4486 Py_INCREF(Py_None); resultobj = Py_None;
4487 return resultobj;
4488 fail:
4489 return NULL;
4490}
4491
4492
4493static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4496 double result;
4497 PyObject * obj0 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self", NULL
4500 };
4501
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4504 result = (double) ((arg1)->m_x);
4505
4506 resultobj = PyFloat_FromDouble(result);
4507 return resultobj;
4508 fail:
4509 return NULL;
4510}
4511
4512
4513static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject *resultobj;
4515 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4516 double arg2 ;
4517 PyObject * obj0 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self",(char *) "m_y", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524 if (arg1) (arg1)->m_y = arg2;
4525
4526 Py_INCREF(Py_None); resultobj = Py_None;
4527 return resultobj;
4528 fail:
4529 return NULL;
4530}
4531
4532
4533static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject *resultobj;
4535 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4536 double result;
4537 PyObject * obj0 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4544 result = (double) ((arg1)->m_y);
4545
4546 resultobj = PyFloat_FromDouble(result);
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
4553static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4556 double arg2 = (double) 0 ;
4557 double arg3 = (double) 0 ;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self",(char *) "x",(char *) "y", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 wxPoint2D_Set(arg1,arg2,arg3);
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 return resultobj;
4574 fail:
4575 return NULL;
4576}
4577
4578
423f194a 4579static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4580 PyObject *resultobj;
4581 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4582 PyObject *result;
4583 PyObject * obj0 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self", NULL
4586 };
4587
423f194a 4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
4589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4590 {
4591 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 4592 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
4593
4594 wxPyEndAllowThreads(__tstate);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 resultobj = result;
4598 return resultobj;
4599 fail:
4600 return NULL;
4601}
4602
4603
4604static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4605 PyObject *obj;
4606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4608 Py_INCREF(obj);
4609 return Py_BuildValue((char *)"");
4610}
4611static int _wrap_DefaultPosition_set(PyObject *_val) {
4612 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4613 return 1;
4614}
4615
4616
4617static PyObject *_wrap_DefaultPosition_get() {
4618 PyObject *pyobj;
4619
4620 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4621 return pyobj;
4622}
4623
4624
4625static int _wrap_DefaultSize_set(PyObject *_val) {
4626 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4627 return 1;
4628}
4629
4630
4631static PyObject *_wrap_DefaultSize_get() {
4632 PyObject *pyobj;
4633
4634 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4635 return pyobj;
4636}
4637
4638
4639static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject *resultobj;
4641 PyObject *arg1 = (PyObject *) 0 ;
4642 wxPyInputStream *result;
4643 PyObject * obj0 = 0 ;
4644 char *kwnames[] = {
4645 (char *) "p", NULL
4646 };
4647
4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4649 arg1 = obj0;
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4658 return resultobj;
4659 fail:
4660 return NULL;
4661}
4662
4663
4664static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj;
4666 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4667 PyObject * obj0 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "self", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->close();
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685}
4686
4687
4688static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj;
4690 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4691 PyObject * obj0 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "self", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->flush();
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709}
4710
4711
4712static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4715 bool result;
4716 PyObject * obj0 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 result = (bool)(arg1)->eof();
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 resultobj = PyInt_FromLong((long)result);
4731 return resultobj;
4732 fail:
4733 return NULL;
4734}
4735
4736
4737static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4740 int arg2 = (int) -1 ;
4741 PyObject *result;
4742 PyObject * obj0 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self",(char *) "size", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 result = (PyObject *)(arg1)->read(arg2);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 resultobj = result;
4757 return resultobj;
4758 fail:
4759 return NULL;
4760}
4761
4762
4763static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj;
4765 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4766 int arg2 = (int) -1 ;
4767 PyObject *result;
4768 PyObject * obj0 = 0 ;
4769 char *kwnames[] = {
4770 (char *) "self",(char *) "size", NULL
4771 };
4772
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 result = (PyObject *)(arg1)->readline(arg2);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 resultobj = result;
4783 return resultobj;
4784 fail:
4785 return NULL;
4786}
4787
4788
4789static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4792 int arg2 = (int) -1 ;
4793 PyObject *result;
4794 PyObject * obj0 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self",(char *) "sizehint", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) 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 result = (PyObject *)(arg1)->readlines(arg2);
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 resultobj = result;
4809 return resultobj;
4810 fail:
4811 return NULL;
4812}
4813
4814
4815static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj;
4817 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4818 int arg2 ;
4819 int arg3 = (int) 0 ;
4820 PyObject * obj0 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self",(char *) "offset",(char *) "whence", NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 (arg1)->seek(arg2,arg3);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 Py_INCREF(Py_None); resultobj = Py_None;
4835 return resultobj;
4836 fail:
4837 return NULL;
4838}
4839
4840
4841static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4844 int result;
4845 PyObject * obj0 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (int)(arg1)->tell();
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = PyInt_FromLong((long)result);
4860 return resultobj;
4861 fail:
4862 return NULL;
4863}
4864
4865
4866static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject *resultobj;
4868 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4869 char result;
4870 PyObject * obj0 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "self", NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
4876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4877 {
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 result = (char)(arg1)->Peek();
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 resultobj = Py_BuildValue((char*)"c",result);
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
4891static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4894 char result;
4895 PyObject * obj0 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) 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 = (char)(arg1)->GetC();
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 resultobj = Py_BuildValue((char*)"c",result);
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
4916static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj;
4918 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4919 size_t result;
4920 PyObject * obj0 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
4926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = (size_t)(arg1)->LastRead();
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 resultobj = PyInt_FromLong((long)result);
4935 return resultobj;
4936 fail:
4937 return NULL;
4938}
4939
4940
4941static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4944 bool result;
4945 PyObject * obj0 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 result = (bool)(arg1)->CanRead();
4955
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 resultobj = PyInt_FromLong((long)result);
4960 return resultobj;
4961 fail:
4962 return NULL;
4963}
4964
4965
4966static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4969 bool result;
4970 PyObject * obj0 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 result = (bool)(arg1)->Eof();
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 resultobj = PyInt_FromLong((long)result);
4985 return resultobj;
4986 fail:
4987 return NULL;
4988}
4989
4990
4991static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4994 char arg2 ;
4995 bool result;
4996 PyObject * obj0 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "c", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
5002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (bool)(arg1)->Ungetch(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 resultobj = PyInt_FromLong((long)result);
5011 return resultobj;
5012 fail:
5013 return NULL;
5014}
5015
5016
5017static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5020 long arg2 ;
5021 int arg3 = (int) wxFromStart ;
5022 long result;
5023 PyObject * obj0 = 0 ;
5024 char *kwnames[] = {
5025 (char *) "self",(char *) "pos",(char *) "mode", NULL
5026 };
5027
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 resultobj = PyInt_FromLong((long)result);
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
5044static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5047 long result;
5048 PyObject * obj0 = 0 ;
5049 char *kwnames[] = {
5050 (char *) "self", NULL
5051 };
5052
5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = (long)(arg1)->TellI();
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 resultobj = PyInt_FromLong((long)result);
5063 return resultobj;
5064 fail:
5065 return NULL;
5066}
5067
5068
5069static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5070 PyObject *obj;
5071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5072 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5073 Py_INCREF(obj);
5074 return Py_BuildValue((char *)"");
5075}
5076static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5079 PyObject *arg2 = (PyObject *) 0 ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "obj", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5088 arg2 = obj1;
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 wxOutputStream_write(arg1,arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 Py_INCREF(Py_None); resultobj = Py_None;
5097 return resultobj;
5098 fail:
5099 return NULL;
5100}
5101
5102
5103static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5104 PyObject *obj;
5105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5107 Py_INCREF(obj);
5108 return Py_BuildValue((char *)"");
5109}
5110static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxInputStream *arg1 = (wxInputStream *) 0 ;
5113 wxString *arg2 = 0 ;
5114 wxString *arg3 = 0 ;
5115 wxString *arg4 = 0 ;
5116 wxDateTime arg5 ;
5117 wxFSFile *result;
5118 wxPyInputStream *temp1 ;
5119 bool created1 ;
423f194a
RD
5120 bool temp2 = False ;
5121 bool temp3 = False ;
5122 bool temp4 = False ;
d14a1e28
RD
5123 wxDateTime *argp5 ;
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 PyObject * obj2 = 0 ;
5127 PyObject * obj3 = 0 ;
5128 PyObject * obj4 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5134 {
5135 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5136 arg1 = temp1->m_wxis;
423f194a 5137 created1 = False;
d14a1e28
RD
5138 } else {
5139 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 5140 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
5141 if (arg1 == NULL) {
5142 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5143 SWIG_fail;
5144 }
423f194a 5145 created1 = True;
d14a1e28
RD
5146 }
5147 }
5148 {
5149 arg2 = wxString_in_helper(obj1);
5150 if (arg2 == NULL) SWIG_fail;
423f194a 5151 temp2 = True;
d14a1e28
RD
5152 }
5153 {
5154 arg3 = wxString_in_helper(obj2);
5155 if (arg3 == NULL) SWIG_fail;
423f194a 5156 temp3 = True;
d14a1e28
RD
5157 }
5158 {
5159 arg4 = wxString_in_helper(obj3);
5160 if (arg4 == NULL) SWIG_fail;
423f194a 5161 temp4 = True;
d14a1e28
RD
5162 }
5163 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5164 arg5 = *argp5;
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 {
5173 resultobj = wxPyMake_wxObject(result);
5174 }
5175 {
5176 if (created1)
5177 delete arg1;
5178 }
5179 {
5180 if (temp2)
5181 delete arg2;
5182 }
5183 {
5184 if (temp3)
5185 delete arg3;
5186 }
5187 {
5188 if (temp4)
5189 delete arg4;
5190 }
5191 return resultobj;
5192 fail:
5193 {
5194 if (created1)
5195 delete arg1;
5196 }
5197 {
5198 if (temp2)
5199 delete arg2;
5200 }
5201 {
5202 if (temp3)
5203 delete arg3;
5204 }
5205 {
5206 if (temp4)
5207 delete arg4;
5208 }
5209 return NULL;
5210}
5211
5212
5213static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxFSFile *arg1 = (wxFSFile *) 0 ;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 delete arg1;
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 Py_INCREF(Py_None); resultobj = Py_None;
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
5237static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxFSFile *arg1 = (wxFSFile *) 0 ;
5240 wxInputStream *result;
5241 PyObject * obj0 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 result = (wxInputStream *)(arg1)->GetStream();
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 {
5256 wxPyInputStream * _ptr = NULL;
5257
5258 if (result) {
5259 _ptr = new wxPyInputStream(result);
5260 }
423f194a 5261 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
5262 }
5263 return resultobj;
5264 fail:
5265 return NULL;
5266}
5267
5268
5269static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5270 PyObject *resultobj;
5271 wxFSFile *arg1 = (wxFSFile *) 0 ;
5272 wxString *result;
5273 PyObject * obj0 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5280 {
5281 PyThreadState* __tstate = wxPyBeginAllowThreads();
5282 {
5283 wxString const &_result_ref = (arg1)->GetMimeType();
5284 result = (wxString *) &_result_ref;
5285 }
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5291 return resultobj;
5292 fail:
5293 return NULL;
5294}
5295
5296
5297static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxFSFile *arg1 = (wxFSFile *) 0 ;
5300 wxString *result;
5301 PyObject * obj0 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 {
5311 wxString const &_result_ref = (arg1)->GetLocation();
5312 result = (wxString *) &_result_ref;
5313 }
5314
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5319 return resultobj;
5320 fail:
5321 return NULL;
5322}
5323
5324
5325static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5326 PyObject *resultobj;
5327 wxFSFile *arg1 = (wxFSFile *) 0 ;
5328 wxString *result;
5329 PyObject * obj0 = 0 ;
5330 char *kwnames[] = {
5331 (char *) "self", NULL
5332 };
5333
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 {
5339 wxString const &_result_ref = (arg1)->GetAnchor();
5340 result = (wxString *) &_result_ref;
5341 }
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5347 return resultobj;
5348 fail:
5349 return NULL;
5350}
5351
5352
5353static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxFSFile *arg1 = (wxFSFile *) 0 ;
5356 wxDateTime result;
5357 PyObject * obj0 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 result = (arg1)->GetModificationTime();
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 {
5372 wxDateTime * resultptr;
5373 resultptr = new wxDateTime((wxDateTime &) result);
5374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5375 }
5376 return resultobj;
5377 fail:
5378 return NULL;
5379}
5380
5381
5382static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5383 PyObject *obj;
5384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5385 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5386 Py_INCREF(obj);
5387 return Py_BuildValue((char *)"");
5388}
5389static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5390 PyObject *obj;
5391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5392 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5393 Py_INCREF(obj);
5394 return Py_BuildValue((char *)"");
5395}
5396static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxPyFileSystemHandler *result;
5399 char *kwnames[] = {
5400 NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5412 return resultobj;
5413 fail:
5414 return NULL;
5415}
5416
5417
5418static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5421 PyObject *arg2 = (PyObject *) 0 ;
5422 PyObject *arg3 = (PyObject *) 0 ;
5423 PyObject * obj0 = 0 ;
5424 PyObject * obj1 = 0 ;
5425 PyObject * obj2 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "self",(char *) "_class", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 arg2 = obj1;
5433 arg3 = obj2;
5434 {
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 (arg1)->_setCallbackInfo(arg2,arg3);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 Py_INCREF(Py_None); resultobj = Py_None;
5442 return resultobj;
5443 fail:
5444 return NULL;
5445}
5446
5447
5448static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5451 wxString *arg2 = 0 ;
5452 bool result;
423f194a 5453 bool temp2 = False ;
d14a1e28
RD
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "location", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5462 {
5463 arg2 = wxString_in_helper(obj1);
5464 if (arg2 == NULL) SWIG_fail;
423f194a 5465 temp2 = True;
d14a1e28
RD
5466 }
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = PyInt_FromLong((long)result);
5475 {
5476 if (temp2)
5477 delete arg2;
5478 }
5479 return resultobj;
5480 fail:
5481 {
5482 if (temp2)
5483 delete arg2;
5484 }
5485 return NULL;
5486}
5487
5488
5489static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5492 wxFileSystem *arg2 = 0 ;
5493 wxString *arg3 = 0 ;
5494 wxFSFile *result;
423f194a 5495 bool temp3 = False ;
d14a1e28
RD
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 PyObject * obj2 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "fs",(char *) "location", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5506 if (arg2 == NULL) {
5507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5508 }
5509 {
5510 arg3 = wxString_in_helper(obj2);
5511 if (arg3 == NULL) SWIG_fail;
423f194a 5512 temp3 = True;
d14a1e28
RD
5513 }
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 {
5522 resultobj = wxPyMake_wxObject(result);
5523 }
5524 {
5525 if (temp3)
5526 delete arg3;
5527 }
5528 return resultobj;
5529 fail:
5530 {
5531 if (temp3)
5532 delete arg3;
5533 }
5534 return NULL;
5535}
5536
5537
5538static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5541 wxString *arg2 = 0 ;
5542 int arg3 = (int) 0 ;
5543 wxString result;
423f194a 5544 bool temp2 = False ;
d14a1e28
RD
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "spec",(char *) "flags", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5553 {
5554 arg2 = wxString_in_helper(obj1);
5555 if (arg2 == NULL) SWIG_fail;
423f194a 5556 temp2 = True;
d14a1e28
RD
5557 }
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 {
5566#if wxUSE_UNICODE
5567 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5568#else
5569 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5570#endif
5571 }
5572 {
5573 if (temp2)
5574 delete arg2;
5575 }
5576 return resultobj;
5577 fail:
5578 {
5579 if (temp2)
5580 delete arg2;
5581 }
5582 return NULL;
5583}
5584
5585
5586static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5589 wxString result;
5590 PyObject * obj0 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (arg1)->FindNext();
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 {
5605#if wxUSE_UNICODE
5606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5607#else
5608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5609#endif
5610 }
5611 return resultobj;
5612 fail:
5613 return NULL;
5614}
5615
5616
5617static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject *resultobj;
5619 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5620 wxString *arg2 = 0 ;
5621 wxString result;
423f194a 5622 bool temp2 = False ;
d14a1e28
RD
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self",(char *) "location", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5631 {
5632 arg2 = wxString_in_helper(obj1);
5633 if (arg2 == NULL) SWIG_fail;
423f194a 5634 temp2 = True;
d14a1e28
RD
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 result = (arg1)->GetProtocol((wxString const &)*arg2);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
5644#if wxUSE_UNICODE
5645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5646#else
5647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5648#endif
5649 }
5650 {
5651 if (temp2)
5652 delete arg2;
5653 }
5654 return resultobj;
5655 fail:
5656 {
5657 if (temp2)
5658 delete arg2;
5659 }
5660 return NULL;
5661}
5662
5663
5664static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5667 wxString *arg2 = 0 ;
5668 wxString result;
423f194a 5669 bool temp2 = False ;
d14a1e28
RD
5670 PyObject * obj0 = 0 ;
5671 PyObject * obj1 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self",(char *) "location", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5678 {
5679 arg2 = wxString_in_helper(obj1);
5680 if (arg2 == NULL) SWIG_fail;
423f194a 5681 temp2 = True;
d14a1e28
RD
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 {
5691#if wxUSE_UNICODE
5692 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5693#else
5694 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5695#endif
5696 }
5697 {
5698 if (temp2)
5699 delete arg2;
5700 }
5701 return resultobj;
5702 fail:
5703 {
5704 if (temp2)
5705 delete arg2;
5706 }
5707 return NULL;
5708}
5709
5710
5711static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj;
5713 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5714 wxString *arg2 = 0 ;
5715 wxString result;
423f194a 5716 bool temp2 = False ;
d14a1e28
RD
5717 PyObject * obj0 = 0 ;
5718 PyObject * obj1 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self",(char *) "location", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5725 {
5726 arg2 = wxString_in_helper(obj1);
5727 if (arg2 == NULL) SWIG_fail;
423f194a 5728 temp2 = True;
d14a1e28
RD
5729 }
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (arg1)->GetAnchor((wxString const &)*arg2);
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738#if wxUSE_UNICODE
5739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5740#else
5741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5742#endif
5743 }
5744 {
5745 if (temp2)
5746 delete arg2;
5747 }
5748 return resultobj;
5749 fail:
5750 {
5751 if (temp2)
5752 delete arg2;
5753 }
5754 return NULL;
5755}
5756
5757
5758static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5761 wxString *arg2 = 0 ;
5762 wxString result;
423f194a 5763 bool temp2 = False ;
d14a1e28
RD
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char *kwnames[] = {
5767 (char *) "self",(char *) "location", NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5772 {
5773 arg2 = wxString_in_helper(obj1);
5774 if (arg2 == NULL) SWIG_fail;
423f194a 5775 temp2 = True;
d14a1e28
RD
5776 }
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 {
5785#if wxUSE_UNICODE
5786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5787#else
5788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5789#endif
5790 }
5791 {
5792 if (temp2)
5793 delete arg2;
5794 }
5795 return resultobj;
5796 fail:
5797 {
5798 if (temp2)
5799 delete arg2;
5800 }
5801 return NULL;
5802}
5803
5804
5805static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5808 wxString *arg2 = 0 ;
5809 wxString result;
423f194a 5810 bool temp2 = False ;
d14a1e28
RD
5811 PyObject * obj0 = 0 ;
5812 PyObject * obj1 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self",(char *) "location", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5819 {
5820 arg2 = wxString_in_helper(obj1);
5821 if (arg2 == NULL) SWIG_fail;
423f194a 5822 temp2 = True;
d14a1e28
RD
5823 }
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 {
5832#if wxUSE_UNICODE
5833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5834#else
5835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5836#endif
5837 }
5838 {
5839 if (temp2)
5840 delete arg2;
5841 }
5842 return resultobj;
5843 fail:
5844 {
5845 if (temp2)
5846 delete arg2;
5847 }
5848 return NULL;
5849}
5850
5851
5852static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5853 PyObject *obj;
5854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5855 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
5856 Py_INCREF(obj);
5857 return Py_BuildValue((char *)"");
5858}
5859static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxFileSystem *result;
5862 char *kwnames[] = {
5863 NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (wxFileSystem *)new wxFileSystem();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 {
5875 resultobj = wxPyMake_wxObject(result);
5876 }
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
5883static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5886 PyObject * obj0 = 0 ;
5887 char *kwnames[] = {
5888 (char *) "self", NULL
5889 };
5890
5891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
5892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 delete arg1;
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 Py_INCREF(Py_None); resultobj = Py_None;
5901 return resultobj;
5902 fail:
5903 return NULL;
5904}
5905
5906
5907static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5910 wxString *arg2 = 0 ;
423f194a
RD
5911 bool arg3 = (bool) False ;
5912 bool temp2 = False ;
d14a1e28
RD
5913 PyObject * obj0 = 0 ;
5914 PyObject * obj1 = 0 ;
5915 PyObject * obj2 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5922 {
5923 arg2 = wxString_in_helper(obj1);
5924 if (arg2 == NULL) SWIG_fail;
423f194a 5925 temp2 = True;
d14a1e28
RD
5926 }
5927 if (obj2) {
5928 arg3 = PyInt_AsLong(obj2) ? true : false;
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 Py_INCREF(Py_None); resultobj = Py_None;
5939 {
5940 if (temp2)
5941 delete arg2;
5942 }
5943 return resultobj;
5944 fail:
5945 {
5946 if (temp2)
5947 delete arg2;
5948 }
5949 return NULL;
5950}
5951
5952
5953static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj;
5955 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5956 wxString result;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (arg1)->GetPath();
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 {
5972#if wxUSE_UNICODE
5973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5974#else
5975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5976#endif
5977 }
5978 return resultobj;
5979 fail:
5980 return NULL;
5981}
5982
5983
5984static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5987 wxString *arg2 = 0 ;
5988 wxFSFile *result;
423f194a 5989 bool temp2 = False ;
d14a1e28
RD
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self",(char *) "location", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
5997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5998 {
5999 arg2 = wxString_in_helper(obj1);
6000 if (arg2 == NULL) SWIG_fail;
423f194a 6001 temp2 = True;
d14a1e28
RD
6002 }
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 {
6011 resultobj = wxPyMake_wxObject(result);
6012 }
6013 {
6014 if (temp2)
6015 delete arg2;
6016 }
6017 return resultobj;
6018 fail:
6019 {
6020 if (temp2)
6021 delete arg2;
6022 }
6023 return NULL;
6024}
6025
6026
6027static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6030 wxString *arg2 = 0 ;
6031 int arg3 = (int) 0 ;
6032 wxString result;
423f194a 6033 bool temp2 = False ;
d14a1e28
RD
6034 PyObject * obj0 = 0 ;
6035 PyObject * obj1 = 0 ;
6036 char *kwnames[] = {
6037 (char *) "self",(char *) "spec",(char *) "flags", NULL
6038 };
6039
6040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6042 {
6043 arg2 = wxString_in_helper(obj1);
6044 if (arg2 == NULL) SWIG_fail;
423f194a 6045 temp2 = True;
d14a1e28
RD
6046 }
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055#if wxUSE_UNICODE
6056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6057#else
6058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6059#endif
6060 }
6061 {
6062 if (temp2)
6063 delete arg2;
6064 }
6065 return resultobj;
6066 fail:
6067 {
6068 if (temp2)
6069 delete arg2;
6070 }
6071 return NULL;
6072}
6073
6074
6075static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6078 wxString result;
6079 PyObject * obj0 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 result = (arg1)->FindNext();
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 {
6094#if wxUSE_UNICODE
6095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6096#else
6097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6098#endif
6099 }
6100 return resultobj;
6101 fail:
6102 return NULL;
6103}
6104
6105
6106static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj;
6108 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "handler", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 wxFileSystem::AddHandler(arg1);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 Py_INCREF(Py_None); resultobj = Py_None;
6124 return resultobj;
6125 fail:
6126 return NULL;
6127}
6128
6129
6130static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 char *kwnames[] = {
6133 NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 wxFileSystem::CleanUpHandlers();
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 Py_INCREF(Py_None); resultobj = Py_None;
6145 return resultobj;
6146 fail:
6147 return NULL;
6148}
6149
6150
6151static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxString *arg1 = 0 ;
6154 wxString result;
423f194a 6155 bool temp1 = False ;
d14a1e28
RD
6156 PyObject * obj0 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "filename", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6162 {
6163 arg1 = wxString_in_helper(obj0);
6164 if (arg1 == NULL) SWIG_fail;
423f194a 6165 temp1 = True;
d14a1e28
RD
6166 }
6167 {
6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
6169 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6170
6171 wxPyEndAllowThreads(__tstate);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 }
6174 {
6175#if wxUSE_UNICODE
6176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6177#else
6178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6179#endif
6180 }
6181 {
6182 if (temp1)
6183 delete arg1;
6184 }
6185 return resultobj;
6186 fail:
6187 {
6188 if (temp1)
6189 delete arg1;
6190 }
6191 return NULL;
6192}
6193
6194
6195static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6196 PyObject *obj;
6197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6198 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6199 Py_INCREF(obj);
6200 return Py_BuildValue((char *)"");
6201}
6202static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxString *arg1 = 0 ;
6205 wxString result;
423f194a 6206 bool temp1 = False ;
d14a1e28
RD
6207 PyObject * obj0 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "url", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6213 {
6214 arg1 = wxString_in_helper(obj0);
6215 if (arg1 == NULL) SWIG_fail;
423f194a 6216 temp1 = True;
d14a1e28
RD
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 {
6226#if wxUSE_UNICODE
6227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6228#else
6229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6230#endif
6231 }
6232 {
6233 if (temp1)
6234 delete arg1;
6235 }
6236 return resultobj;
6237 fail:
6238 {
6239 if (temp1)
6240 delete arg1;
6241 }
6242 return NULL;
6243}
6244
6245
6246static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxInternetFSHandler *result;
6249 char *kwnames[] = {
6250 NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6262 return resultobj;
6263 fail:
6264 return NULL;
6265}
6266
6267
6268static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6271 wxString *arg2 = 0 ;
6272 bool result;
423f194a 6273 bool temp2 = False ;
d14a1e28
RD
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "location", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6282 {
6283 arg2 = wxString_in_helper(obj1);
6284 if (arg2 == NULL) SWIG_fail;
423f194a 6285 temp2 = True;
d14a1e28
RD
6286 }
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 resultobj = PyInt_FromLong((long)result);
6295 {
6296 if (temp2)
6297 delete arg2;
6298 }
6299 return resultobj;
6300 fail:
6301 {
6302 if (temp2)
6303 delete arg2;
6304 }
6305 return NULL;
6306}
6307
6308
6309static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj;
6311 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6312 wxFileSystem *arg2 = 0 ;
6313 wxString *arg3 = 0 ;
6314 wxFSFile *result;
423f194a 6315 bool temp3 = False ;
d14a1e28
RD
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 PyObject * obj2 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "fs",(char *) "location", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 if (arg2 == NULL) {
6327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6328 }
6329 {
6330 arg3 = wxString_in_helper(obj2);
6331 if (arg3 == NULL) SWIG_fail;
423f194a 6332 temp3 = True;
d14a1e28
RD
6333 }
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 {
6342 resultobj = wxPyMake_wxObject(result);
6343 }
6344 {
6345 if (temp3)
6346 delete arg3;
6347 }
6348 return resultobj;
6349 fail:
6350 {
6351 if (temp3)
6352 delete arg3;
6353 }
6354 return NULL;
6355}
6356
6357
6358static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6359 PyObject *obj;
6360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6361 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6362 Py_INCREF(obj);
6363 return Py_BuildValue((char *)"");
6364}
6365static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxZipFSHandler *result;
6368 char *kwnames[] = {
6369 NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 result = (wxZipFSHandler *)new wxZipFSHandler();
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6381 return resultobj;
6382 fail:
6383 return NULL;
6384}
6385
6386
6387static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6388 PyObject *resultobj;
6389 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6390 wxString *arg2 = 0 ;
6391 bool result;
423f194a 6392 bool temp2 = False ;
d14a1e28
RD
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "location", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401 {
6402 arg2 = wxString_in_helper(obj1);
6403 if (arg2 == NULL) SWIG_fail;
423f194a 6404 temp2 = True;
d14a1e28
RD
6405 }
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 resultobj = PyInt_FromLong((long)result);
6414 {
6415 if (temp2)
6416 delete arg2;
6417 }
6418 return resultobj;
6419 fail:
6420 {
6421 if (temp2)
6422 delete arg2;
6423 }
6424 return NULL;
6425}
6426
6427
6428static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6431 wxFileSystem *arg2 = 0 ;
6432 wxString *arg3 = 0 ;
6433 wxFSFile *result;
423f194a 6434 bool temp3 = False ;
d14a1e28
RD
6435 PyObject * obj0 = 0 ;
6436 PyObject * obj1 = 0 ;
6437 PyObject * obj2 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "fs",(char *) "location", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6445 if (arg2 == NULL) {
6446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6447 }
6448 {
6449 arg3 = wxString_in_helper(obj2);
6450 if (arg3 == NULL) SWIG_fail;
423f194a 6451 temp3 = True;
d14a1e28
RD
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 {
6461 resultobj = wxPyMake_wxObject(result);
6462 }
6463 {
6464 if (temp3)
6465 delete arg3;
6466 }
6467 return resultobj;
6468 fail:
6469 {
6470 if (temp3)
6471 delete arg3;
6472 }
6473 return NULL;
6474}
6475
6476
6477static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj;
6479 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6480 wxString *arg2 = 0 ;
6481 int arg3 = (int) 0 ;
6482 wxString result;
423f194a 6483 bool temp2 = False ;
d14a1e28
RD
6484 PyObject * obj0 = 0 ;
6485 PyObject * obj1 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "spec",(char *) "flags", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6492 {
6493 arg2 = wxString_in_helper(obj1);
6494 if (arg2 == NULL) SWIG_fail;
423f194a 6495 temp2 = True;
d14a1e28
RD
6496 }
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 {
6505#if wxUSE_UNICODE
6506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6507#else
6508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6509#endif
6510 }
6511 {
6512 if (temp2)
6513 delete arg2;
6514 }
6515 return resultobj;
6516 fail:
6517 {
6518 if (temp2)
6519 delete arg2;
6520 }
6521 return NULL;
6522}
6523
6524
6525static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6528 wxString result;
6529 PyObject * obj0 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (arg1)->FindNext();
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 {
6544#if wxUSE_UNICODE
6545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6546#else
6547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6548#endif
6549 }
6550 return resultobj;
6551 fail:
6552 return NULL;
6553}
6554
6555
6556static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6557 PyObject *obj;
6558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6560 Py_INCREF(obj);
6561 return Py_BuildValue((char *)"");
6562}
6563static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxString *arg1 = 0 ;
6566 wxImage *arg2 = 0 ;
6567 long arg3 ;
423f194a 6568 bool temp1 = False ;
d14a1e28
RD
6569 PyObject * obj0 = 0 ;
6570 PyObject * obj1 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "filename",(char *) "image",(char *) "type", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6576 {
6577 arg1 = wxString_in_helper(obj0);
6578 if (arg1 == NULL) SWIG_fail;
423f194a 6579 temp1 = True;
d14a1e28
RD
6580 }
6581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6582 if (arg2 == NULL) {
6583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6584 }
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 Py_INCREF(Py_None); resultobj = Py_None;
6593 {
6594 if (temp1)
6595 delete arg1;
6596 }
6597 return resultobj;
6598 fail:
6599 {
6600 if (temp1)
6601 delete arg1;
6602 }
6603 return NULL;
6604}
6605
6606
6607static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj;
6609 wxString *arg1 = 0 ;
6610 wxBitmap *arg2 = 0 ;
6611 long arg3 ;
423f194a 6612 bool temp1 = False ;
d14a1e28
RD
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6620 {
6621 arg1 = wxString_in_helper(obj0);
6622 if (arg1 == NULL) SWIG_fail;
423f194a 6623 temp1 = True;
d14a1e28
RD
6624 }
6625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6626 if (arg2 == NULL) {
6627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 {
6638 if (temp1)
6639 delete arg1;
6640 }
6641 return resultobj;
6642 fail:
6643 {
6644 if (temp1)
6645 delete arg1;
6646 }
6647 return NULL;
6648}
6649
6650
6651static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxString *arg1 = 0 ;
6654 PyObject *arg2 = (PyObject *) 0 ;
423f194a 6655 bool temp1 = False ;
d14a1e28
RD
6656 PyObject * obj0 = 0 ;
6657 PyObject * obj1 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "filename",(char *) "data", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6663 {
6664 arg1 = wxString_in_helper(obj0);
6665 if (arg1 == NULL) SWIG_fail;
423f194a 6666 temp1 = True;
d14a1e28
RD
6667 }
6668 arg2 = obj1;
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 Py_INCREF(Py_None); resultobj = Py_None;
6677 {
6678 if (temp1)
6679 delete arg1;
6680 }
6681 return resultobj;
6682 fail:
6683 {
6684 if (temp1)
6685 delete arg1;
6686 }
6687 return NULL;
6688}
6689
6690
6691static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6692 PyObject *resultobj;
6693 wxMemoryFSHandler *result;
6694 char *kwnames[] = {
6695 NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6707 return resultobj;
6708 fail:
6709 return NULL;
6710}
6711
6712
6713static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxString *arg1 = 0 ;
423f194a 6716 bool temp1 = False ;
d14a1e28
RD
6717 PyObject * obj0 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "filename", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6723 {
6724 arg1 = wxString_in_helper(obj0);
6725 if (arg1 == NULL) SWIG_fail;
423f194a 6726 temp1 = True;
d14a1e28
RD
6727 }
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 {
6737 if (temp1)
6738 delete arg1;
6739 }
6740 return resultobj;
6741 fail:
6742 {
6743 if (temp1)
6744 delete arg1;
6745 }
6746 return NULL;
6747}
6748
6749
6750static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6753 wxString *arg2 = 0 ;
6754 bool result;
423f194a 6755 bool temp2 = False ;
d14a1e28
RD
6756 PyObject * obj0 = 0 ;
6757 PyObject * obj1 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self",(char *) "location", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6764 {
6765 arg2 = wxString_in_helper(obj1);
6766 if (arg2 == NULL) SWIG_fail;
423f194a 6767 temp2 = True;
d14a1e28
RD
6768 }
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 resultobj = PyInt_FromLong((long)result);
6777 {
6778 if (temp2)
6779 delete arg2;
6780 }
6781 return resultobj;
6782 fail:
6783 {
6784 if (temp2)
6785 delete arg2;
6786 }
6787 return NULL;
6788}
6789
6790
6791static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj;
6793 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6794 wxFileSystem *arg2 = 0 ;
6795 wxString *arg3 = 0 ;
6796 wxFSFile *result;
423f194a 6797 bool temp3 = False ;
d14a1e28
RD
6798 PyObject * obj0 = 0 ;
6799 PyObject * obj1 = 0 ;
6800 PyObject * obj2 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self",(char *) "fs",(char *) "location", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6808 if (arg2 == NULL) {
6809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6810 }
6811 {
6812 arg3 = wxString_in_helper(obj2);
6813 if (arg3 == NULL) SWIG_fail;
423f194a 6814 temp3 = True;
d14a1e28
RD
6815 }
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 {
6824 resultobj = wxPyMake_wxObject(result);
6825 }
6826 {
6827 if (temp3)
6828 delete arg3;
6829 }
6830 return resultobj;
6831 fail:
6832 {
6833 if (temp3)
6834 delete arg3;
6835 }
6836 return NULL;
6837}
6838
6839
6840static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6843 wxString *arg2 = 0 ;
6844 int arg3 = (int) 0 ;
6845 wxString result;
423f194a 6846 bool temp2 = False ;
d14a1e28
RD
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "self",(char *) "spec",(char *) "flags", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6855 {
6856 arg2 = wxString_in_helper(obj1);
6857 if (arg2 == NULL) SWIG_fail;
423f194a 6858 temp2 = True;
d14a1e28
RD
6859 }
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6863
6864 wxPyEndAllowThreads(__tstate);
6865 if (PyErr_Occurred()) SWIG_fail;
6866 }
6867 {
6868#if wxUSE_UNICODE
6869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6870#else
6871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6872#endif
6873 }
6874 {
6875 if (temp2)
6876 delete arg2;
6877 }
6878 return resultobj;
6879 fail:
6880 {
6881 if (temp2)
6882 delete arg2;
6883 }
6884 return NULL;
6885}
6886
6887
6888static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6891 wxString result;
6892 PyObject * obj0 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
6898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (arg1)->FindNext();
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907#if wxUSE_UNICODE
6908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6909#else
6910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6911#endif
6912 }
6913 return resultobj;
6914 fail:
6915 return NULL;
6916}
6917
6918
6919static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
6920 PyObject *obj;
6921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6922 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
6923 Py_INCREF(obj);
6924 return Py_BuildValue((char *)"");
6925}
6926static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6929 wxString result;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (arg1)->GetName();
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 {
6945#if wxUSE_UNICODE
6946 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6947#else
6948 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6949#endif
6950 }
6951 return resultobj;
6952 fail:
6953 return NULL;
6954}
6955
6956
6957static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6960 wxString result;
6961 PyObject * obj0 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 result = (arg1)->GetExtension();
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 {
6976#if wxUSE_UNICODE
6977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6978#else
6979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6980#endif
6981 }
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
6988static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6991 long result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (long)(arg1)->GetType();
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = PyInt_FromLong((long)result);
7007 return resultobj;
7008 fail:
7009 return NULL;
7010}
7011
7012
7013static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7016 wxString result;
7017 PyObject * obj0 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = (arg1)->GetMimeType();
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 {
7032#if wxUSE_UNICODE
7033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7034#else
7035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7036#endif
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041}
7042
7043
7044static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7047 wxString *arg2 = 0 ;
7048 bool result;
423f194a 7049 bool temp2 = False ;
d14a1e28
RD
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 char *kwnames[] = {
7053 (char *) "self",(char *) "name", NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7058 {
7059 arg2 = wxString_in_helper(obj1);
7060 if (arg2 == NULL) SWIG_fail;
423f194a 7061 temp2 = True;
d14a1e28
RD
7062 }
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 resultobj = PyInt_FromLong((long)result);
7071 {
7072 if (temp2)
7073 delete arg2;
7074 }
7075 return resultobj;
7076 fail:
7077 {
7078 if (temp2)
7079 delete arg2;
7080 }
7081 return NULL;
7082}
7083
7084
7085static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7086 PyObject *resultobj;
7087 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7088 wxString *arg2 = 0 ;
423f194a 7089 bool temp2 = False ;
d14a1e28
RD
7090 PyObject * obj0 = 0 ;
7091 PyObject * obj1 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "name", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7098 {
7099 arg2 = wxString_in_helper(obj1);
7100 if (arg2 == NULL) SWIG_fail;
423f194a 7101 temp2 = True;
d14a1e28
RD
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetName((wxString const &)*arg2);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return resultobj;
7116 fail:
7117 {
7118 if (temp2)
7119 delete arg2;
7120 }
7121 return NULL;
7122}
7123
7124
7125static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj;
7127 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7128 wxString *arg2 = 0 ;
423f194a 7129 bool temp2 = False ;
d14a1e28
RD
7130 PyObject * obj0 = 0 ;
7131 PyObject * obj1 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self",(char *) "extension", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7138 {
7139 arg2 = wxString_in_helper(obj1);
7140 if (arg2 == NULL) SWIG_fail;
423f194a 7141 temp2 = True;
d14a1e28
RD
7142 }
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 (arg1)->SetExtension((wxString const &)*arg2);
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 Py_INCREF(Py_None); resultobj = Py_None;
7151 {
7152 if (temp2)
7153 delete arg2;
7154 }
7155 return resultobj;
7156 fail:
7157 {
7158 if (temp2)
7159 delete arg2;
7160 }
7161 return NULL;
7162}
7163
7164
7165static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7168 long arg2 ;
7169 PyObject * obj0 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self",(char *) "type", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 (arg1)->SetType(arg2);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 return resultobj;
7185 fail:
7186 return NULL;
7187}
7188
7189
7190static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7193 wxString *arg2 = 0 ;
423f194a 7194 bool temp2 = False ;
d14a1e28
RD
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self",(char *) "mimetype", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",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 (arg1)->SetMimeType((wxString const &)*arg2);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 Py_INCREF(Py_None); resultobj = Py_None;
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 * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7231 PyObject *obj;
7232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7233 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7234 Py_INCREF(obj);
7235 return Py_BuildValue((char *)"");
7236}
7237static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7238 PyObject *resultobj;
7239 wxImageHistogram *result;
7240 char *kwnames[] = {
7241 NULL
7242 };
7243
7244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 result = (wxImageHistogram *)new wxImageHistogram();
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
7259static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 unsigned char arg1 ;
7262 unsigned char arg2 ;
7263 unsigned char arg3 ;
7264 unsigned long result;
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
7267 PyObject * obj2 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "r",(char *) "g",(char *) "b", NULL
7270 };
7271
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7273 arg1 = (unsigned char) PyInt_AsLong(obj0);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 arg2 = (unsigned char) PyInt_AsLong(obj1);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 arg3 = (unsigned char) PyInt_AsLong(obj2);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 {
7280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7281 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7282
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 resultobj = PyInt_FromLong((long)result);
7287 return resultobj;
7288 fail:
7289 return NULL;
7290}
7291
7292
7293static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7296 unsigned char *arg2 = (unsigned char *) 0 ;
7297 unsigned char *arg3 = (unsigned char *) 0 ;
7298 unsigned char *arg4 = (unsigned char *) 0 ;
7299 unsigned char arg5 = (unsigned char) 1 ;
7300 unsigned char arg6 = (unsigned char) 0 ;
7301 unsigned char arg7 = (unsigned char) 0 ;
7302 bool result;
7303 unsigned char temp2 ;
7304 unsigned char temp3 ;
7305 unsigned char temp4 ;
7306 PyObject * obj0 = 0 ;
7307 PyObject * obj1 = 0 ;
7308 PyObject * obj2 = 0 ;
7309 PyObject * obj3 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7312 };
7313
7314 arg2 = &temp2;
7315 arg3 = &temp3;
7316 arg4 = &temp4;
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7319 if (obj1) {
7320 arg5 = (unsigned char) PyInt_AsLong(obj1);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 if (obj2) {
7324 arg6 = (unsigned char) PyInt_AsLong(obj2);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 if (obj3) {
7328 arg7 = (unsigned char) PyInt_AsLong(obj3);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 resultobj = PyInt_FromLong((long)result);
7339 {
7340 PyObject *o = PyInt_FromLong((long) (*arg2));
7341 resultobj = t_output_helper(resultobj,o);
7342 }
7343 {
7344 PyObject *o = PyInt_FromLong((long) (*arg3));
7345 resultobj = t_output_helper(resultobj,o);
7346 }
7347 {
7348 PyObject *o = PyInt_FromLong((long) (*arg4));
7349 resultobj = t_output_helper(resultobj,o);
7350 }
7351 return resultobj;
7352 fail:
7353 return NULL;
7354}
7355
7356
7357static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7358 PyObject *obj;
7359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7360 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7361 Py_INCREF(obj);
7362 return Py_BuildValue((char *)"");
7363}
7364static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxString *arg1 = 0 ;
7367 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7368 int arg3 = (int) -1 ;
7369 wxImage *result;
423f194a 7370 bool temp1 = False ;
d14a1e28
RD
7371 PyObject * obj0 = 0 ;
7372 char *kwnames[] = {
7373 (char *) "name",(char *) "type",(char *) "index", NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7377 {
7378 arg1 = wxString_in_helper(obj0);
7379 if (arg1 == NULL) SWIG_fail;
423f194a 7380 temp1 = True;
d14a1e28
RD
7381 }
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7390 {
7391 if (temp1)
7392 delete arg1;
7393 }
7394 return resultobj;
7395 fail:
7396 {
7397 if (temp1)
7398 delete arg1;
7399 }
7400 return NULL;
7401}
7402
7403
7404static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxImage *arg1 = (wxImage *) 0 ;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 delete arg1;
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 Py_INCREF(Py_None); resultobj = Py_None;
7422 return resultobj;
7423 fail:
7424 return NULL;
7425}
7426
7427
7428static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7429 PyObject *resultobj;
7430 wxString *arg1 = 0 ;
7431 wxString *arg2 = 0 ;
7432 int arg3 = (int) -1 ;
7433 wxImage *result;
423f194a
RD
7434 bool temp1 = False ;
7435 bool temp2 = False ;
d14a1e28
RD
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7443 {
7444 arg1 = wxString_in_helper(obj0);
7445 if (arg1 == NULL) SWIG_fail;
423f194a 7446 temp1 = True;
d14a1e28
RD
7447 }
7448 {
7449 arg2 = wxString_in_helper(obj1);
7450 if (arg2 == NULL) SWIG_fail;
423f194a 7451 temp2 = True;
d14a1e28
RD
7452 }
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7461 {
7462 if (temp1)
7463 delete arg1;
7464 }
7465 {
7466 if (temp2)
7467 delete arg2;
7468 }
7469 return resultobj;
7470 fail:
7471 {
7472 if (temp1)
7473 delete arg1;
7474 }
7475 {
7476 if (temp2)
7477 delete arg2;
7478 }
7479 return NULL;
7480}
7481
7482
7483static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7484 PyObject *resultobj;
7485 wxInputStream *arg1 = 0 ;
7486 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7487 int arg3 = (int) -1 ;
7488 wxImage *result;
7489 wxPyInputStream *temp1 ;
7490 bool created1 ;
7491 PyObject * obj0 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "stream",(char *) "type",(char *) "index", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7497 {
7498 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7499 arg1 = temp1->m_wxis;
423f194a 7500 created1 = False;
d14a1e28
RD
7501 } else {
7502 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 7503 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
7504 if (arg1 == NULL) {
7505 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7506 SWIG_fail;
7507 }
423f194a 7508 created1 = True;
d14a1e28
RD
7509 }
7510 }
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7519 {
7520 if (created1)
7521 delete arg1;
7522 }
7523 return resultobj;
7524 fail:
7525 {
7526 if (created1)
7527 delete arg1;
7528 }
7529 return NULL;
7530}
7531
7532
7533static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxInputStream *arg1 = 0 ;
7536 wxString *arg2 = 0 ;
7537 int arg3 = (int) -1 ;
7538 wxImage *result;
7539 wxPyInputStream *temp1 ;
7540 bool created1 ;
423f194a 7541 bool temp2 = False ;
d14a1e28
RD
7542 PyObject * obj0 = 0 ;
7543 PyObject * obj1 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7549 {
7550 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7551 arg1 = temp1->m_wxis;
423f194a 7552 created1 = False;
d14a1e28
RD
7553 } else {
7554 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 7555 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
7556 if (arg1 == NULL) {
7557 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7558 SWIG_fail;
7559 }
423f194a 7560 created1 = True;
d14a1e28
RD
7561 }
7562 }
7563 {
7564 arg2 = wxString_in_helper(obj1);
7565 if (arg2 == NULL) SWIG_fail;
423f194a 7566 temp2 = True;
d14a1e28
RD
7567 }
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7576 {
7577 if (created1)
7578 delete arg1;
7579 }
7580 {
7581 if (temp2)
7582 delete arg2;
7583 }
7584 return resultobj;
7585 fail:
7586 {
7587 if (created1)
7588 delete arg1;
7589 }
7590 {
7591 if (temp2)
7592 delete arg2;
7593 }
7594 return NULL;
7595}
7596
7597
7598static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 int arg1 = (int) 0 ;
7601 int arg2 = (int) 0 ;
423f194a 7602 bool arg3 = (bool) True ;
d14a1e28
RD
7603 wxImage *result;
7604 PyObject * obj2 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "width",(char *) "height",(char *) "clear", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7610 if (obj2) {
7611 arg3 = PyInt_AsLong(obj2) ? true : false;
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7617
7618 wxPyEndAllowThreads(__tstate);
7619 if (PyErr_Occurred()) SWIG_fail;
7620 }
7621 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7622 return resultobj;
7623 fail:
7624 return NULL;
7625}
7626
7627
7628static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7629 PyObject *resultobj;
7630 wxBitmap *arg1 = 0 ;
7631 wxImage *result;
7632 PyObject * obj0 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "bitmap", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7639 if (arg1 == NULL) {
7640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7641 }
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7650 return resultobj;
7651 fail:
7652 return NULL;
7653}
7654
7655
7656static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 int arg1 ;
7659 int arg2 ;
7660 unsigned char *arg3 = (unsigned char *) 0 ;
7661 wxImage *result;
7662 PyObject * obj2 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "width",(char *) "height",(char *) "data", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7668 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7677 return resultobj;
7678 fail:
7679 return NULL;
7680}
7681
7682
7683static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxImage *arg1 = (wxImage *) 0 ;
7686 int arg2 ;
7687 int arg3 ;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self",(char *) "width",(char *) "height", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->Create(arg2,arg3);
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706}
7707
7708
7709static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxImage *arg1 = (wxImage *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 (arg1)->Destroy();
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730}
7731
7732
7733static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxImage *arg1 = (wxImage *) 0 ;
7736 int arg2 ;
7737 int arg3 ;
7738 SwigValueWrapper< wxImage > result;
7739 PyObject * obj0 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self",(char *) "width",(char *) "height", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 result = (arg1)->Scale(arg2,arg3);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 {
7754 wxImage * resultptr;
7755 resultptr = new wxImage((wxImage &) result);
7756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7757 }
7758 return resultobj;
7759 fail:
7760 return NULL;
7761}
7762
7763
7764static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxImage *arg1 = (wxImage *) 0 ;
7767 int arg2 ;
7768 int arg3 ;
7769 SwigValueWrapper< wxImage > result;
7770 PyObject * obj0 = 0 ;
7771 char *kwnames[] = {
7772 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 {
7785 wxImage * resultptr;
7786 resultptr = new wxImage((wxImage &) result);
7787 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7788 }
7789 return resultobj;
7790 fail:
7791 return NULL;
7792}
7793
7794
7795static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxImage *arg1 = (wxImage *) 0 ;
7798 int arg2 ;
7799 int arg3 ;
7800 wxImage *result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "width",(char *) "height", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 {
7811 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7812 result = (wxImage *) &_result_ref;
7813 }
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7819 return resultobj;
7820 fail:
7821 return NULL;
7822}
7823
7824
7825static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxImage *arg1 = (wxImage *) 0 ;
7828 int arg2 ;
7829 int arg3 ;
7830 unsigned char arg4 ;
7831 unsigned char arg5 ;
7832 unsigned char arg6 ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj3 = 0 ;
7835 PyObject * obj4 = 0 ;
7836 PyObject * obj5 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7843 arg4 = (unsigned char) PyInt_AsLong(obj3);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 arg5 = (unsigned char) PyInt_AsLong(obj4);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 arg6 = (unsigned char) PyInt_AsLong(obj5);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 Py_INCREF(Py_None); resultobj = Py_None;
7857 return resultobj;
7858 fail:
7859 return NULL;
7860}
7861
7862
7863static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxImage *arg1 = (wxImage *) 0 ;
7866 int arg2 ;
7867 int arg3 ;
7868 unsigned char result;
7869 PyObject * obj0 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "x",(char *) "y", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
7875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 resultobj = PyInt_FromLong((long)result);
7884 return resultobj;
7885 fail:
7886 return NULL;
7887}
7888
7889
7890static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj;
7892 wxImage *arg1 = (wxImage *) 0 ;
7893 int arg2 ;
7894 int arg3 ;
7895 unsigned char result;
7896 PyObject * obj0 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "x",(char *) "y", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 resultobj = PyInt_FromLong((long)result);
7911 return resultobj;
7912 fail:
7913 return NULL;
7914}
7915
7916
7917static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxImage *arg1 = (wxImage *) 0 ;
7920 int arg2 ;
7921 int arg3 ;
7922 unsigned char result;
7923 PyObject * obj0 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "self",(char *) "x",(char *) "y", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
7929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 resultobj = PyInt_FromLong((long)result);
7938 return resultobj;
7939 fail:
7940 return NULL;
7941}
7942
7943
7944static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
7946 wxImage *arg1 = (wxImage *) 0 ;
7947 int arg2 ;
7948 int arg3 ;
7949 unsigned char arg4 ;
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj3 = 0 ;
7952 char *kwnames[] = {
7953 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7954 };
7955
7956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7958 arg4 = (unsigned char) PyInt_AsLong(obj3);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 (arg1)->SetAlpha(arg2,arg3,arg4);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 Py_INCREF(Py_None); resultobj = Py_None;
7968 return resultobj;
7969 fail:
7970 return NULL;
7971}
7972
7973
7974static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj;
7976 wxImage *arg1 = (wxImage *) 0 ;
7977 int arg2 ;
7978 int arg3 ;
7979 unsigned char result;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self",(char *) "x",(char *) "y", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
7986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = PyInt_FromLong((long)result);
7995 return resultobj;
7996 fail:
7997 return NULL;
7998}
7999
8000
8001static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxImage *arg1 = (wxImage *) 0 ;
8004 bool result;
8005 PyObject * obj0 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)(arg1)->HasAlpha();
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 resultobj = PyInt_FromLong((long)result);
8020 return resultobj;
8021 fail:
8022 return NULL;
8023}
8024
8025
8026static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8027 PyObject *resultobj;
8028 wxImage *arg1 = (wxImage *) 0 ;
8029 byte *arg2 = (byte *) 0 ;
8030 byte *arg3 = (byte *) 0 ;
8031 byte *arg4 = (byte *) 0 ;
8032 byte arg5 = (byte) 0 ;
8033 byte arg6 = (byte) 0 ;
8034 byte arg7 = (byte) 0 ;
8035 bool result;
8036 byte temp2 ;
8037 byte temp3 ;
8038 byte temp4 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 PyObject * obj2 = 0 ;
8042 PyObject * obj3 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8045 };
8046
8047 arg2 = &temp2;
8048 arg3 = &temp3;
8049 arg4 = &temp4;
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 if (obj1) {
8053 arg5 = (byte) PyInt_AsLong(obj1);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 if (obj2) {
8057 arg6 = (byte) PyInt_AsLong(obj2);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 if (obj3) {
8061 arg7 = (byte) PyInt_AsLong(obj3);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = PyInt_FromLong((long)result);
8072 {
8073 PyObject *o = PyInt_FromLong((long) (*arg2));
8074 resultobj = t_output_helper(resultobj,o);
8075 }
8076 {
8077 PyObject *o = PyInt_FromLong((long) (*arg3));
8078 resultobj = t_output_helper(resultobj,o);
8079 }
8080 {
8081 PyObject *o = PyInt_FromLong((long) (*arg4));
8082 resultobj = t_output_helper(resultobj,o);
8083 }
8084 return resultobj;
8085 fail:
8086 return NULL;
8087}
8088
8089
8090static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8091 PyObject *resultobj;
8092 wxImage *arg1 = (wxImage *) 0 ;
8093 wxImage *arg2 = 0 ;
8094 byte arg3 ;
8095 byte arg4 ;
8096 byte arg5 ;
8097 bool result;
8098 PyObject * obj0 = 0 ;
8099 PyObject * obj1 = 0 ;
8100 PyObject * obj2 = 0 ;
8101 PyObject * obj3 = 0 ;
8102 PyObject * obj4 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8110 if (arg2 == NULL) {
8111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8112 }
8113 arg3 = (byte) PyInt_AsLong(obj2);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 arg4 = (byte) PyInt_AsLong(obj3);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 arg5 = (byte) PyInt_AsLong(obj4);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 resultobj = PyInt_FromLong((long)result);
8127 return resultobj;
8128 fail:
8129 return NULL;
8130}
8131
8132
8133static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxString *arg1 = 0 ;
8136 bool result;
423f194a 8137 bool temp1 = False ;
d14a1e28
RD
8138 PyObject * obj0 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "name", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8144 {
8145 arg1 = wxString_in_helper(obj0);
8146 if (arg1 == NULL) SWIG_fail;
423f194a 8147 temp1 = True;
d14a1e28
RD
8148 }
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = PyInt_FromLong((long)result);
8157 {
8158 if (temp1)
8159 delete arg1;
8160 }
8161 return resultobj;
8162 fail:
8163 {
8164 if (temp1)
8165 delete arg1;
8166 }
8167 return NULL;
8168}
8169
8170
8171static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxString *arg1 = 0 ;
8174 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8175 int result;
423f194a 8176 bool temp1 = False ;
d14a1e28
RD
8177 PyObject * obj0 = 0 ;
8178 char *kwnames[] = {
8179 (char *) "name",(char *) "type", NULL
8180 };
8181
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8183 {
8184 arg1 = wxString_in_helper(obj0);
8185 if (arg1 == NULL) SWIG_fail;
423f194a 8186 temp1 = True;
d14a1e28
RD
8187 }
8188 {
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8191
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 resultobj = PyInt_FromLong((long)result);
8196 {
8197 if (temp1)
8198 delete arg1;
8199 }
8200 return resultobj;
8201 fail:
8202 {
8203 if (temp1)
8204 delete arg1;
8205 }
8206 return NULL;
8207}
8208
8209
8210static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxImage *arg1 = (wxImage *) 0 ;
8213 wxString *arg2 = 0 ;
8214 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8215 int arg4 = (int) -1 ;
8216 bool result;
423f194a 8217 bool temp2 = False ;
d14a1e28
RD
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 arg2 = wxString_in_helper(obj1);
8228 if (arg2 == NULL) SWIG_fail;
423f194a 8229 temp2 = True;
d14a1e28
RD
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 resultobj = PyInt_FromLong((long)result);
8239 {
8240 if (temp2)
8241 delete arg2;
8242 }
8243 return resultobj;
8244 fail:
8245 {
8246 if (temp2)
8247 delete arg2;
8248 }
8249 return NULL;
8250}
8251
8252
8253static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxImage *arg1 = (wxImage *) 0 ;
8256 wxString *arg2 = 0 ;
8257 wxString *arg3 = 0 ;
8258 int arg4 = (int) -1 ;
8259 bool result;
423f194a
RD
8260 bool temp2 = False ;
8261 bool temp3 = False ;
d14a1e28
RD
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 PyObject * obj2 = 0 ;
8265 char *kwnames[] = {
8266 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8271 {
8272 arg2 = wxString_in_helper(obj1);
8273 if (arg2 == NULL) SWIG_fail;
423f194a 8274 temp2 = True;
d14a1e28
RD
8275 }
8276 {
8277 arg3 = wxString_in_helper(obj2);
8278 if (arg3 == NULL) SWIG_fail;
423f194a 8279 temp3 = True;
d14a1e28
RD
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 resultobj = PyInt_FromLong((long)result);
8289 {
8290 if (temp2)
8291 delete arg2;
8292 }
8293 {
8294 if (temp3)
8295 delete arg3;
8296 }
8297 return resultobj;
8298 fail:
8299 {
8300 if (temp2)
8301 delete arg2;
8302 }
8303 {
8304 if (temp3)
8305 delete arg3;
8306 }
8307 return NULL;
8308}
8309
8310
8311static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxImage *arg1 = (wxImage *) 0 ;
8314 wxString *arg2 = 0 ;
8315 int arg3 ;
8316 bool result;
423f194a 8317 bool temp2 = False ;
d14a1e28
RD
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "name",(char *) "type", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8326 {
8327 arg2 = wxString_in_helper(obj1);
8328 if (arg2 == NULL) SWIG_fail;
423f194a 8329 temp2 = True;
d14a1e28
RD
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = PyInt_FromLong((long)result);
8339 {
8340 if (temp2)
8341 delete arg2;
8342 }
8343 return resultobj;
8344 fail:
8345 {
8346 if (temp2)
8347 delete arg2;
8348 }
8349 return NULL;
8350}
8351
8352
8353static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxImage *arg1 = (wxImage *) 0 ;
8356 wxString *arg2 = 0 ;
8357 wxString *arg3 = 0 ;
8358 bool result;
423f194a
RD
8359 bool temp2 = False ;
8360 bool temp3 = False ;
d14a1e28
RD
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj1 = 0 ;
8363 PyObject * obj2 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 {
8371 arg2 = wxString_in_helper(obj1);
8372 if (arg2 == NULL) SWIG_fail;
423f194a 8373 temp2 = True;
d14a1e28
RD
8374 }
8375 {
8376 arg3 = wxString_in_helper(obj2);
8377 if (arg3 == NULL) SWIG_fail;
423f194a 8378 temp3 = True;
d14a1e28
RD
8379 }
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
8387 resultobj = PyInt_FromLong((long)result);
8388 {
8389 if (temp2)
8390 delete arg2;
8391 }
8392 {
8393 if (temp3)
8394 delete arg3;
8395 }
8396 return resultobj;
8397 fail:
8398 {
8399 if (temp2)
8400 delete arg2;
8401 }
8402 {
8403 if (temp3)
8404 delete arg3;
8405 }
8406 return NULL;
8407}
8408
8409
8410static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxInputStream *arg1 = 0 ;
8413 bool result;
8414 wxPyInputStream *temp1 ;
8415 bool created1 ;
8416 PyObject * obj0 = 0 ;
8417 char *kwnames[] = {
8418 (char *) "stream", NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8422 {
8423 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8424 arg1 = temp1->m_wxis;
423f194a 8425 created1 = False;
d14a1e28
RD
8426 } else {
8427 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8428 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8429 if (arg1 == NULL) {
8430 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8431 SWIG_fail;
8432 }
423f194a 8433 created1 = True;
d14a1e28
RD
8434 }
8435 }
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (bool)wxImage::CanRead(*arg1);
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 resultobj = PyInt_FromLong((long)result);
8444 {
8445 if (created1)
8446 delete arg1;
8447 }
8448 return resultobj;
8449 fail:
8450 {
8451 if (created1)
8452 delete arg1;
8453 }
8454 return NULL;
8455}
8456
8457
8458static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxImage *arg1 = (wxImage *) 0 ;
8461 wxInputStream *arg2 = 0 ;
8462 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8463 int arg4 = (int) -1 ;
8464 bool result;
8465 wxPyInputStream *temp2 ;
8466 bool created2 ;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8475 {
8476 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8477 arg2 = temp2->m_wxis;
423f194a 8478 created2 = False;
d14a1e28
RD
8479 } else {
8480 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8481 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
8482 if (arg2 == NULL) {
8483 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8484 SWIG_fail;
8485 }
423f194a 8486 created2 = True;
d14a1e28
RD
8487 }
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 resultobj = PyInt_FromLong((long)result);
8497 {
8498 if (created2)
8499 delete arg2;
8500 }
8501 return resultobj;
8502 fail:
8503 {
8504 if (created2)
8505 delete arg2;
8506 }
8507 return NULL;
8508}
8509
8510
8511static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxImage *arg1 = (wxImage *) 0 ;
8514 wxInputStream *arg2 = 0 ;
8515 wxString *arg3 = 0 ;
8516 int arg4 = (int) -1 ;
8517 bool result;
8518 wxPyInputStream *temp2 ;
8519 bool created2 ;
423f194a 8520 bool temp3 = False ;
d14a1e28
RD
8521 PyObject * obj0 = 0 ;
8522 PyObject * obj1 = 0 ;
8523 PyObject * obj2 = 0 ;
8524 char *kwnames[] = {
8525 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8526 };
8527
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8530 {
8531 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8532 arg2 = temp2->m_wxis;
423f194a 8533 created2 = False;
d14a1e28
RD
8534 } else {
8535 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8536 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
8537 if (arg2 == NULL) {
8538 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8539 SWIG_fail;
8540 }
423f194a 8541 created2 = True;
d14a1e28
RD
8542 }
8543 }
8544 {
8545 arg3 = wxString_in_helper(obj2);
8546 if (arg3 == NULL) SWIG_fail;
423f194a 8547 temp3 = True;
d14a1e28
RD
8548 }
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8552
8553 wxPyEndAllowThreads(__tstate);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 resultobj = PyInt_FromLong((long)result);
8557 {
8558 if (created2)
8559 delete arg2;
8560 }
8561 {
8562 if (temp3)
8563 delete arg3;
8564 }
8565 return resultobj;
8566 fail:
8567 {
8568 if (created2)
8569 delete arg2;
8570 }
8571 {
8572 if (temp3)
8573 delete arg3;
8574 }
8575 return NULL;
8576}
8577
8578
8579static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8580 PyObject *resultobj;
8581 wxImage *arg1 = (wxImage *) 0 ;
8582 bool result;
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 result = (bool)(arg1)->Ok();
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 resultobj = PyInt_FromLong((long)result);
8598 return resultobj;
8599 fail:
8600 return NULL;
8601}
8602
8603
8604static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxImage *arg1 = (wxImage *) 0 ;
8607 int result;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (int)(arg1)->GetWidth();
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 resultobj = PyInt_FromLong((long)result);
8623 return resultobj;
8624 fail:
8625 return NULL;
8626}
8627
8628
8629static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxImage *arg1 = (wxImage *) 0 ;
8632 int result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (int)(arg1)->GetHeight();
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = PyInt_FromLong((long)result);
8648 return resultobj;
8649 fail:
8650 return NULL;
8651}
8652
8653
8654static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxImage *arg1 = (wxImage *) 0 ;
8657 wxRect *arg2 = 0 ;
8658 SwigValueWrapper< wxImage > result;
8659 wxRect temp2 ;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self",(char *) "rect", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 {
8669 arg2 = &temp2;
8670 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 {
8680 wxImage * resultptr;
8681 resultptr = new wxImage((wxImage &) result);
8682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8683 }
8684 return resultobj;
8685 fail:
8686 return NULL;
8687}
8688
8689
8690static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxImage *arg1 = (wxImage *) 0 ;
8693 SwigValueWrapper< wxImage > result;
8694 PyObject * obj0 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (arg1)->Copy();
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 {
8709 wxImage * resultptr;
8710 resultptr = new wxImage((wxImage &) result);
8711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8712 }
8713 return resultobj;
8714 fail:
8715 return NULL;
8716}
8717
8718
8719static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxImage *arg1 = (wxImage *) 0 ;
8722 wxImage *arg2 = 0 ;
8723 int arg3 ;
8724 int arg4 ;
8725 PyObject * obj0 = 0 ;
8726 PyObject * obj1 = 0 ;
8727 char *kwnames[] = {
8728 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8729 };
8730
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 if (arg2 == NULL) {
8735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8736 }
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748}
8749
8750
8751static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxImage *arg1 = (wxImage *) 0 ;
8754 PyObject *result;
8755 PyObject * obj0 = 0 ;
8756 char *kwnames[] = {
8757 (char *) "self", NULL
8758 };
8759
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (PyObject *)wxImage_GetData(arg1);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 resultobj = result;
8770 return resultobj;
8771 fail:
8772 return NULL;
8773}
8774
8775
8776static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8777 PyObject *resultobj;
8778 wxImage *arg1 = (wxImage *) 0 ;
8779 PyObject *arg2 = (PyObject *) 0 ;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self",(char *) "data", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788 arg2 = obj1;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 wxImage_SetData(arg1,arg2);
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 Py_INCREF(Py_None); resultobj = Py_None;
8797 return resultobj;
8798 fail:
8799 return NULL;
8800}
8801
8802
8803static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxImage *arg1 = (wxImage *) 0 ;
8806 PyObject *result;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = result;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
8828static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxImage *arg1 = (wxImage *) 0 ;
8831 PyObject *arg2 = (PyObject *) 0 ;
8832 PyObject * obj0 = 0 ;
8833 PyObject * obj1 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "data", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8840 arg2 = obj1;
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 wxImage_SetDataBuffer(arg1,arg2);
8844
8845 wxPyEndAllowThreads(__tstate);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 Py_INCREF(Py_None); resultobj = Py_None;
8849 return resultobj;
8850 fail:
8851 return NULL;
8852}
8853
8854
8855static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxImage *arg1 = (wxImage *) 0 ;
8858 PyObject *result;
8859 PyObject * obj0 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (PyObject *)wxImage_GetAlphaData(arg1);
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = result;
8874 return resultobj;
8875 fail:
8876 return NULL;
8877}
8878
8879
8880static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxImage *arg1 = (wxImage *) 0 ;
8883 PyObject *arg2 = (PyObject *) 0 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self",(char *) "data", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
8891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8892 arg2 = obj1;
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 wxImage_SetAlphaData(arg1,arg2);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 Py_INCREF(Py_None); resultobj = Py_None;
8901 return resultobj;
8902 fail:
8903 return NULL;
8904}
8905
8906
8907static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxImage *arg1 = (wxImage *) 0 ;
8910 PyObject *result;
8911 PyObject * obj0 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
8917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
8921
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 resultobj = result;
8926 return resultobj;
8927 fail:
8928 return NULL;
8929}
8930
8931
8932static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8933 PyObject *resultobj;
8934 wxImage *arg1 = (wxImage *) 0 ;
8935 PyObject *arg2 = (PyObject *) 0 ;
8936 PyObject * obj0 = 0 ;
8937 PyObject * obj1 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self",(char *) "data", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
8943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8944 arg2 = obj1;
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 wxImage_SetAlphaBuffer(arg1,arg2);
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 Py_INCREF(Py_None); resultobj = Py_None;
8953 return resultobj;
8954 fail:
8955 return NULL;
8956}
8957
8958
8959static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj;
8961 wxImage *arg1 = (wxImage *) 0 ;
8962 unsigned char arg2 ;
8963 unsigned char arg3 ;
8964 unsigned char arg4 ;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 PyObject * obj2 = 0 ;
8968 PyObject * obj3 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8975 arg2 = (unsigned char) PyInt_AsLong(obj1);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 arg3 = (unsigned char) PyInt_AsLong(obj2);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 arg4 = (unsigned char) PyInt_AsLong(obj3);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 (arg1)->SetMaskColour(arg2,arg3,arg4);
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 Py_INCREF(Py_None); resultobj = Py_None;
8989 return resultobj;
8990 fail:
8991 return NULL;
8992}
8993
8994
8995static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
8996 PyObject *resultobj;
8997 wxImage *arg1 = (wxImage *) 0 ;
8998 unsigned char result;
8999 PyObject * obj0 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "self", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 result = (unsigned char)(arg1)->GetMaskRed();
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 resultobj = PyInt_FromLong((long)result);
9014 return resultobj;
9015 fail:
9016 return NULL;
9017}
9018
9019
9020static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9021 PyObject *resultobj;
9022 wxImage *arg1 = (wxImage *) 0 ;
9023 unsigned char result;
9024 PyObject * obj0 = 0 ;
9025 char *kwnames[] = {
9026 (char *) "self", NULL
9027 };
9028
9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (unsigned char)(arg1)->GetMaskGreen();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 resultobj = PyInt_FromLong((long)result);
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxImage *arg1 = (wxImage *) 0 ;
9048 unsigned char result;
9049 PyObject * obj0 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (unsigned char)(arg1)->GetMaskBlue();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 resultobj = PyInt_FromLong((long)result);
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
9070static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxImage *arg1 = (wxImage *) 0 ;
423f194a 9073 bool arg2 = (bool) True ;
d14a1e28
RD
9074 PyObject * obj0 = 0 ;
9075 PyObject * obj1 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self",(char *) "mask", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9082 if (obj1) {
9083 arg2 = PyInt_AsLong(obj1) ? true : false;
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->SetMask(arg2);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097}
9098
9099
9100static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxImage *arg1 = (wxImage *) 0 ;
9103 bool result;
9104 PyObject * obj0 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (bool)(arg1)->HasMask();
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 resultobj = PyInt_FromLong((long)result);
9119 return resultobj;
9120 fail:
9121 return NULL;
9122}
9123
9124
9125static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxImage *arg1 = (wxImage *) 0 ;
9128 double arg2 ;
9129 wxPoint *arg3 = 0 ;
423f194a 9130 bool arg4 = (bool) True ;
d14a1e28
RD
9131 wxPoint *arg5 = (wxPoint *) NULL ;
9132 SwigValueWrapper< wxImage > result;
9133 wxPoint temp3 ;
9134 PyObject * obj0 = 0 ;
9135 PyObject * obj2 = 0 ;
9136 PyObject * obj3 = 0 ;
9137 PyObject * obj4 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 {
9145 arg3 = &temp3;
9146 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9147 }
9148 if (obj3) {
9149 arg4 = PyInt_AsLong(obj3) ? true : false;
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 if (obj4) {
9153 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9154 }
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 {
9163 wxImage * resultptr;
9164 resultptr = new wxImage((wxImage &) result);
9165 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9166 }
9167 return resultobj;
9168 fail:
9169 return NULL;
9170}
9171
9172
9173static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxImage *arg1 = (wxImage *) 0 ;
423f194a 9176 bool arg2 = (bool) True ;
d14a1e28
RD
9177 SwigValueWrapper< wxImage > result;
9178 PyObject * obj0 = 0 ;
9179 PyObject * obj1 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self",(char *) "clockwise", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9186 if (obj1) {
9187 arg2 = PyInt_AsLong(obj1) ? true : false;
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (arg1)->Rotate90(arg2);
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 {
9198 wxImage * resultptr;
9199 resultptr = new wxImage((wxImage &) result);
9200 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9201 }
9202 return resultobj;
9203 fail:
9204 return NULL;
9205}
9206
9207
9208static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxImage *arg1 = (wxImage *) 0 ;
423f194a 9211 bool arg2 = (bool) True ;
d14a1e28
RD
9212 SwigValueWrapper< wxImage > result;
9213 PyObject * obj0 = 0 ;
9214 PyObject * obj1 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self",(char *) "horizontally", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9221 if (obj1) {
9222 arg2 = PyInt_AsLong(obj1) ? true : false;
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (arg1)->Mirror(arg2);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 wxImage * resultptr;
9234 resultptr = new wxImage((wxImage &) result);
9235 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9236 }
9237 return resultobj;
9238 fail:
9239 return NULL;
9240}
9241
9242
9243static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9244 PyObject *resultobj;
9245 wxImage *arg1 = (wxImage *) 0 ;
9246 unsigned char arg2 ;
9247 unsigned char arg3 ;
9248 unsigned char arg4 ;
9249 unsigned char arg5 ;
9250 unsigned char arg6 ;
9251 unsigned char arg7 ;
9252 PyObject * obj0 = 0 ;
9253 PyObject * obj1 = 0 ;
9254 PyObject * obj2 = 0 ;
9255 PyObject * obj3 = 0 ;
9256 PyObject * obj4 = 0 ;
9257 PyObject * obj5 = 0 ;
9258 PyObject * obj6 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9265 arg2 = (unsigned char) PyInt_AsLong(obj1);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 arg3 = (unsigned char) PyInt_AsLong(obj2);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 arg4 = (unsigned char) PyInt_AsLong(obj3);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 arg5 = (unsigned char) PyInt_AsLong(obj4);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 arg6 = (unsigned char) PyInt_AsLong(obj5);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 arg7 = (unsigned char) PyInt_AsLong(obj6);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 Py_INCREF(Py_None); resultobj = Py_None;
9285 return resultobj;
9286 fail:
9287 return NULL;
9288}
9289
9290
9291static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxImage *arg1 = (wxImage *) 0 ;
9294 unsigned char arg2 ;
9295 unsigned char arg3 ;
9296 unsigned char arg4 ;
9297 SwigValueWrapper< wxImage > result;
9298 PyObject * obj0 = 0 ;
9299 PyObject * obj1 = 0 ;
9300 PyObject * obj2 = 0 ;
9301 PyObject * obj3 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9308 arg2 = (unsigned char) PyInt_AsLong(obj1);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 arg3 = (unsigned char) PyInt_AsLong(obj2);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 arg4 = (unsigned char) PyInt_AsLong(obj3);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 {
9322 wxImage * resultptr;
9323 resultptr = new wxImage((wxImage &) result);
9324 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9325 }
9326 return resultobj;
9327 fail:
9328 return NULL;
9329}
9330
9331
9332static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxImage *arg1 = (wxImage *) 0 ;
9335 wxString *arg2 = 0 ;
9336 wxString *arg3 = 0 ;
423f194a
RD
9337 bool temp2 = False ;
9338 bool temp3 = False ;
d14a1e28
RD
9339 PyObject * obj0 = 0 ;
9340 PyObject * obj1 = 0 ;
9341 PyObject * obj2 = 0 ;
9342 char *kwnames[] = {
9343 (char *) "self",(char *) "name",(char *) "value", NULL
9344 };
9345
9346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9348 {
9349 arg2 = wxString_in_helper(obj1);
9350 if (arg2 == NULL) SWIG_fail;
423f194a 9351 temp2 = True;
d14a1e28
RD
9352 }
9353 {
9354 arg3 = wxString_in_helper(obj2);
9355 if (arg3 == NULL) SWIG_fail;
423f194a 9356 temp3 = True;
d14a1e28
RD
9357 }
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 Py_INCREF(Py_None); resultobj = Py_None;
9366 {
9367 if (temp2)
9368 delete arg2;
9369 }
9370 {
9371 if (temp3)
9372 delete arg3;
9373 }
9374 return resultobj;
9375 fail:
9376 {
9377 if (temp2)
9378 delete arg2;
9379 }
9380 {
9381 if (temp3)
9382 delete arg3;
9383 }
9384 return NULL;
9385}
9386
9387
9388static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxImage *arg1 = (wxImage *) 0 ;
9391 wxString *arg2 = 0 ;
9392 int arg3 ;
423f194a 9393 bool temp2 = False ;
d14a1e28
RD
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "name",(char *) "value", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 {
9403 arg2 = wxString_in_helper(obj1);
9404 if (arg2 == NULL) SWIG_fail;
423f194a 9405 temp2 = True;
d14a1e28
RD
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 (arg1)->SetOption((wxString const &)*arg2,arg3);
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 Py_INCREF(Py_None); resultobj = Py_None;
9415 {
9416 if (temp2)
9417 delete arg2;
9418 }
9419 return resultobj;
9420 fail:
9421 {
9422 if (temp2)
9423 delete arg2;
9424 }
9425 return NULL;
9426}
9427
9428
9429static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxImage *arg1 = (wxImage *) 0 ;
9432 wxString *arg2 = 0 ;
9433 wxString result;
423f194a 9434 bool temp2 = False ;
d14a1e28
RD
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self",(char *) "name", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9443 {
9444 arg2 = wxString_in_helper(obj1);
9445 if (arg2 == NULL) SWIG_fail;
423f194a 9446 temp2 = True;
d14a1e28
RD
9447 }
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 {
9456#if wxUSE_UNICODE
9457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9458#else
9459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9460#endif
9461 }
9462 {
9463 if (temp2)
9464 delete arg2;
9465 }
9466 return resultobj;
9467 fail:
9468 {
9469 if (temp2)
9470 delete arg2;
9471 }
9472 return NULL;
9473}
9474
9475
9476static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxImage *arg1 = (wxImage *) 0 ;
9479 wxString *arg2 = 0 ;
9480 int result;
423f194a 9481 bool temp2 = False ;
d14a1e28
RD
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self",(char *) "name", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9490 {
9491 arg2 = wxString_in_helper(obj1);
9492 if (arg2 == NULL) SWIG_fail;
423f194a 9493 temp2 = True;
d14a1e28
RD
9494 }
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 resultobj = PyInt_FromLong((long)result);
9503 {
9504 if (temp2)
9505 delete arg2;
9506 }
9507 return resultobj;
9508 fail:
9509 {
9510 if (temp2)
9511 delete arg2;
9512 }
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxImage *arg1 = (wxImage *) 0 ;
9520 wxString *arg2 = 0 ;
9521 bool result;
423f194a 9522 bool temp2 = False ;
d14a1e28
RD
9523 PyObject * obj0 = 0 ;
9524 PyObject * obj1 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self",(char *) "name", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 arg2 = wxString_in_helper(obj1);
9533 if (arg2 == NULL) SWIG_fail;
423f194a 9534 temp2 = True;
d14a1e28
RD
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = PyInt_FromLong((long)result);
9544 {
9545 if (temp2)
9546 delete arg2;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp2)
9552 delete arg2;
9553 }
9554 return NULL;
9555}
9556
9557
9558static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxImage *arg1 = (wxImage *) 0 ;
9561 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9562 unsigned long result;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self",(char *) "stopafter", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 if (obj1) {
9572 arg2 = (unsigned long) PyInt_AsLong(obj1);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (unsigned long)(arg1)->CountColours(arg2);
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 resultobj = PyInt_FromLong((long)result);
9583 return resultobj;
9584 fail:
9585 return NULL;
9586}
9587
9588
9589static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 wxImage *arg1 = (wxImage *) 0 ;
9592 wxImageHistogram *arg2 = 0 ;
9593 unsigned long result;
9594 PyObject * obj0 = 0 ;
9595 PyObject * obj1 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "self",(char *) "h", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9603 if (arg2 == NULL) {
9604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9605 }
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 resultobj = PyInt_FromLong((long)result);
9614 return resultobj;
9615 fail:
9616 return NULL;
9617}
9618
9619
9620static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9623 PyObject * obj0 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "handler", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 wxImage::AddHandler(arg1);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 }
9637 Py_INCREF(Py_None); resultobj = Py_None;
9638 return resultobj;
9639 fail:
9640 return NULL;
9641}
9642
9643
9644static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj;
9646 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9647 PyObject * obj0 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "handler", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 wxImage::InsertHandler(arg1);
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665}
9666
9667
9668static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxString *arg1 = 0 ;
9671 bool result;
423f194a 9672 bool temp1 = False ;
d14a1e28
RD
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "name", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9679 {
9680 arg1 = wxString_in_helper(obj0);
9681 if (arg1 == NULL) SWIG_fail;
423f194a 9682 temp1 = True;
d14a1e28
RD
9683 }
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = PyInt_FromLong((long)result);
9692 {
9693 if (temp1)
9694 delete arg1;
9695 }
9696 return resultobj;
9697 fail:
9698 {
9699 if (temp1)
9700 delete arg1;
9701 }
9702 return NULL;
9703}
9704
9705
9706static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxString result;
9709 char *kwnames[] = {
9710 NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = wxImage::GetImageExtWildcard();
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 {
9722#if wxUSE_UNICODE
9723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9724#else
9725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9726#endif
9727 }
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
9734static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxImage *arg1 = (wxImage *) 0 ;
9737 wxBitmap result;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = wxImage_ConvertToBitmap(arg1);
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 {
9753 wxBitmap * resultptr;
9754 resultptr = new wxBitmap((wxBitmap &) result);
9755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9756 }
9757 return resultobj;
9758 fail:
9759 return NULL;
9760}
9761
9762
9763static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxImage *arg1 = (wxImage *) 0 ;
9766 unsigned char arg2 ;
9767 unsigned char arg3 ;
9768 unsigned char arg4 ;
9769 wxBitmap result;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 PyObject * obj2 = 0 ;
9773 PyObject * obj3 = 0 ;
9774 char *kwnames[] = {
9775 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9776 };
9777
9778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9780 arg2 = (unsigned char) PyInt_AsLong(obj1);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 arg3 = (unsigned char) PyInt_AsLong(obj2);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 arg4 = (unsigned char) PyInt_AsLong(obj3);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 {
9794 wxBitmap * resultptr;
9795 resultptr = new wxBitmap((wxBitmap &) result);
9796 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9797 }
9798 return resultobj;
9799 fail:
9800 return NULL;
9801}
9802
9803
9804static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9805 PyObject *obj;
9806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9807 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9808 Py_INCREF(obj);
9809 return Py_BuildValue((char *)"");
9810}
9811static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 char *kwnames[] = {
9814 NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 wxInitAllImageHandlers();
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 Py_INCREF(Py_None); resultobj = Py_None;
9826 return resultobj;
9827 fail:
9828 return NULL;
9829}
9830
9831
9832static int _wrap_NullImage_set(PyObject *_val) {
9833 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9834 return 1;
9835}
9836
9837
9838static PyObject *_wrap_NullImage_get() {
9839 PyObject *pyobj;
9840
9841 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9842 return pyobj;
9843}
9844
9845
9846static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9847 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9848 return 1;
9849}
9850
9851
9852static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9853 PyObject *pyobj;
9854
9855 {
9856#if wxUSE_UNICODE
9857 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9858#else
9859 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9860#endif
9861 }
9862 return pyobj;
9863}
9864
9865
9866static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
9867 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9868 return 1;
9869}
9870
9871
9872static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9873 PyObject *pyobj;
9874
9875 {
9876#if wxUSE_UNICODE
9877 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9878#else
9879 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9880#endif
9881 }
9882 return pyobj;
9883}
9884
9885
9886static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
9887 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9888 return 1;
9889}
9890
9891
9892static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9893 PyObject *pyobj;
9894
9895 {
9896#if wxUSE_UNICODE
9897 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9898#else
9899 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9900#endif
9901 }
9902 return pyobj;
9903}
9904
9905
9906static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
9907 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9908 return 1;
9909}
9910
9911
9912static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
9913 PyObject *pyobj;
9914
9915 {
9916#if wxUSE_UNICODE
9917 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9918#else
9919 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9920#endif
9921 }
9922 return pyobj;
9923}
9924
9925
9926static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
9927 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9928 return 1;
9929}
9930
9931
9932static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9933 PyObject *pyobj;
9934
9935 {
9936#if wxUSE_UNICODE
9937 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9938#else
9939 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9940#endif
9941 }
9942 return pyobj;
9943}
9944
9945
9946static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj;
9948 wxBMPHandler *result;
9949 char *kwnames[] = {
9950 NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = (wxBMPHandler *)new wxBMPHandler();
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
9962 return resultobj;
9963 fail:
9964 return NULL;
9965}
9966
9967
9968static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
9969 PyObject *obj;
9970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9971 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
9972 Py_INCREF(obj);
9973 return Py_BuildValue((char *)"");
9974}
9975static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxICOHandler *result;
9978 char *kwnames[] = {
9979 NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 result = (wxICOHandler *)new wxICOHandler();
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
9991 return resultobj;
9992 fail:
9993 return NULL;
9994}
9995
9996
9997static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
9998 PyObject *obj;
9999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10000 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
10001 Py_INCREF(obj);
10002 return Py_BuildValue((char *)"");
10003}
10004static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxCURHandler *result;
10007 char *kwnames[] = {
10008 NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (wxCURHandler *)new wxCURHandler();
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10020 return resultobj;
10021 fail:
10022 return NULL;
10023}
10024
10025
10026static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10027 PyObject *obj;
10028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10029 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10030 Py_INCREF(obj);
10031 return Py_BuildValue((char *)"");
10032}
10033static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxANIHandler *result;
10036 char *kwnames[] = {
10037 NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 result = (wxANIHandler *)new wxANIHandler();
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10049 return resultobj;
10050 fail:
10051 return NULL;
10052}
10053
10054
10055static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10056 PyObject *obj;
10057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10058 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10059 Py_INCREF(obj);
10060 return Py_BuildValue((char *)"");
10061}
10062static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj;
10064 wxPNGHandler *result;
10065 char *kwnames[] = {
10066 NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (wxPNGHandler *)new wxPNGHandler();
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10078 return resultobj;
10079 fail:
10080 return NULL;
10081}
10082
10083
10084static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10085 PyObject *obj;
10086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10087 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10088 Py_INCREF(obj);
10089 return Py_BuildValue((char *)"");
10090}
10091static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxGIFHandler *result;
10094 char *kwnames[] = {
10095 NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (wxGIFHandler *)new wxGIFHandler();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110}
10111
10112
10113static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10114 PyObject *obj;
10115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10116 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10117 Py_INCREF(obj);
10118 return Py_BuildValue((char *)"");
10119}
10120static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxPCXHandler *result;
10123 char *kwnames[] = {
10124 NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (wxPCXHandler *)new wxPCXHandler();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10143 PyObject *obj;
10144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10145 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10146 Py_INCREF(obj);
10147 return Py_BuildValue((char *)"");
10148}
10149static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxJPEGHandler *result;
10152 char *kwnames[] = {
10153 NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (wxJPEGHandler *)new wxJPEGHandler();
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10165 return resultobj;
10166 fail:
10167 return NULL;
10168}
10169
10170
10171static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10172 PyObject *obj;
10173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10174 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10175 Py_INCREF(obj);
10176 return Py_BuildValue((char *)"");
10177}
10178static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxPNMHandler *result;
10181 char *kwnames[] = {
10182 NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (wxPNMHandler *)new wxPNMHandler();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10194 return resultobj;
10195 fail:
10196 return NULL;
10197}
10198
10199
10200static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10201 PyObject *obj;
10202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10203 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10204 Py_INCREF(obj);
10205 return Py_BuildValue((char *)"");
10206}
10207static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxXPMHandler *result;
10210 char *kwnames[] = {
10211 NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (wxXPMHandler *)new wxXPMHandler();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10223 return resultobj;
10224 fail:
10225 return NULL;
10226}
10227
10228
10229static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10230 PyObject *obj;
10231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10232 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10233 Py_INCREF(obj);
10234 return Py_BuildValue((char *)"");
10235}
10236static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxTIFFHandler *result;
10239 char *kwnames[] = {
10240 NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = (wxTIFFHandler *)new wxTIFFHandler();
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10252 return resultobj;
10253 fail:
10254 return NULL;
10255}
10256
10257
10258static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10259 PyObject *obj;
10260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10261 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10262 Py_INCREF(obj);
10263 return Py_BuildValue((char *)"");
10264}
10265static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10266 PyObject *resultobj;
10267 wxEvtHandler *result;
10268 char *kwnames[] = {
10269 NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (wxEvtHandler *)new wxEvtHandler();
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 resultobj = wxPyMake_wxObject(result);
10282 }
10283 return resultobj;
10284 fail:
10285 return NULL;
10286}
10287
10288
10289static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10292 wxEvtHandler *result;
10293 PyObject * obj0 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 {
10308 resultobj = wxPyMake_wxObject(result);
10309 }
10310 return resultobj;
10311 fail:
10312 return NULL;
10313}
10314
10315
10316static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject *resultobj;
10318 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10319 wxEvtHandler *result;
10320 PyObject * obj0 = 0 ;
10321 char *kwnames[] = {
10322 (char *) "self", NULL
10323 };
10324
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10330
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 {
10335 resultobj = wxPyMake_wxObject(result);
10336 }
10337 return resultobj;
10338 fail:
10339 return NULL;
10340}
10341
10342
10343static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10346 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self",(char *) "handler", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetNextHandler(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367}
10368
10369
10370static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10373 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "handler", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->SetPreviousHandler(arg2);
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 Py_INCREF(Py_None); resultobj = Py_None;
10391 return resultobj;
10392 fail:
10393 return NULL;
10394}
10395
10396
10397static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10398 PyObject *resultobj;
10399 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10400 bool result;
10401 PyObject * obj0 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (bool)(arg1)->GetEvtHandlerEnabled();
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = PyInt_FromLong((long)result);
10416 return resultobj;
10417 fail:
10418 return NULL;
10419}
10420
10421
10422static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj;
10424 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10425 bool arg2 ;
10426 PyObject * obj0 = 0 ;
10427 PyObject * obj1 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self",(char *) "enabled", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10434 arg2 = PyInt_AsLong(obj1) ? true : false;
10435 if (PyErr_Occurred()) SWIG_fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 (arg1)->SetEvtHandlerEnabled(arg2);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 Py_INCREF(Py_None); resultobj = Py_None;
10444 return resultobj;
10445 fail:
10446 return NULL;
10447}
10448
10449
10450static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10453 wxEvent *arg2 = 0 ;
10454 bool result;
10455 PyObject * obj0 = 0 ;
10456 PyObject * obj1 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "event", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10464 if (arg2 == NULL) {
10465 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10466 }
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 result = (bool)(arg1)->ProcessEvent(*arg2);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 resultobj = PyInt_FromLong((long)result);
10475 return resultobj;
10476 fail:
10477 return NULL;
10478}
10479
10480
10481static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj;
10483 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10484 wxEvent *arg2 = 0 ;
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "event", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 if (arg2 == NULL) {
10495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->AddPendingEvent(*arg2);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 Py_INCREF(Py_None); resultobj = Py_None;
10505 return resultobj;
10506 fail:
10507 return NULL;
10508}
10509
10510
10511static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10512 PyObject *resultobj;
10513 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 (arg1)->ProcessPendingEvents();
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 Py_INCREF(Py_None); resultobj = Py_None;
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
10535static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10538 int arg2 ;
10539 int arg3 ;
10540 int arg4 ;
10541 PyObject *arg5 = (PyObject *) 0 ;
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj4 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10550 arg5 = obj4;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
10565static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10568 int arg2 ;
10569 int arg3 = (int) -1 ;
10570 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10571 bool result;
10572 PyObject * obj0 = 0 ;
10573 char *kwnames[] = {
10574 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 resultobj = PyInt_FromLong((long)result);
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
10593static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10596 PyObject *arg2 = (PyObject *) 0 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "_self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605 arg2 = obj1;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 wxEvtHandler__setOORInfo(arg1,arg2);
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 Py_INCREF(Py_None); resultobj = Py_None;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617}
10618
10619
10620static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10621 PyObject *obj;
10622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10623 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10624 Py_INCREF(obj);
10625 return Py_BuildValue((char *)"");
10626}
10627static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxEventType result;
10630 char *kwnames[] = {
10631 NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (wxEventType)wxNewEventType();
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 resultobj = PyInt_FromLong((long)result);
10643 return resultobj;
10644 fail:
10645 return NULL;
10646}
10647
10648
10649static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxEvent *arg1 = (wxEvent *) 0 ;
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 delete arg1;
10662
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 Py_INCREF(Py_None); resultobj = Py_None;
10667 return resultobj;
10668 fail:
10669 return NULL;
10670}
10671
10672
10673static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxEvent *arg1 = (wxEvent *) 0 ;
10676 wxEventType arg2 ;
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self",(char *) "typ", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 (arg1)->SetEventType(arg2);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 Py_INCREF(Py_None); resultobj = Py_None;
10692 return resultobj;
10693 fail:
10694 return NULL;
10695}
10696
10697
10698static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj;
10700 wxEvent *arg1 = (wxEvent *) 0 ;
10701 wxEventType result;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = PyInt_FromLong((long)result);
10717 return resultobj;
10718 fail:
10719 return NULL;
10720}
10721
10722
10723static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj;
10725 wxEvent *arg1 = (wxEvent *) 0 ;
10726 wxObject *result;
10727 PyObject * obj0 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 {
10742 resultobj = wxPyMake_wxObject(result);
10743 }
10744 return resultobj;
10745 fail:
10746 return NULL;
10747}
10748
10749
10750static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxEvent *arg1 = (wxEvent *) 0 ;
10753 wxObject *arg2 = (wxObject *) 0 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "obj", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 (arg1)->SetEventObject(arg2);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 Py_INCREF(Py_None); resultobj = Py_None;
10771 return resultobj;
10772 fail:
10773 return NULL;
10774}
10775
10776
10777static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxEvent *arg1 = (wxEvent *) 0 ;
10780 long result;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 resultobj = PyInt_FromLong((long)result);
10796 return resultobj;
10797 fail:
10798 return NULL;
10799}
10800
10801
10802static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxEvent *arg1 = (wxEvent *) 0 ;
10805 long arg2 = (long) 0 ;
10806 PyObject * obj0 = 0 ;
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "ts", NULL
10809 };
10810
10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 (arg1)->SetTimestamp(arg2);
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 Py_INCREF(Py_None); resultobj = Py_None;
10821 return resultobj;
10822 fail:
10823 return NULL;
10824}
10825
10826
10827static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject *resultobj;
10829 wxEvent *arg1 = (wxEvent *) 0 ;
10830 int result;
10831 PyObject * obj0 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (int)((wxEvent const *)arg1)->GetId();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = PyInt_FromLong((long)result);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849}
10850
10851
10852static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxEvent *arg1 = (wxEvent *) 0 ;
10855 int arg2 ;
10856 PyObject * obj0 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self",(char *) "Id", NULL
10859 };
10860
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
10862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 (arg1)->SetId(arg2);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 Py_INCREF(Py_None); resultobj = Py_None;
10871 return resultobj;
10872 fail:
10873 return NULL;
10874}
10875
10876
10877static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject *resultobj;
10879 wxEvent *arg1 = (wxEvent *) 0 ;
10880 bool result;
10881 PyObject * obj0 = 0 ;
10882 char *kwnames[] = {
10883 (char *) "self", NULL
10884 };
10885
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
10887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 resultobj = PyInt_FromLong((long)result);
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
10902static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxEvent *arg1 = (wxEvent *) 0 ;
423f194a 10905 bool arg2 = (bool) True ;
d14a1e28
RD
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 char *kwnames[] = {
10909 (char *) "self",(char *) "skip", NULL
10910 };
10911
10912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
10913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10914 if (obj1) {
10915 arg2 = PyInt_AsLong(obj1) ? true : false;
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 (arg1)->Skip(arg2);
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 Py_INCREF(Py_None); resultobj = Py_None;
10926 return resultobj;
10927 fail:
10928 return NULL;
10929}
10930
10931
10932static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 wxEvent *arg1 = (wxEvent *) 0 ;
10935 bool result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
10942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = (bool)((wxEvent const *)arg1)->GetSkipped();
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = PyInt_FromLong((long)result);
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
10957static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxEvent *arg1 = (wxEvent *) 0 ;
10960 bool result;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = PyInt_FromLong((long)result);
10976 return resultobj;
10977 fail:
10978 return NULL;
10979}
10980
10981
10982static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxEvent *arg1 = (wxEvent *) 0 ;
10985 int result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (int)(arg1)->StopPropagation();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = PyInt_FromLong((long)result);
11001 return resultobj;
11002 fail:
11003 return NULL;
11004}
11005
11006
11007static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxEvent *arg1 = (wxEvent *) 0 ;
11010 int arg2 ;
11011 PyObject * obj0 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self",(char *) "propagationLevel", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 (arg1)->ResumePropagation(arg2);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 Py_INCREF(Py_None); resultobj = Py_None;
11026 return resultobj;
11027 fail:
11028 return NULL;
11029}
11030
11031
11032static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj;
11034 wxEvent *arg1 = (wxEvent *) 0 ;
11035 wxEvent *result;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 result = (wxEvent *)(arg1)->Clone();
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11051 return resultobj;
11052 fail:
11053 return NULL;
11054}
11055
11056
11057static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11058 PyObject *obj;
11059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11060 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11061 Py_INCREF(obj);
11062 return Py_BuildValue((char *)"");
11063}
11064static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxEvent *arg1 = 0 ;
11067 wxPropagationDisabler *result;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "event", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11075 if (arg1 == NULL) {
11076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11077 }
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11086 return resultobj;
11087 fail:
11088 return NULL;
11089}
11090
11091
11092static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11095 PyObject * obj0 = 0 ;
11096 char *kwnames[] = {
11097 (char *) "self", NULL
11098 };
11099
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11102 {
11103 PyThreadState* __tstate = wxPyBeginAllowThreads();
11104 delete arg1;
11105
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 Py_INCREF(Py_None); resultobj = Py_None;
11110 return resultobj;
11111 fail:
11112 return NULL;
11113}
11114
11115
11116static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11117 PyObject *obj;
11118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11119 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11120 Py_INCREF(obj);
11121 return Py_BuildValue((char *)"");
11122}
11123static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj;
11125 wxEvent *arg1 = 0 ;
11126 wxPropagateOnce *result;
11127 PyObject * obj0 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "event", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11134 if (arg1 == NULL) {
11135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
11151static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj;
11153 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11154 PyObject * obj0 = 0 ;
11155 char *kwnames[] = {
11156 (char *) "self", NULL
11157 };
11158
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 delete arg1;
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 }
11168 Py_INCREF(Py_None); resultobj = Py_None;
11169 return resultobj;
11170 fail:
11171 return NULL;
11172}
11173
11174
11175static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11176 PyObject *obj;
11177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11178 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11179 Py_INCREF(obj);
11180 return Py_BuildValue((char *)"");
11181}
11182static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11185 int arg2 = (int) 0 ;
11186 wxCommandEvent *result;
11187 char *kwnames[] = {
11188 (char *) "commandType",(char *) "winid", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11200 return resultobj;
11201 fail:
11202 return NULL;
11203}
11204
11205
11206static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11207 PyObject *resultobj;
11208 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11209 int result;
11210 PyObject * obj0 = 0 ;
11211 char *kwnames[] = {
11212 (char *) "self", NULL
11213 };
11214
11215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 resultobj = PyInt_FromLong((long)result);
11225 return resultobj;
11226 fail:
11227 return NULL;
11228}
11229
11230
11231static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11234 wxString *arg2 = 0 ;
423f194a 11235 bool temp2 = False ;
d14a1e28
RD
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "s", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11244 {
11245 arg2 = wxString_in_helper(obj1);
11246 if (arg2 == NULL) SWIG_fail;
423f194a 11247 temp2 = True;
d14a1e28
RD
11248 }
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 (arg1)->SetString((wxString const &)*arg2);
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 Py_INCREF(Py_None); resultobj = Py_None;
11257 {
11258 if (temp2)
11259 delete arg2;
11260 }
11261 return resultobj;
11262 fail:
11263 {
11264 if (temp2)
11265 delete arg2;
11266 }
11267 return NULL;
11268}
11269
11270
11271static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11272 PyObject *resultobj;
11273 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11274 wxString result;
11275 PyObject * obj0 = 0 ;
11276 char *kwnames[] = {
11277 (char *) "self", NULL
11278 };
11279
11280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
11281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = ((wxCommandEvent const *)arg1)->GetString();
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 {
11290#if wxUSE_UNICODE
11291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11292#else
11293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11294#endif
11295 }
11296 return resultobj;
11297 fail:
11298 return NULL;
11299}
11300
11301
11302static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11303 PyObject *resultobj;
11304 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11305 bool result;
11306 PyObject * obj0 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = PyInt_FromLong((long)result);
11321 return resultobj;
11322 fail:
11323 return NULL;
11324}
11325
11326
11327static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11330 bool result;
11331 PyObject * obj0 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = PyInt_FromLong((long)result);
11346 return resultobj;
11347 fail:
11348 return NULL;
11349}
11350
11351
11352static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj;
11354 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11355 long arg2 ;
11356 PyObject * obj0 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self",(char *) "extraLong", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 (arg1)->SetExtraLong(arg2);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 Py_INCREF(Py_None); resultobj = Py_None;
11371 return resultobj;
11372 fail:
11373 return NULL;
11374}
11375
11376
11377static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11380 long result;
11381 PyObject * obj0 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 resultobj = PyInt_FromLong((long)result);
11396 return resultobj;
11397 fail:
11398 return NULL;
11399}
11400
11401
11402static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11403 PyObject *resultobj;
11404 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11405 int arg2 ;
11406 PyObject * obj0 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self",(char *) "i", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 (arg1)->SetInt(arg2);
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 Py_INCREF(Py_None); resultobj = Py_None;
11421 return resultobj;
11422 fail:
11423 return NULL;
11424}
11425
11426
11427static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj;
11429 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11430 long result;
11431 PyObject * obj0 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 resultobj = PyInt_FromLong((long)result);
11446 return resultobj;
11447 fail:
11448 return NULL;
11449}
11450
11451
11452static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11455 wxEvent *result;
11456 PyObject * obj0 = 0 ;
11457 char *kwnames[] = {
11458 (char *) "self", NULL
11459 };
11460
11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11471 return resultobj;
11472 fail:
11473 return NULL;
11474}
11475
11476
11477static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11478 PyObject *obj;
11479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11480 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11481 Py_INCREF(obj);
11482 return Py_BuildValue((char *)"");
11483}
11484static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj;
11486 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11487 int arg2 = (int) 0 ;
11488 wxNotifyEvent *result;
11489 char *kwnames[] = {
11490 (char *) "commandType",(char *) "winid", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11494 {
11495 PyThreadState* __tstate = wxPyBeginAllowThreads();
11496 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11497
11498 wxPyEndAllowThreads(__tstate);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 }
11501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11502 return resultobj;
11503 fail:
11504 return NULL;
11505}
11506
11507
11508static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj;
11510 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11511 PyObject * obj0 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 (arg1)->Veto();
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 Py_INCREF(Py_None); resultobj = Py_None;
11526 return resultobj;
11527 fail:
11528 return NULL;
11529}
11530
11531
11532static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject *resultobj;
11534 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11535 PyObject * obj0 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "self", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 (arg1)->Allow();
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 Py_INCREF(Py_None); resultobj = Py_None;
11550 return resultobj;
11551 fail:
11552 return NULL;
11553}
11554
11555
11556static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11557 PyObject *resultobj;
11558 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11559 bool result;
11560 PyObject * obj0 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "self", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (bool)(arg1)->IsAllowed();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 resultobj = PyInt_FromLong((long)result);
11575 return resultobj;
11576 fail:
11577 return NULL;
11578}
11579
11580
11581static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11582 PyObject *obj;
11583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11585 Py_INCREF(obj);
11586 return Py_BuildValue((char *)"");
11587}
11588static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11589 PyObject *resultobj;
11590 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11591 int arg2 = (int) 0 ;
11592 int arg3 = (int) 0 ;
11593 int arg4 = (int) 0 ;
11594 wxScrollEvent *result;
11595 char *kwnames[] = {
11596 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11597 };
11598
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
11607 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11608 return resultobj;
11609 fail:
11610 return NULL;
11611}
11612
11613
11614static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11615 PyObject *resultobj;
11616 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11617 int result;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = PyInt_FromLong((long)result);
11633 return resultobj;
11634 fail:
11635 return NULL;
11636}
11637
11638
11639static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11642 int result;
11643 PyObject * obj0 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 resultobj = PyInt_FromLong((long)result);
11658 return resultobj;
11659 fail:
11660 return NULL;
11661}
11662
11663
11664static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11667 int arg2 ;
11668 PyObject * obj0 = 0 ;
11669 char *kwnames[] = {
11670 (char *) "self",(char *) "orient", NULL
11671 };
11672
11673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 (arg1)->SetOrientation(arg2);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 Py_INCREF(Py_None); resultobj = Py_None;
11683 return resultobj;
11684 fail:
11685 return NULL;
11686}
11687
11688
11689static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11690 PyObject *resultobj;
11691 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11692 int arg2 ;
11693 PyObject * obj0 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self",(char *) "pos", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 (arg1)->SetPosition(arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 Py_INCREF(Py_None); resultobj = Py_None;
11708 return resultobj;
11709 fail:
11710 return NULL;
11711}
11712
11713
11714static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11715 PyObject *obj;
11716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11718 Py_INCREF(obj);
11719 return Py_BuildValue((char *)"");
11720}
11721static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11722 PyObject *resultobj;
11723 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11724 int arg2 = (int) 0 ;
11725 int arg3 = (int) 0 ;
11726 wxScrollWinEvent *result;
11727 char *kwnames[] = {
11728 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11740 return resultobj;
11741 fail:
11742 return NULL;
11743}
11744
11745
11746static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11749 int result;
11750 PyObject * obj0 = 0 ;
11751 char *kwnames[] = {
11752 (char *) "self", NULL
11753 };
11754
11755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 resultobj = PyInt_FromLong((long)result);
11765 return resultobj;
11766 fail:
11767 return NULL;
11768}
11769
11770
11771static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11774 int result;
11775 PyObject * obj0 = 0 ;
11776 char *kwnames[] = {
11777 (char *) "self", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 resultobj = PyInt_FromLong((long)result);
11790 return resultobj;
11791 fail:
11792 return NULL;
11793}
11794
11795
11796static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11799 int arg2 ;
11800 PyObject * obj0 = 0 ;
11801 char *kwnames[] = {
11802 (char *) "self",(char *) "orient", NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 (arg1)->SetOrientation(arg2);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 Py_INCREF(Py_None); resultobj = Py_None;
11815 return resultobj;
11816 fail:
11817 return NULL;
11818}
11819
11820
11821static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11824 int arg2 ;
11825 PyObject * obj0 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "self",(char *) "pos", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 (arg1)->SetPosition(arg2);
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 Py_INCREF(Py_None); resultobj = Py_None;
11840 return resultobj;
11841 fail:
11842 return NULL;
11843}
11844
11845
11846static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11847 PyObject *obj;
11848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11849 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11850 Py_INCREF(obj);
11851 return Py_BuildValue((char *)"");
11852}
11853static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj;
11855 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11856 wxMouseEvent *result;
11857 char *kwnames[] = {
11858 (char *) "mouseType", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxMouseEvent *)new wxMouseEvent(arg1);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 {
11870 resultobj = wxPyMake_wxObject(result);
11871 }
11872 return resultobj;
11873 fail:
11874 return NULL;
11875}
11876
11877
11878static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11879 PyObject *resultobj;
11880 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11881 bool result;
11882 PyObject * obj0 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
11892
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 resultobj = PyInt_FromLong((long)result);
11897 return resultobj;
11898 fail:
11899 return NULL;
11900}
11901
11902
11903static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11906 int arg2 = (int) wxMOUSE_BTN_ANY ;
11907 bool result;
11908 PyObject * obj0 = 0 ;
11909 char *kwnames[] = {
11910 (char *) "self",(char *) "but", NULL
11911 };
11912
11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
11914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = PyInt_FromLong((long)result);
11923 return resultobj;
11924 fail:
11925 return NULL;
11926}
11927
11928
11929static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11932 int arg2 = (int) wxMOUSE_BTN_ANY ;
11933 bool result;
11934 PyObject * obj0 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self",(char *) "but", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
11940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = PyInt_FromLong((long)result);
11949 return resultobj;
11950 fail:
11951 return NULL;
11952}
11953
11954
11955static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj;
11957 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11958 int arg2 = (int) wxMOUSE_BTN_ANY ;
11959 bool result;
11960 PyObject * obj0 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self",(char *) "but", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
11966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = PyInt_FromLong((long)result);
11975 return resultobj;
11976 fail:
11977 return NULL;
11978}
11979
11980
11981static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11984 int arg2 ;
11985 bool result;
11986 PyObject * obj0 = 0 ;
11987 char *kwnames[] = {
11988 (char *) "self",(char *) "but", NULL
11989 };
11990
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
11992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
11995 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
12000 resultobj = PyInt_FromLong((long)result);
12001 return resultobj;
12002 fail:
12003 return NULL;
12004}
12005
12006
12007static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12010 int arg2 ;
12011 bool result;
12012 PyObject * obj0 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self",(char *) "but", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 resultobj = PyInt_FromLong((long)result);
12027 return resultobj;
12028 fail:
12029 return NULL;
12030}
12031
12032
12033static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12036 int result;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = PyInt_FromLong((long)result);
12052 return resultobj;
12053 fail:
12054 return NULL;
12055}
12056
12057
12058static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12061 bool result;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 resultobj = PyInt_FromLong((long)result);
12077 return resultobj;
12078 fail:
12079 return NULL;
12080}
12081
12082
12083static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12086 bool result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = PyInt_FromLong((long)result);
12102 return resultobj;
12103 fail:
12104 return NULL;
12105}
12106
12107
12108static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12111 bool result;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = PyInt_FromLong((long)result);
12127 return resultobj;
12128 fail:
12129 return NULL;
12130}
12131
12132
12133static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12136 bool result;
12137 PyObject * obj0 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 resultobj = PyInt_FromLong((long)result);
12152 return resultobj;
12153 fail:
12154 return NULL;
12155}
12156
12157
12158static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12161 bool result;
12162 PyObject * obj0 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = PyInt_FromLong((long)result);
12177 return resultobj;
12178 fail:
12179 return NULL;
12180}
12181
12182
12183static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12186 bool result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 resultobj = PyInt_FromLong((long)result);
12202 return resultobj;
12203 fail:
12204 return NULL;
12205}
12206
12207
12208static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12211 bool result;
12212 PyObject * obj0 = 0 ;
12213 char *kwnames[] = {
12214 (char *) "self", NULL
12215 };
12216
12217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 resultobj = PyInt_FromLong((long)result);
12227 return resultobj;
12228 fail:
12229 return NULL;
12230}
12231
12232
12233static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12236 bool result;
12237 PyObject * obj0 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12247
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = PyInt_FromLong((long)result);
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
12258static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj;
12260 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12261 bool result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 resultobj = PyInt_FromLong((long)result);
12277 return resultobj;
12278 fail:
12279 return NULL;
12280}
12281
12282
12283static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12286 bool result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 resultobj = PyInt_FromLong((long)result);
12302 return resultobj;
12303 fail:
12304 return NULL;
12305}
12306
12307
12308static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12311 bool result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = PyInt_FromLong((long)result);
12327 return resultobj;
12328 fail:
12329 return NULL;
12330}
12331
12332
12333static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12336 bool result;
12337 PyObject * obj0 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 resultobj = PyInt_FromLong((long)result);
12352 return resultobj;
12353 fail:
12354 return NULL;
12355}
12356
12357
12358static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj;
12360 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12361 bool result;
12362 PyObject * obj0 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 resultobj = PyInt_FromLong((long)result);
12377 return resultobj;
12378 fail:
12379 return NULL;
12380}
12381
12382
12383static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12386 bool result;
12387 PyObject * obj0 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "self", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 result = (bool)(arg1)->LeftIsDown();
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 resultobj = PyInt_FromLong((long)result);
12402 return resultobj;
12403 fail:
12404 return NULL;
12405}
12406
12407
12408static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12411 bool result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 result = (bool)(arg1)->MiddleIsDown();
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = PyInt_FromLong((long)result);
12427 return resultobj;
12428 fail:
12429 return NULL;
12430}
12431
12432
12433static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12436 bool result;
12437 PyObject * obj0 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12444 {
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 result = (bool)(arg1)->RightIsDown();
12447
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = PyInt_FromLong((long)result);
12452 return resultobj;
12453 fail:
12454 return NULL;
12455}
12456
12457
12458static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12461 bool result;
12462 PyObject * obj0 = 0 ;
12463 char *kwnames[] = {
12464 (char *) "self", NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 resultobj = PyInt_FromLong((long)result);
12477 return resultobj;
12478 fail:
12479 return NULL;
12480}
12481
12482
12483static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12484 PyObject *resultobj;
12485 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12486 bool result;
12487 PyObject * obj0 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = PyInt_FromLong((long)result);
12502 return resultobj;
12503 fail:
12504 return NULL;
12505}
12506
12507
12508static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12511 bool result;
12512 PyObject * obj0 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = PyInt_FromLong((long)result);
12527 return resultobj;
12528 fail:
12529 return NULL;
12530}
12531
12532
12533static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12536 bool result;
12537 PyObject * obj0 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "self", NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 resultobj = PyInt_FromLong((long)result);
12552 return resultobj;
12553 fail:
12554 return NULL;
12555}
12556
12557
12558static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12561 wxPoint result;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (arg1)->GetPosition();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 {
12577 wxPoint * resultptr;
12578 resultptr = new wxPoint((wxPoint &) result);
12579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12580 }
12581 return resultobj;
12582 fail:
12583 return NULL;
12584}
12585
12586
12587static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12590 long *arg2 = (long *) 0 ;
12591 long *arg3 = (long *) 0 ;
12592 long temp2 ;
12593 long temp3 ;
12594 PyObject * obj0 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self", NULL
12597 };
12598
12599 arg2 = &temp2;
12600 arg3 = &temp3;
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 (arg1)->GetPosition(arg2,arg3);
12606
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 Py_INCREF(Py_None); resultobj = Py_None;
12611 {
12612 PyObject *o = PyInt_FromLong((long) (*arg2));
12613 resultobj = t_output_helper(resultobj,o);
12614 }
12615 {
12616 PyObject *o = PyInt_FromLong((long) (*arg3));
12617 resultobj = t_output_helper(resultobj,o);
12618 }
12619 return resultobj;
12620 fail:
12621 return NULL;
12622}
12623
12624
12625static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12626 PyObject *resultobj;
12627 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12628 wxDC *arg2 = 0 ;
12629 wxPoint result;
12630 PyObject * obj0 = 0 ;
12631 PyObject * obj1 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self",(char *) "dc", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12639 if (arg2 == NULL) {
12640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12641 }
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 {
12650 wxPoint * resultptr;
12651 resultptr = new wxPoint((wxPoint &) result);
12652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12653 }
12654 return resultobj;
12655 fail:
12656 return NULL;
12657}
12658
12659
12660static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12661 PyObject *resultobj;
12662 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12663 int result;
d14a1e28
RD
12664 PyObject * obj0 = 0 ;
12665 char *kwnames[] = {
12666 (char *) "self", NULL
12667 };
12668
12669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 12673 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 resultobj = PyInt_FromLong((long)result);
12679 return resultobj;
12680 fail:
12681 return NULL;
12682}
12683
12684
12685static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12688 int result;
d14a1e28
RD
12689 PyObject * obj0 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self", NULL
12692 };
12693
12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 12698 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 resultobj = PyInt_FromLong((long)result);
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
12710static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12713 int result;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 resultobj = PyInt_FromLong((long)result);
12729 return resultobj;
12730 fail:
12731 return NULL;
12732}
12733
12734
12735static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12738 int result;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = PyInt_FromLong((long)result);
12754 return resultobj;
12755 fail:
12756 return NULL;
12757}
12758
12759
12760static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12763 int result;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = PyInt_FromLong((long)result);
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
12785static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12788 bool result;
12789 PyObject * obj0 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "self", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12799
12800 wxPyEndAllowThreads(__tstate);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
12803 resultobj = PyInt_FromLong((long)result);
12804 return resultobj;
12805 fail:
12806 return NULL;
12807}
12808
12809
12810static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12811 PyObject *resultobj;
12812 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12813 int arg2 ;
d14a1e28
RD
12814 PyObject * obj0 = 0 ;
12815 char *kwnames[] = {
12816 (char *) "self",(char *) "m_x", NULL
12817 };
12818
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12821 if (arg1) (arg1)->m_x = arg2;
12822
12823 Py_INCREF(Py_None); resultobj = Py_None;
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
12830static PyObject *_wrap_MouseEvent_m_x_get(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_m_x_get",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 12841 result = (int) ((arg1)->m_x);
d14a1e28
RD
12842
12843 resultobj = PyInt_FromLong((long)result);
12844 return resultobj;
12845 fail:
12846 return NULL;
12847}
12848
12849
12850static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj;
12852 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12853 int arg2 ;
d14a1e28
RD
12854 PyObject * obj0 = 0 ;
12855 char *kwnames[] = {
12856 (char *) "self",(char *) "m_y", NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
12860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12861 if (arg1) (arg1)->m_y = arg2;
12862
12863 Py_INCREF(Py_None); resultobj = Py_None;
12864 return resultobj;
12865 fail:
12866 return NULL;
12867}
12868
12869
12870static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12871 PyObject *resultobj;
12872 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 12873 int result;
d14a1e28
RD
12874 PyObject * obj0 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 12881 result = (int) ((arg1)->m_y);
d14a1e28
RD
12882
12883 resultobj = PyInt_FromLong((long)result);
12884 return resultobj;
12885 fail:
12886 return NULL;
12887}
12888
12889
12890static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj;
12892 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12893 bool arg2 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self",(char *) "m_leftDown", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 arg2 = PyInt_AsLong(obj1) ? true : false;
12903 if (PyErr_Occurred()) SWIG_fail;
12904 if (arg1) (arg1)->m_leftDown = arg2;
12905
12906 Py_INCREF(Py_None); resultobj = Py_None;
12907 return resultobj;
12908 fail:
12909 return NULL;
12910}
12911
12912
12913static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12916 bool result;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12924 result = (bool) ((arg1)->m_leftDown);
12925
12926 resultobj = PyInt_FromLong((long)result);
12927 return resultobj;
12928 fail:
12929 return NULL;
12930}
12931
12932
12933static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12936 bool arg2 ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self",(char *) "m_middleDown", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12945 arg2 = PyInt_AsLong(obj1) ? true : false;
12946 if (PyErr_Occurred()) SWIG_fail;
12947 if (arg1) (arg1)->m_middleDown = arg2;
12948
12949 Py_INCREF(Py_None); resultobj = Py_None;
12950 return resultobj;
12951 fail:
12952 return NULL;
12953}
12954
12955
12956static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj;
12958 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12959 bool result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
12966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12967 result = (bool) ((arg1)->m_middleDown);
12968
12969 resultobj = PyInt_FromLong((long)result);
12970 return resultobj;
12971 fail:
12972 return NULL;
12973}
12974
12975
12976static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj;
12978 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12979 bool arg2 ;
12980 PyObject * obj0 = 0 ;
12981 PyObject * obj1 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "self",(char *) "m_rightDown", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
12987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12988 arg2 = PyInt_AsLong(obj1) ? true : false;
12989 if (PyErr_Occurred()) SWIG_fail;
12990 if (arg1) (arg1)->m_rightDown = arg2;
12991
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13002 bool result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13010 result = (bool) ((arg1)->m_rightDown);
13011
13012 resultobj = PyInt_FromLong((long)result);
13013 return resultobj;
13014 fail:
13015 return NULL;
13016}
13017
13018
13019static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13022 bool arg2 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "m_controlDown", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13031 arg2 = PyInt_AsLong(obj1) ? true : false;
13032 if (PyErr_Occurred()) SWIG_fail;
13033 if (arg1) (arg1)->m_controlDown = arg2;
13034
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039}
13040
13041
13042static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13045 bool result;
13046 PyObject * obj0 = 0 ;
13047 char *kwnames[] = {
13048 (char *) "self", NULL
13049 };
13050
13051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13053 result = (bool) ((arg1)->m_controlDown);
13054
13055 resultobj = PyInt_FromLong((long)result);
13056 return resultobj;
13057 fail:
13058 return NULL;
13059}
13060
13061
13062static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13065 bool arg2 ;
13066 PyObject * obj0 = 0 ;
13067 PyObject * obj1 = 0 ;
13068 char *kwnames[] = {
13069 (char *) "self",(char *) "m_shiftDown", NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13074 arg2 = PyInt_AsLong(obj1) ? true : false;
13075 if (PyErr_Occurred()) SWIG_fail;
13076 if (arg1) (arg1)->m_shiftDown = arg2;
13077
13078 Py_INCREF(Py_None); resultobj = Py_None;
13079 return resultobj;
13080 fail:
13081 return NULL;
13082}
13083
13084
13085static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13088 bool result;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13096 result = (bool) ((arg1)->m_shiftDown);
13097
13098 resultobj = PyInt_FromLong((long)result);
13099 return resultobj;
13100 fail:
13101 return NULL;
13102}
13103
13104
13105static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13108 bool arg2 ;
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self",(char *) "m_altDown", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13117 arg2 = PyInt_AsLong(obj1) ? true : false;
13118 if (PyErr_Occurred()) SWIG_fail;
13119 if (arg1) (arg1)->m_altDown = arg2;
13120
13121 Py_INCREF(Py_None); resultobj = Py_None;
13122 return resultobj;
13123 fail:
13124 return NULL;
13125}
13126
13127
13128static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13129 PyObject *resultobj;
13130 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13131 bool result;
13132 PyObject * obj0 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13139 result = (bool) ((arg1)->m_altDown);
13140
13141 resultobj = PyInt_FromLong((long)result);
13142 return resultobj;
13143 fail:
13144 return NULL;
13145}
13146
13147
13148static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13151 bool arg2 ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "self",(char *) "m_metaDown", NULL
13156 };
13157
13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13160 arg2 = PyInt_AsLong(obj1) ? true : false;
13161 if (PyErr_Occurred()) SWIG_fail;
13162 if (arg1) (arg1)->m_metaDown = arg2;
13163
13164 Py_INCREF(Py_None); resultobj = Py_None;
13165 return resultobj;
13166 fail:
13167 return NULL;
13168}
13169
13170
13171static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13174 bool result;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13182 result = (bool) ((arg1)->m_metaDown);
13183
13184 resultobj = PyInt_FromLong((long)result);
13185 return resultobj;
13186 fail:
13187 return NULL;
13188}
13189
13190
13191static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13194 int arg2 ;
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self",(char *) "m_wheelRotation", NULL
13198 };
13199
13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13202 if (arg1) (arg1)->m_wheelRotation = arg2;
13203
13204 Py_INCREF(Py_None); resultobj = Py_None;
13205 return resultobj;
13206 fail:
13207 return NULL;
13208}
13209
13210
13211static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13212 PyObject *resultobj;
13213 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13214 int result;
13215 PyObject * obj0 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "self", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13222 result = (int) ((arg1)->m_wheelRotation);
13223
13224 resultobj = PyInt_FromLong((long)result);
13225 return resultobj;
13226 fail:
13227 return NULL;
13228}
13229
13230
13231static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13234 int arg2 ;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "m_wheelDelta", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13242 if (arg1) (arg1)->m_wheelDelta = arg2;
13243
13244 Py_INCREF(Py_None); resultobj = Py_None;
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
13251static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13254 int result;
13255 PyObject * obj0 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13262 result = (int) ((arg1)->m_wheelDelta);
13263
13264 resultobj = PyInt_FromLong((long)result);
13265 return resultobj;
13266 fail:
13267 return NULL;
13268}
13269
13270
13271static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13274 int arg2 ;
13275 PyObject * obj0 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "m_linesPerAction", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13282 if (arg1) (arg1)->m_linesPerAction = arg2;
13283
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
13291static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13294 int result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13302 result = (int) ((arg1)->m_linesPerAction);
13303
13304 resultobj = PyInt_FromLong((long)result);
13305 return resultobj;
13306 fail:
13307 return NULL;
13308}
13309
13310
13311static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13312 PyObject *obj;
13313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13314 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13315 Py_INCREF(obj);
13316 return Py_BuildValue((char *)"");
13317}
13318static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
423f194a
RD
13320 int arg1 = (int) 0 ;
13321 int arg2 = (int) 0 ;
d14a1e28
RD
13322 wxSetCursorEvent *result;
13323 char *kwnames[] = {
13324 (char *) "x",(char *) "y", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13336 return resultobj;
13337 fail:
13338 return NULL;
13339}
13340
13341
13342static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 13345 int result;
d14a1e28
RD
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13355 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = PyInt_FromLong((long)result);
13361 return resultobj;
13362 fail:
13363 return NULL;
13364}
13365
13366
13367static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 13370 int result;
d14a1e28
RD
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13380 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
13381
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 resultobj = PyInt_FromLong((long)result);
13386 return resultobj;
13387 fail:
13388 return NULL;
13389}
13390
13391
13392static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj;
13394 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13395 wxCursor *arg2 = 0 ;
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self",(char *) "cursor", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13405 if (arg2 == NULL) {
13406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->SetCursor((wxCursor const &)*arg2);
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 Py_INCREF(Py_None); resultobj = Py_None;
13416 return resultobj;
13417 fail:
13418 return NULL;
13419}
13420
13421
13422static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13425 wxCursor *result;
13426 PyObject * obj0 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 {
13436 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13437 result = (wxCursor *) &_result_ref;
13438 }
13439
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13444 return resultobj;
13445 fail:
13446 return NULL;
13447}
13448
13449
13450static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj;
13452 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13453 bool result;
13454 PyObject * obj0 = 0 ;
13455 char *kwnames[] = {
13456 (char *) "self", NULL
13457 };
13458
13459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 resultobj = PyInt_FromLong((long)result);
13469 return resultobj;
13470 fail:
13471 return NULL;
13472}
13473
13474
13475static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13476 PyObject *obj;
13477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13478 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13479 Py_INCREF(obj);
13480 return Py_BuildValue((char *)"");
13481}
13482static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13485 wxKeyEvent *result;
13486 char *kwnames[] = {
13487 (char *) "keyType", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13499 return resultobj;
13500 fail:
13501 return NULL;
13502}
13503
13504
13505static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13508 bool result;
13509 PyObject * obj0 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 resultobj = PyInt_FromLong((long)result);
13524 return resultobj;
13525 fail:
13526 return NULL;
13527}
13528
13529
13530static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13533 bool result;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 resultobj = PyInt_FromLong((long)result);
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
13555static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13556 PyObject *resultobj;
13557 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13558 bool result;
13559 PyObject * obj0 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 resultobj = PyInt_FromLong((long)result);
13574 return resultobj;
13575 fail:
13576 return NULL;
13577}
13578
13579
13580static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13583 bool result;
13584 PyObject * obj0 = 0 ;
13585 char *kwnames[] = {
13586 (char *) "self", NULL
13587 };
13588
13589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 resultobj = PyInt_FromLong((long)result);
13599 return resultobj;
13600 fail:
13601 return NULL;
13602}
13603
13604
13605static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13608 bool result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 resultobj = PyInt_FromLong((long)result);
13624 return resultobj;
13625 fail:
13626 return NULL;
13627}
13628
13629
13630static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13633 int result;
13634 PyObject * obj0 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 resultobj = PyInt_FromLong((long)result);
13649 return resultobj;
13650 fail:
13651 return NULL;
13652}
13653
13654
13655static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13658 int result;
13659 PyObject * obj0 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "self", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 result = (int)wxKeyEvent_GetUniChar(arg1);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 resultobj = PyInt_FromLong((long)result);
13674 return resultobj;
13675 fail:
13676 return NULL;
13677}
13678
13679
13680static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13683 unsigned int result;
d14a1e28
RD
13684 PyObject * obj0 = 0 ;
13685 char *kwnames[] = {
13686 (char *) "self", NULL
13687 };
13688
13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13693 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
13694
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 resultobj = PyInt_FromLong((long)result);
13699 return resultobj;
13700 fail:
13701 return NULL;
13702}
13703
13704
13705static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13706 PyObject *resultobj;
13707 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13708 unsigned int result;
d14a1e28
RD
13709 PyObject * obj0 = 0 ;
13710 char *kwnames[] = {
13711 (char *) "self", NULL
13712 };
13713
13714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13718 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 resultobj = PyInt_FromLong((long)result);
13724 return resultobj;
13725 fail:
13726 return NULL;
13727}
13728
13729
13730static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13731 PyObject *resultobj;
13732 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13733 wxPoint result;
13734 PyObject * obj0 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (arg1)->GetPosition();
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 {
13749 wxPoint * resultptr;
13750 resultptr = new wxPoint((wxPoint &) result);
13751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13752 }
13753 return resultobj;
13754 fail:
13755 return NULL;
13756}
13757
13758
13759static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13762 long *arg2 = (long *) 0 ;
13763 long *arg3 = (long *) 0 ;
13764 long temp2 ;
13765 long temp3 ;
13766 PyObject * obj0 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "self", NULL
13769 };
13770
13771 arg2 = &temp2;
13772 arg3 = &temp3;
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 (arg1)->GetPosition(arg2,arg3);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 Py_INCREF(Py_None); resultobj = Py_None;
13783 {
13784 PyObject *o = PyInt_FromLong((long) (*arg2));
13785 resultobj = t_output_helper(resultobj,o);
13786 }
13787 {
13788 PyObject *o = PyInt_FromLong((long) (*arg3));
13789 resultobj = t_output_helper(resultobj,o);
13790 }
13791 return resultobj;
13792 fail:
13793 return NULL;
13794}
13795
13796
13797static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj;
13799 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13800 int result;
d14a1e28
RD
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13810 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 resultobj = PyInt_FromLong((long)result);
13816 return resultobj;
13817 fail:
13818 return NULL;
13819}
13820
13821
13822static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj;
13824 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13825 int result;
d14a1e28
RD
13826 PyObject * obj0 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 13835 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 resultobj = PyInt_FromLong((long)result);
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
13847static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13850 int arg2 ;
d14a1e28
RD
13851 PyObject * obj0 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "m_x", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13858 if (arg1) (arg1)->m_x = arg2;
13859
13860 Py_INCREF(Py_None); resultobj = Py_None;
13861 return resultobj;
13862 fail:
13863 return NULL;
13864}
13865
13866
13867static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj;
13869 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13870 int result;
d14a1e28
RD
13871 PyObject * obj0 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
13877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 13878 result = (int) ((arg1)->m_x);
d14a1e28
RD
13879
13880 resultobj = PyInt_FromLong((long)result);
13881 return resultobj;
13882 fail:
13883 return NULL;
13884}
13885
13886
13887static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13890 int arg2 ;
d14a1e28
RD
13891 PyObject * obj0 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self",(char *) "m_y", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
13897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13898 if (arg1) (arg1)->m_y = arg2;
13899
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904}
13905
13906
13907static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 13910 int result;
d14a1e28
RD
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 13918 result = (int) ((arg1)->m_y);
d14a1e28
RD
13919
13920 resultobj = PyInt_FromLong((long)result);
13921 return resultobj;
13922 fail:
13923 return NULL;
13924}
13925
13926
13927static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13930 long arg2 ;
13931 PyObject * obj0 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self",(char *) "m_keyCode", NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
13937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13938 if (arg1) (arg1)->m_keyCode = arg2;
13939
13940 Py_INCREF(Py_None); resultobj = Py_None;
13941 return resultobj;
13942 fail:
13943 return NULL;
13944}
13945
13946
13947static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13950 long result;
13951 PyObject * obj0 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13958 result = (long) ((arg1)->m_keyCode);
13959
13960 resultobj = PyInt_FromLong((long)result);
13961 return resultobj;
13962 fail:
13963 return NULL;
13964}
13965
13966
13967static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13970 bool arg2 ;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self",(char *) "m_controlDown", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13979 arg2 = PyInt_AsLong(obj1) ? true : false;
13980 if (PyErr_Occurred()) SWIG_fail;
13981 if (arg1) (arg1)->m_controlDown = arg2;
13982
13983 Py_INCREF(Py_None); resultobj = Py_None;
13984 return resultobj;
13985 fail:
13986 return NULL;
13987}
13988
13989
13990static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13993 bool result;
13994 PyObject * obj0 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 result = (bool) ((arg1)->m_controlDown);
14002
14003 resultobj = PyInt_FromLong((long)result);
14004 return resultobj;
14005 fail:
14006 return NULL;
14007}
14008
14009
14010static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject *resultobj;
14012 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14013 bool arg2 ;
14014 PyObject * obj0 = 0 ;
14015 PyObject * obj1 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "m_shiftDown", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 arg2 = PyInt_AsLong(obj1) ? true : false;
14023 if (PyErr_Occurred()) SWIG_fail;
14024 if (arg1) (arg1)->m_shiftDown = arg2;
14025
14026 Py_INCREF(Py_None); resultobj = Py_None;
14027 return resultobj;
14028 fail:
14029 return NULL;
14030}
14031
14032
14033static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj;
14035 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14036 bool result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "self", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14044 result = (bool) ((arg1)->m_shiftDown);
14045
14046 resultobj = PyInt_FromLong((long)result);
14047 return resultobj;
14048 fail:
14049 return NULL;
14050}
14051
14052
14053static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14056 bool arg2 ;
14057 PyObject * obj0 = 0 ;
14058 PyObject * obj1 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self",(char *) "m_altDown", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14065 arg2 = PyInt_AsLong(obj1) ? true : false;
14066 if (PyErr_Occurred()) SWIG_fail;
14067 if (arg1) (arg1)->m_altDown = arg2;
14068
14069 Py_INCREF(Py_None); resultobj = Py_None;
14070 return resultobj;
14071 fail:
14072 return NULL;
14073}
14074
14075
14076static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14079 bool result;
14080 PyObject * obj0 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14087 result = (bool) ((arg1)->m_altDown);
14088
14089 resultobj = PyInt_FromLong((long)result);
14090 return resultobj;
14091 fail:
14092 return NULL;
14093}
14094
14095
14096static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14099 bool arg2 ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "m_metaDown", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 arg2 = PyInt_AsLong(obj1) ? true : false;
14109 if (PyErr_Occurred()) SWIG_fail;
14110 if (arg1) (arg1)->m_metaDown = arg2;
14111
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116}
14117
14118
14119static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14122 bool result;
14123 PyObject * obj0 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14130 result = (bool) ((arg1)->m_metaDown);
14131
14132 resultobj = PyInt_FromLong((long)result);
14133 return resultobj;
14134 fail:
14135 return NULL;
14136}
14137
14138
14139static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14140 PyObject *resultobj;
14141 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14142 bool arg2 ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self",(char *) "m_scanCode", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14151 arg2 = PyInt_AsLong(obj1) ? true : false;
14152 if (PyErr_Occurred()) SWIG_fail;
14153 if (arg1) (arg1)->m_scanCode = arg2;
14154
14155 Py_INCREF(Py_None); resultobj = Py_None;
14156 return resultobj;
14157 fail:
14158 return NULL;
14159}
14160
14161
14162static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14165 bool result;
14166 PyObject * obj0 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14173 result = (bool) ((arg1)->m_scanCode);
14174
14175 resultobj = PyInt_FromLong((long)result);
14176 return resultobj;
14177 fail:
14178 return NULL;
14179}
14180
14181
14182static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14185 unsigned int arg2 ;
d14a1e28
RD
14186 PyObject * obj0 = 0 ;
14187 PyObject * obj1 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self",(char *) "m_rawCode", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14194 arg2 = (unsigned int) PyInt_AsLong(obj1);
d14a1e28
RD
14195 if (PyErr_Occurred()) SWIG_fail;
14196 if (arg1) (arg1)->m_rawCode = arg2;
14197
14198 Py_INCREF(Py_None); resultobj = Py_None;
14199 return resultobj;
14200 fail:
14201 return NULL;
14202}
14203
14204
14205static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14206 PyObject *resultobj;
14207 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14208 unsigned int result;
d14a1e28
RD
14209 PyObject * obj0 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14216 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28
RD
14217
14218 resultobj = PyInt_FromLong((long)result);
14219 return resultobj;
14220 fail:
14221 return NULL;
14222}
14223
14224
14225static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj;
14227 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14228 unsigned int arg2 ;
d14a1e28
RD
14229 PyObject * obj0 = 0 ;
14230 PyObject * obj1 = 0 ;
14231 char *kwnames[] = {
14232 (char *) "self",(char *) "m_rawFlags", NULL
14233 };
14234
14235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14237 arg2 = (unsigned int) PyInt_AsLong(obj1);
d14a1e28
RD
14238 if (PyErr_Occurred()) SWIG_fail;
14239 if (arg1) (arg1)->m_rawFlags = arg2;
14240
14241 Py_INCREF(Py_None); resultobj = Py_None;
14242 return resultobj;
14243 fail:
14244 return NULL;
14245}
14246
14247
14248static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14249 PyObject *resultobj;
14250 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 14251 unsigned int result;
d14a1e28
RD
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
423f194a 14259 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28
RD
14260
14261 resultobj = PyInt_FromLong((long)result);
14262 return resultobj;
14263 fail:
14264 return NULL;
14265}
14266
14267
14268static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14269 PyObject *obj;
14270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14271 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14272 Py_INCREF(obj);
14273 return Py_BuildValue((char *)"");
14274}
14275static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxSize const &arg1_defvalue = wxDefaultSize ;
14278 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14279 int arg2 = (int) 0 ;
14280 wxSizeEvent *result;
14281 wxSize temp1 ;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "sz",(char *) "winid", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14288 if (obj0) {
14289 {
14290 arg1 = &temp1;
14291 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14292 }
14293 }
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14302 return resultobj;
14303 fail:
14304 return NULL;
14305}
14306
14307
14308static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14311 wxSize result;
14312 PyObject * obj0 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = ((wxSizeEvent const *)arg1)->GetSize();
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 {
14327 wxSize * resultptr;
14328 resultptr = new wxSize((wxSize &) result);
14329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14330 }
14331 return resultobj;
14332 fail:
14333 return NULL;
14334}
14335
14336
14337static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14340 wxRect result;
14341 PyObject * obj0 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 result = ((wxSizeEvent const *)arg1)->GetRect();
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 {
14356 wxRect * resultptr;
14357 resultptr = new wxRect((wxRect &) result);
14358 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14359 }
14360 return resultobj;
14361 fail:
14362 return NULL;
14363}
14364
14365
14366static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14369 wxRect arg2 ;
14370 wxRect *argp2 ;
14371 PyObject * obj0 = 0 ;
14372 PyObject * obj1 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "self",(char *) "rect", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14379 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14380 arg2 = *argp2;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 (arg1)->SetRect(arg2);
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 Py_INCREF(Py_None); resultobj = Py_None;
14389 return resultobj;
14390 fail:
14391 return NULL;
14392}
14393
14394
14395static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14396 PyObject *resultobj;
14397 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14398 wxSize arg2 ;
14399 wxSize *argp2 ;
14400 PyObject * obj0 = 0 ;
14401 PyObject * obj1 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self",(char *) "size", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14408 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14409 arg2 = *argp2;
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 wxSizeEvent_SetSize(arg1,arg2);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 Py_INCREF(Py_None); resultobj = Py_None;
14418 return resultobj;
14419 fail:
14420 return NULL;
14421}
14422
14423
14424static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14427 wxSize *arg2 = (wxSize *) 0 ;
14428 PyObject * obj0 = 0 ;
14429 PyObject * obj1 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self",(char *) "m_size", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 if (arg1) (arg1)->m_size = *arg2;
14438
14439 Py_INCREF(Py_None); resultobj = Py_None;
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
14446static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14449 wxSize *result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457 result = (wxSize *)& ((arg1)->m_size);
14458
14459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14460 return resultobj;
14461 fail:
14462 return NULL;
14463}
14464
14465
14466static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14469 wxRect *arg2 = (wxRect *) 0 ;
14470 PyObject * obj0 = 0 ;
14471 PyObject * obj1 = 0 ;
14472 char *kwnames[] = {
14473 (char *) "self",(char *) "m_rect", NULL
14474 };
14475
14476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14479 if (arg1) (arg1)->m_rect = *arg2;
14480
14481 Py_INCREF(Py_None); resultobj = Py_None;
14482 return resultobj;
14483 fail:
14484 return NULL;
14485}
14486
14487
14488static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14491 wxRect *result;
14492 PyObject * obj0 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14499 result = (wxRect *)& ((arg1)->m_rect);
14500
14501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14502 return resultobj;
14503 fail:
14504 return NULL;
14505}
14506
14507
14508static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14509 PyObject *obj;
14510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14511 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14512 Py_INCREF(obj);
14513 return Py_BuildValue((char *)"");
14514}
14515static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj;
14517 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14518 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14519 int arg2 = (int) 0 ;
14520 wxMoveEvent *result;
14521 wxPoint temp1 ;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "pos",(char *) "winid", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14528 if (obj0) {
14529 {
14530 arg1 = &temp1;
14531 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14532 }
14533 }
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545}
14546
14547
14548static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14551 wxPoint result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = ((wxMoveEvent const *)arg1)->GetPosition();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 {
14567 wxPoint * resultptr;
14568 resultptr = new wxPoint((wxPoint &) result);
14569 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14570 }
14571 return resultobj;
14572 fail:
14573 return NULL;
14574}
14575
14576
14577static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14580 wxRect result;
14581 PyObject * obj0 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = ((wxMoveEvent const *)arg1)->GetRect();
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
14595 {
14596 wxRect * resultptr;
14597 resultptr = new wxRect((wxRect &) result);
14598 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14599 }
14600 return resultobj;
14601 fail:
14602 return NULL;
14603}
14604
14605
14606static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14609 wxRect arg2 ;
14610 wxRect *argp2 ;
14611 PyObject * obj0 = 0 ;
14612 PyObject * obj1 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self",(char *) "rect", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14619 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14620 arg2 = *argp2;
14621 {
14622 PyThreadState* __tstate = wxPyBeginAllowThreads();
14623 (arg1)->SetRect(arg2);
14624
14625 wxPyEndAllowThreads(__tstate);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 }
14628 Py_INCREF(Py_None); resultobj = Py_None;
14629 return resultobj;
14630 fail:
14631 return NULL;
14632}
14633
14634
14635static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14638 wxPoint arg2 ;
14639 wxPoint *argp2 ;
14640 PyObject * obj0 = 0 ;
14641 PyObject * obj1 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self",(char *) "pos", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14648 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14649 arg2 = *argp2;
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 wxMoveEvent_SetPosition(arg1,arg2);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 Py_INCREF(Py_None); resultobj = Py_None;
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
14664static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14667 wxPoint *arg2 = (wxPoint *) 0 ;
14668 PyObject * obj0 = 0 ;
14669 PyObject * obj1 = 0 ;
14670 char *kwnames[] = {
14671 (char *) "self",(char *) "m_pos", NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 if (arg1) (arg1)->m_pos = *arg2;
14678
14679 Py_INCREF(Py_None); resultobj = Py_None;
14680 return resultobj;
14681 fail:
14682 return NULL;
14683}
14684
14685
14686static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14689 wxPoint *result;
14690 PyObject * obj0 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14697 result = (wxPoint *)& ((arg1)->m_pos);
14698
14699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14700 return resultobj;
14701 fail:
14702 return NULL;
14703}
14704
14705
14706static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14709 wxRect *arg2 = (wxRect *) 0 ;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self",(char *) "m_rect", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14719 if (arg1) (arg1)->m_rect = *arg2;
14720
14721 Py_INCREF(Py_None); resultobj = Py_None;
14722 return resultobj;
14723 fail:
14724 return NULL;
14725}
14726
14727
14728static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj;
14730 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14731 wxRect *result;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14739 result = (wxRect *)& ((arg1)->m_rect);
14740
14741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14742 return resultobj;
14743 fail:
14744 return NULL;
14745}
14746
14747
14748static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14749 PyObject *obj;
14750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14751 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14752 Py_INCREF(obj);
14753 return Py_BuildValue((char *)"");
14754}
14755static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj;
14757 int arg1 = (int) 0 ;
14758 wxPaintEvent *result;
14759 char *kwnames[] = {
14760 (char *) "Id", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14772 return resultobj;
14773 fail:
14774 return NULL;
14775}
14776
14777
14778static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14779 PyObject *obj;
14780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14781 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14782 Py_INCREF(obj);
14783 return Py_BuildValue((char *)"");
14784}
14785static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14786 PyObject *resultobj;
14787 int arg1 = (int) 0 ;
14788 wxNcPaintEvent *result;
14789 char *kwnames[] = {
14790 (char *) "winid", NULL
14791 };
14792
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14802 return resultobj;
14803 fail:
14804 return NULL;
14805}
14806
14807
14808static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14809 PyObject *obj;
14810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14811 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14812 Py_INCREF(obj);
14813 return Py_BuildValue((char *)"");
14814}
14815static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14816 PyObject *resultobj;
14817 int arg1 = (int) 0 ;
14818 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14819 wxEraseEvent *result;
14820 PyObject * obj1 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "Id",(char *) "dc", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14826 if (obj1) {
14827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14828 }
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14837 return resultobj;
14838 fail:
14839 return NULL;
14840}
14841
14842
14843static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj;
14845 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14846 wxDC *result;
14847 PyObject * obj0 = 0 ;
14848 char *kwnames[] = {
14849 (char *) "self", NULL
14850 };
14851
14852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 {
14862 resultobj = wxPyMake_wxObject(result);
14863 }
14864 return resultobj;
14865 fail:
14866 return NULL;
14867}
14868
14869
14870static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
14871 PyObject *obj;
14872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14873 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
14874 Py_INCREF(obj);
14875 return Py_BuildValue((char *)"");
14876}
14877static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14878 PyObject *resultobj;
14879 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14880 int arg2 = (int) 0 ;
14881 wxFocusEvent *result;
14882 char *kwnames[] = {
14883 (char *) "type",(char *) "winid", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
14895 return resultobj;
14896 fail:
14897 return NULL;
14898}
14899
14900
14901static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14902 PyObject *resultobj;
14903 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14904 wxWindow *result;
14905 PyObject * obj0 = 0 ;
14906 char *kwnames[] = {
14907 (char *) "self", NULL
14908 };
14909
14910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 {
14920 resultobj = wxPyMake_wxObject(result);
14921 }
14922 return resultobj;
14923 fail:
14924 return NULL;
14925}
14926
14927
14928static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14931 wxWindow *arg2 = (wxWindow *) 0 ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self",(char *) "win", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 (arg1)->SetWindow(arg2);
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 Py_INCREF(Py_None); resultobj = Py_None;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
14955static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
14956 PyObject *obj;
14957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
14959 Py_INCREF(obj);
14960 return Py_BuildValue((char *)"");
14961}
14962static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxWindow *arg1 = (wxWindow *) NULL ;
14965 wxChildFocusEvent *result;
14966 PyObject * obj0 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "win", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
14972 if (obj0) {
14973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14974 }
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
14983 return resultobj;
14984 fail:
14985 return NULL;
14986}
14987
14988
14989static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
14992 wxWindow *result;
14993 PyObject * obj0 = 0 ;
14994 char *kwnames[] = {
14995 (char *) "self", NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 {
15008 resultobj = wxPyMake_wxObject(result);
15009 }
15010 return resultobj;
15011 fail:
15012 return NULL;
15013}
15014
15015
15016static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15017 PyObject *obj;
15018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15020 Py_INCREF(obj);
15021 return Py_BuildValue((char *)"");
15022}
15023static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 15026 bool arg2 = (bool) True ;
d14a1e28
RD
15027 int arg3 = (int) 0 ;
15028 wxActivateEvent *result;
15029 PyObject * obj1 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "type",(char *) "active",(char *) "Id", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15035 if (obj1) {
15036 arg2 = PyInt_AsLong(obj1) ? true : false;
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
15053static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15056 bool result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 resultobj = PyInt_FromLong((long)result);
15072 return resultobj;
15073 fail:
15074 return NULL;
15075}
15076
15077
15078static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15079 PyObject *obj;
15080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15081 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15082 Py_INCREF(obj);
15083 return Py_BuildValue((char *)"");
15084}
15085static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 int arg1 = (int) 0 ;
15088 wxInitDialogEvent *result;
15089 char *kwnames[] = {
15090 (char *) "Id", NULL
15091 };
15092
15093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15097
15098 wxPyEndAllowThreads(__tstate);
15099 if (PyErr_Occurred()) SWIG_fail;
15100 }
15101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15102 return resultobj;
15103 fail:
15104 return NULL;
15105}
15106
15107
15108static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15109 PyObject *obj;
15110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15111 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15112 Py_INCREF(obj);
15113 return Py_BuildValue((char *)"");
15114}
15115static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15118 int arg2 = (int) 0 ;
15119 wxMenu *arg3 = (wxMenu *) NULL ;
15120 wxMenuEvent *result;
15121 PyObject * obj2 = 0 ;
15122 char *kwnames[] = {
15123 (char *) "type",(char *) "winid",(char *) "menu", NULL
15124 };
15125
15126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15127 if (obj2) {
15128 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15138 return resultobj;
15139 fail:
15140 return NULL;
15141}
15142
15143
15144static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15147 int result;
15148 PyObject * obj0 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 resultobj = PyInt_FromLong((long)result);
15163 return resultobj;
15164 fail:
15165 return NULL;
15166}
15167
15168
15169static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15170 PyObject *resultobj;
15171 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15172 bool result;
15173 PyObject * obj0 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15180 {
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15183
15184 wxPyEndAllowThreads(__tstate);
15185 if (PyErr_Occurred()) SWIG_fail;
15186 }
15187 resultobj = PyInt_FromLong((long)result);
15188 return resultobj;
15189 fail:
15190 return NULL;
15191}
15192
15193
15194static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15197 wxMenu *result;
15198 PyObject * obj0 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "self", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
15212 {
15213 resultobj = wxPyMake_wxObject(result);
15214 }
15215 return resultobj;
15216 fail:
15217 return NULL;
15218}
15219
15220
15221static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15222 PyObject *obj;
15223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15224 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15225 Py_INCREF(obj);
15226 return Py_BuildValue((char *)"");
15227}
15228static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15231 int arg2 = (int) 0 ;
15232 wxCloseEvent *result;
15233 char *kwnames[] = {
15234 (char *) "type",(char *) "winid", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15246 return resultobj;
15247 fail:
15248 return NULL;
15249}
15250
15251
15252static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15255 bool arg2 ;
15256 PyObject * obj0 = 0 ;
15257 PyObject * obj1 = 0 ;
15258 char *kwnames[] = {
15259 (char *) "self",(char *) "logOff", NULL
15260 };
15261
15262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15264 arg2 = PyInt_AsLong(obj1) ? true : false;
15265 if (PyErr_Occurred()) SWIG_fail;
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 (arg1)->SetLoggingOff(arg2);
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 Py_INCREF(Py_None); resultobj = Py_None;
15274 return resultobj;
15275 fail:
15276 return NULL;
15277}
15278
15279
15280static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15281 PyObject *resultobj;
15282 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15283 bool result;
15284 PyObject * obj0 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "self", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = PyInt_FromLong((long)result);
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
15305static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
423f194a 15308 bool arg2 = (bool) True ;
d14a1e28
RD
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "veto", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15317 if (obj1) {
15318 arg2 = PyInt_AsLong(obj1) ? true : false;
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 (arg1)->Veto(arg2);
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 Py_INCREF(Py_None); resultobj = Py_None;
15329 return resultobj;
15330 fail:
15331 return NULL;
15332}
15333
15334
15335static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15336 PyObject *resultobj;
15337 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15338 bool arg2 ;
15339 PyObject * obj0 = 0 ;
15340 PyObject * obj1 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self",(char *) "canVeto", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15347 arg2 = PyInt_AsLong(obj1) ? true : false;
15348 if (PyErr_Occurred()) SWIG_fail;
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 (arg1)->SetCanVeto(arg2);
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 Py_INCREF(Py_None); resultobj = Py_None;
15357 return resultobj;
15358 fail:
15359 return NULL;
15360}
15361
15362
15363static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj;
15365 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15366 bool result;
15367 PyObject * obj0 = 0 ;
15368 char *kwnames[] = {
15369 (char *) "self", NULL
15370 };
15371
15372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 resultobj = PyInt_FromLong((long)result);
15382 return resultobj;
15383 fail:
15384 return NULL;
15385}
15386
15387
15388static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15391 bool result;
15392 PyObject * obj0 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15402
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 resultobj = PyInt_FromLong((long)result);
15407 return resultobj;
15408 fail:
15409 return NULL;
15410}
15411
15412
15413static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15414 PyObject *obj;
15415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15416 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15417 Py_INCREF(obj);
15418 return Py_BuildValue((char *)"");
15419}
15420static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 int arg1 = (int) 0 ;
423f194a 15423 bool arg2 = (bool) False ;
d14a1e28
RD
15424 wxShowEvent *result;
15425 PyObject * obj1 = 0 ;
15426 char *kwnames[] = {
15427 (char *) "winid",(char *) "show", NULL
15428 };
15429
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15431 if (obj1) {
15432 arg2 = PyInt_AsLong(obj1) ? true : false;
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15443 return resultobj;
15444 fail:
15445 return NULL;
15446}
15447
15448
15449static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15452 bool arg2 ;
15453 PyObject * obj0 = 0 ;
15454 PyObject * obj1 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "show", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15461 arg2 = PyInt_AsLong(obj1) ? true : false;
15462 if (PyErr_Occurred()) SWIG_fail;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->SetShow(arg2);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474}
15475
15476
15477static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15480 bool result;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 resultobj = PyInt_FromLong((long)result);
15496 return resultobj;
15497 fail:
15498 return NULL;
15499}
15500
15501
15502static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15503 PyObject *obj;
15504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15505 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15506 Py_INCREF(obj);
15507 return Py_BuildValue((char *)"");
15508}
15509static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15510 PyObject *resultobj;
15511 int arg1 = (int) 0 ;
423f194a 15512 bool arg2 = (bool) True ;
d14a1e28
RD
15513 wxIconizeEvent *result;
15514 PyObject * obj1 = 0 ;
15515 char *kwnames[] = {
15516 (char *) "id",(char *) "iconized", NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15520 if (obj1) {
15521 arg2 = PyInt_AsLong(obj1) ? true : false;
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 {
15525 PyThreadState* __tstate = wxPyBeginAllowThreads();
15526 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15527
15528 wxPyEndAllowThreads(__tstate);
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
15531 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15532 return resultobj;
15533 fail:
15534 return NULL;
15535}
15536
15537
15538static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15539 PyObject *resultobj;
15540 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15541 bool result;
15542 PyObject * obj0 = 0 ;
15543 char *kwnames[] = {
15544 (char *) "self", NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 result = (bool)(arg1)->Iconized();
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 resultobj = PyInt_FromLong((long)result);
15557 return resultobj;
15558 fail:
15559 return NULL;
15560}
15561
15562
15563static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15564 PyObject *obj;
15565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15566 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15567 Py_INCREF(obj);
15568 return Py_BuildValue((char *)"");
15569}
15570static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 int arg1 = (int) 0 ;
15573 wxMaximizeEvent *result;
15574 char *kwnames[] = {
15575 (char *) "id", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15579 {
15580 PyThreadState* __tstate = wxPyBeginAllowThreads();
15581 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15582
15583 wxPyEndAllowThreads(__tstate);
15584 if (PyErr_Occurred()) SWIG_fail;
15585 }
15586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15587 return resultobj;
15588 fail:
15589 return NULL;
15590}
15591
15592
15593static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15594 PyObject *obj;
15595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15596 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15597 Py_INCREF(obj);
15598 return Py_BuildValue((char *)"");
15599}
15600static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15603 wxPoint result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (arg1)->GetPosition();
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 {
15619 wxPoint * resultptr;
15620 resultptr = new wxPoint((wxPoint &) result);
15621 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15622 }
15623 return resultobj;
15624 fail:
15625 return NULL;
15626}
15627
15628
15629static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15630 PyObject *resultobj;
15631 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15632 int result;
15633 PyObject * obj0 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 result = (int)(arg1)->GetNumberOfFiles();
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 resultobj = PyInt_FromLong((long)result);
15648 return resultobj;
15649 fail:
15650 return NULL;
15651}
15652
15653
15654static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15657 PyObject *result;
15658 PyObject * obj0 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 resultobj = result;
15673 return resultobj;
15674 fail:
15675 return NULL;
15676}
15677
15678
15679static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15680 PyObject *obj;
15681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15682 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15683 Py_INCREF(obj);
15684 return Py_BuildValue((char *)"");
15685}
15686static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
423f194a 15688 int arg1 = (int) 0 ;
d14a1e28
RD
15689 wxUpdateUIEvent *result;
15690 char *kwnames[] = {
15691 (char *) "commandId", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15703 return resultobj;
15704 fail:
15705 return NULL;
15706}
15707
15708
15709static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15710 PyObject *resultobj;
15711 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15712 bool result;
15713 PyObject * obj0 = 0 ;
15714 char *kwnames[] = {
15715 (char *) "self", NULL
15716 };
15717
15718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15720 {
15721 PyThreadState* __tstate = wxPyBeginAllowThreads();
15722 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
15723
15724 wxPyEndAllowThreads(__tstate);
15725 if (PyErr_Occurred()) SWIG_fail;
15726 }
15727 resultobj = PyInt_FromLong((long)result);
15728 return resultobj;
15729 fail:
15730 return NULL;
15731}
15732
15733
15734static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj;
15736 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15737 bool result;
15738 PyObject * obj0 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 resultobj = PyInt_FromLong((long)result);
15753 return resultobj;
15754 fail:
15755 return NULL;
15756}
15757
15758
15759static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj;
15761 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15762 wxString result;
15763 PyObject * obj0 = 0 ;
15764 char *kwnames[] = {
15765 (char *) "self", NULL
15766 };
15767
15768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15773
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 {
15778#if wxUSE_UNICODE
15779 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15780#else
15781 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15782#endif
15783 }
15784 return resultobj;
15785 fail:
15786 return NULL;
15787}
15788
15789
15790static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15793 bool result;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 resultobj = PyInt_FromLong((long)result);
15809 return resultobj;
15810 fail:
15811 return NULL;
15812}
15813
15814
15815static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15818 bool result;
15819 PyObject * obj0 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 resultobj = PyInt_FromLong((long)result);
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
15840static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15843 bool result;
15844 PyObject * obj0 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "self", NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 resultobj = PyInt_FromLong((long)result);
15859 return resultobj;
15860 fail:
15861 return NULL;
15862}
15863
15864
15865static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15868 bool arg2 ;
15869 PyObject * obj0 = 0 ;
15870 PyObject * obj1 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "check", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15877 arg2 = PyInt_AsLong(obj1) ? true : false;
15878 if (PyErr_Occurred()) SWIG_fail;
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 (arg1)->Check(arg2);
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 Py_INCREF(Py_None); resultobj = Py_None;
15887 return resultobj;
15888 fail:
15889 return NULL;
15890}
15891
15892
15893static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15896 bool arg2 ;
15897 PyObject * obj0 = 0 ;
15898 PyObject * obj1 = 0 ;
15899 char *kwnames[] = {
15900 (char *) "self",(char *) "enable", NULL
15901 };
15902
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15905 arg2 = PyInt_AsLong(obj1) ? true : false;
15906 if (PyErr_Occurred()) SWIG_fail;
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 (arg1)->Enable(arg2);
15910
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 Py_INCREF(Py_None); resultobj = Py_None;
15915 return resultobj;
15916 fail:
15917 return NULL;
15918}
15919
15920
15921static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15924 wxString *arg2 = 0 ;
423f194a 15925 bool temp2 = False ;
d14a1e28
RD
15926 PyObject * obj0 = 0 ;
15927 PyObject * obj1 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "self",(char *) "text", NULL
15930 };
15931
15932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15934 {
15935 arg2 = wxString_in_helper(obj1);
15936 if (arg2 == NULL) SWIG_fail;
423f194a 15937 temp2 = True;
d14a1e28
RD
15938 }
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 (arg1)->SetText((wxString const &)*arg2);
15942
15943 wxPyEndAllowThreads(__tstate);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 }
15946 Py_INCREF(Py_None); resultobj = Py_None;
15947 {
15948 if (temp2)
15949 delete arg2;
15950 }
15951 return resultobj;
15952 fail:
15953 {
15954 if (temp2)
15955 delete arg2;
15956 }
15957 return NULL;
15958}
15959
15960
15961static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj;
15963 long arg1 ;
15964 char *kwnames[] = {
15965 (char *) "updateInterval", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 wxUpdateUIEvent::SetUpdateInterval(arg1);
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980}
15981
15982
15983static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 long result;
15986 char *kwnames[] = {
15987 NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 result = (long)wxUpdateUIEvent::GetUpdateInterval();
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 resultobj = PyInt_FromLong((long)result);
15999 return resultobj;
16000 fail:
16001 return NULL;
16002}
16003
16004
16005static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxWindow *arg1 = (wxWindow *) 0 ;
16008 bool result;
16009 PyObject * obj0 = 0 ;
16010 char *kwnames[] = {
16011 (char *) "win", NULL
16012 };
16013
16014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16016 {
16017 PyThreadState* __tstate = wxPyBeginAllowThreads();
16018 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 resultobj = PyInt_FromLong((long)result);
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
16030static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 char *kwnames[] = {
16033 NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 wxUpdateUIEvent::ResetUpdateTime();
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 Py_INCREF(Py_None); resultobj = Py_None;
16045 return resultobj;
16046 fail:
16047 return NULL;
16048}
16049
16050
16051static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 int arg1 ;
16054 char *kwnames[] = {
16055 (char *) "mode", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16062
16063 wxPyEndAllowThreads(__tstate);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 }
16066 Py_INCREF(Py_None); resultobj = Py_None;
16067 return resultobj;
16068 fail:
16069 return NULL;
16070}
16071
16072
16073static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 int result;
16076 char *kwnames[] = {
16077 NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 result = (int)wxUpdateUIEvent::GetMode();
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 resultobj = PyInt_FromLong((long)result);
16089 return resultobj;
16090 fail:
16091 return NULL;
16092}
16093
16094
16095static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16096 PyObject *obj;
16097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16098 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16099 Py_INCREF(obj);
16100 return Py_BuildValue((char *)"");
16101}
16102static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxSysColourChangedEvent *result;
16105 char *kwnames[] = {
16106 NULL
16107 };
16108
16109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
16124static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16125 PyObject *obj;
16126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16127 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16128 Py_INCREF(obj);
16129 return Py_BuildValue((char *)"");
16130}
16131static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
423f194a 16133 int arg1 = (int) 0 ;
d14a1e28
RD
16134 wxWindow *arg2 = (wxWindow *) NULL ;
16135 wxMouseCaptureChangedEvent *result;
16136 PyObject * obj1 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "winid",(char *) "gainedCapture", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16142 if (obj1) {
16143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16144 }
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16153 return resultobj;
16154 fail:
16155 return NULL;
16156}
16157
16158
16159static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16162 wxWindow *result;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 {
16178 resultobj = wxPyMake_wxObject(result);
16179 }
16180 return resultobj;
16181 fail:
16182 return NULL;
16183}
16184
16185
16186static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16187 PyObject *obj;
16188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16189 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16190 Py_INCREF(obj);
16191 return Py_BuildValue((char *)"");
16192}
16193static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxDisplayChangedEvent *result;
16196 char *kwnames[] = {
16197 NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16209 return resultobj;
16210 fail:
16211 return NULL;
16212}
16213
16214
16215static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16216 PyObject *obj;
16217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16218 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16219 Py_INCREF(obj);
16220 return Py_BuildValue((char *)"");
16221}
16222static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
423f194a 16224 int arg1 = (int) 0 ;
d14a1e28
RD
16225 wxPaletteChangedEvent *result;
16226 char *kwnames[] = {
16227 (char *) "id", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16239 return resultobj;
16240 fail:
16241 return NULL;
16242}
16243
16244
16245static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16248 wxWindow *arg2 = (wxWindow *) 0 ;
16249 PyObject * obj0 = 0 ;
16250 PyObject * obj1 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "win", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->SetChangedWindow(arg2);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269}
16270
16271
16272static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16275 wxWindow *result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (wxWindow *)(arg1)->GetChangedWindow();
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 {
16291 resultobj = wxPyMake_wxObject(result);
16292 }
16293 return resultobj;
16294 fail:
16295 return NULL;
16296}
16297
16298
16299static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16300 PyObject *obj;
16301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16302 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16303 Py_INCREF(obj);
16304 return Py_BuildValue((char *)"");
16305}
16306static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj;
423f194a 16308 int arg1 = (int) 0 ;
d14a1e28
RD
16309 wxQueryNewPaletteEvent *result;
16310 char *kwnames[] = {
16311 (char *) "winid", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
16329static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16332 bool arg2 ;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self",(char *) "realized", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16341 arg2 = PyInt_AsLong(obj1) ? true : false;
16342 if (PyErr_Occurred()) SWIG_fail;
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 (arg1)->SetPaletteRealized(arg2);
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 Py_INCREF(Py_None); resultobj = Py_None;
16351 return resultobj;
16352 fail:
16353 return NULL;
16354}
16355
16356
16357static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16360 bool result;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 resultobj = PyInt_FromLong((long)result);
16376 return resultobj;
16377 fail:
16378 return NULL;
16379}
16380
16381
16382static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16383 PyObject *obj;
16384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16386 Py_INCREF(obj);
16387 return Py_BuildValue((char *)"");
16388}
16389static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxNavigationKeyEvent *result;
16392 char *kwnames[] = {
16393 NULL
16394 };
16395
16396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16405 return resultobj;
16406 fail:
16407 return NULL;
16408}
16409
16410
16411static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj;
16413 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16414 bool result;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 resultobj = PyInt_FromLong((long)result);
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
16436static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16439 bool arg2 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "bForward", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 arg2 = PyInt_AsLong(obj1) ? true : false;
16449 if (PyErr_Occurred()) SWIG_fail;
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 (arg1)->SetDirection(arg2);
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 Py_INCREF(Py_None); resultobj = Py_None;
16458 return resultobj;
16459 fail:
16460 return NULL;
16461}
16462
16463
16464static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16467 bool result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 resultobj = PyInt_FromLong((long)result);
16483 return resultobj;
16484 fail:
16485 return NULL;
16486}
16487
16488
16489static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj;
16491 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16492 bool arg2 ;
16493 PyObject * obj0 = 0 ;
16494 PyObject * obj1 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self",(char *) "bIs", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16501 arg2 = PyInt_AsLong(obj1) ? true : false;
16502 if (PyErr_Occurred()) SWIG_fail;
16503 {
16504 PyThreadState* __tstate = wxPyBeginAllowThreads();
16505 (arg1)->SetWindowChange(arg2);
16506
16507 wxPyEndAllowThreads(__tstate);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 }
16510 Py_INCREF(Py_None); resultobj = Py_None;
16511 return resultobj;
16512 fail:
16513 return NULL;
16514}
16515
16516
16517static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16520 wxWindow *result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 {
16536 resultobj = wxPyMake_wxObject(result);
16537 }
16538 return resultobj;
16539 fail:
16540 return NULL;
16541}
16542
16543
16544static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj;
16546 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16547 wxWindow *arg2 = (wxWindow *) 0 ;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "win", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 (arg1)->SetCurrentFocus(arg2);
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 Py_INCREF(Py_None); resultobj = Py_None;
16565 return resultobj;
16566 fail:
16567 return NULL;
16568}
16569
16570
16571static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16572 PyObject *obj;
16573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16574 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16575 Py_INCREF(obj);
16576 return Py_BuildValue((char *)"");
16577}
16578static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxWindow *arg1 = (wxWindow *) NULL ;
16581 wxWindowCreateEvent *result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "win", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16588 if (obj0) {
16589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16590 }
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16599 return resultobj;
16600 fail:
16601 return NULL;
16602}
16603
16604
16605static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj;
16607 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16608 wxWindow *result;
16609 PyObject * obj0 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "self", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624 resultobj = wxPyMake_wxObject(result);
16625 }
16626 return resultobj;
16627 fail:
16628 return NULL;
16629}
16630
16631
16632static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16633 PyObject *obj;
16634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16635 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16636 Py_INCREF(obj);
16637 return Py_BuildValue((char *)"");
16638}
16639static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxWindow *arg1 = (wxWindow *) NULL ;
16642 wxWindowDestroyEvent *result;
16643 PyObject * obj0 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "win", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16649 if (obj0) {
16650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16651 }
16652 {
16653 PyThreadState* __tstate = wxPyBeginAllowThreads();
16654 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16655
16656 wxPyEndAllowThreads(__tstate);
16657 if (PyErr_Occurred()) SWIG_fail;
16658 }
16659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16660 return resultobj;
16661 fail:
16662 return NULL;
16663}
16664
16665
16666static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16669 wxWindow *result;
16670 PyObject * obj0 = 0 ;
16671 char *kwnames[] = {
16672 (char *) "self", NULL
16673 };
16674
16675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 {
16685 resultobj = wxPyMake_wxObject(result);
16686 }
16687 return resultobj;
16688 fail:
16689 return NULL;
16690}
16691
16692
16693static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16694 PyObject *obj;
16695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16697 Py_INCREF(obj);
16698 return Py_BuildValue((char *)"");
16699}
16700static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 16703 int arg2 = (int) 0 ;
d14a1e28
RD
16704 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16705 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16706 wxContextMenuEvent *result;
16707 wxPoint temp3 ;
16708 PyObject * obj2 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "type",(char *) "winid",(char *) "pt", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16714 if (obj2) {
16715 {
16716 arg3 = &temp3;
16717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16718 }
16719 }
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16728 return resultobj;
16729 fail:
16730 return NULL;
16731}
16732
16733
16734static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16737 wxPoint *result;
16738 PyObject * obj0 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 {
16748 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16749 result = (wxPoint *) &_result_ref;
16750 }
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16756 return resultobj;
16757 fail:
16758 return NULL;
16759}
16760
16761
16762static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16763 PyObject *resultobj;
16764 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16765 wxPoint *arg2 = 0 ;
16766 wxPoint temp2 ;
16767 PyObject * obj0 = 0 ;
16768 PyObject * obj1 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self",(char *) "pos", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16775 {
16776 arg2 = &temp2;
16777 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16778 }
16779 {
16780 PyThreadState* __tstate = wxPyBeginAllowThreads();
16781 (arg1)->SetPosition((wxPoint const &)*arg2);
16782
16783 wxPyEndAllowThreads(__tstate);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 }
16786 Py_INCREF(Py_None); resultobj = Py_None;
16787 return resultobj;
16788 fail:
16789 return NULL;
16790}
16791
16792
16793static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16794 PyObject *obj;
16795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16796 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16797 Py_INCREF(obj);
16798 return Py_BuildValue((char *)"");
16799}
16800static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj;
16802 wxIdleEvent *result;
16803 char *kwnames[] = {
16804 NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (wxIdleEvent *)new wxIdleEvent();
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16816 return resultobj;
16817 fail:
16818 return NULL;
16819}
16820
16821
16822static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16823 PyObject *resultobj;
16824 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
423f194a 16825 bool arg2 = (bool) True ;
d14a1e28
RD
16826 PyObject * obj0 = 0 ;
16827 PyObject * obj1 = 0 ;
16828 char *kwnames[] = {
16829 (char *) "self",(char *) "needMore", NULL
16830 };
16831
16832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16834 if (obj1) {
16835 arg2 = PyInt_AsLong(obj1) ? true : false;
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 (arg1)->RequestMore(arg2);
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 Py_INCREF(Py_None); resultobj = Py_None;
16846 return resultobj;
16847 fail:
16848 return NULL;
16849}
16850
16851
16852static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16855 bool result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16863 {
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
16866
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 resultobj = PyInt_FromLong((long)result);
16871 return resultobj;
16872 fail:
16873 return NULL;
16874}
16875
16876
16877static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 int arg1 ;
16880 char *kwnames[] = {
16881 (char *) "mode", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 wxIdleEvent::SetMode((wxIdleMode )arg1);
16888
16889 wxPyEndAllowThreads(__tstate);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 Py_INCREF(Py_None); resultobj = Py_None;
16893 return resultobj;
16894 fail:
16895 return NULL;
16896}
16897
16898
16899static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16900 PyObject *resultobj;
16901 int result;
16902 char *kwnames[] = {
16903 NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
16907 {
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 result = (int)wxIdleEvent::GetMode();
16910
16911 wxPyEndAllowThreads(__tstate);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 }
16914 resultobj = PyInt_FromLong((long)result);
16915 return resultobj;
16916 fail:
16917 return NULL;
16918}
16919
16920
16921static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj;
16923 wxWindow *arg1 = (wxWindow *) 0 ;
16924 bool result;
16925 PyObject * obj0 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "win", NULL
16928 };
16929
16930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
16931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (bool)wxIdleEvent::CanSend(arg1);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 resultobj = PyInt_FromLong((long)result);
16940 return resultobj;
16941 fail:
16942 return NULL;
16943}
16944
16945
16946static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
16947 PyObject *obj;
16948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16949 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
16950 Py_INCREF(obj);
16951 return Py_BuildValue((char *)"");
16952}
16953static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 int arg1 = (int) 0 ;
16956 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
16957 wxPyEvent *result;
16958 char *kwnames[] = {
16959 (char *) "winid",(char *) "commandType", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
16971 return resultobj;
16972 fail:
16973 return NULL;
16974}
16975
16976
16977static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
16980 PyObject * obj0 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
16986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 delete arg1;
16990
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 Py_INCREF(Py_None); resultobj = Py_None;
16995 return resultobj;
16996 fail:
16997 return NULL;
16998}
16999
17000
17001static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17004 PyObject *arg2 = (PyObject *) 0 ;
17005 PyObject * obj0 = 0 ;
17006 PyObject * obj1 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self",(char *) "self", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17013 arg2 = obj1;
17014 {
17015 PyThreadState* __tstate = wxPyBeginAllowThreads();
17016 (arg1)->SetSelf(arg2);
17017
17018 wxPyEndAllowThreads(__tstate);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 Py_INCREF(Py_None); resultobj = Py_None;
17022 return resultobj;
17023 fail:
17024 return NULL;
17025}
17026
17027
17028static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17031 PyObject *result;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (PyObject *)(arg1)->GetSelf();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 resultobj = result;
17047 return resultobj;
17048 fail:
17049 return NULL;
17050}
17051
17052
17053static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17054 PyObject *obj;
17055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17056 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17057 Py_INCREF(obj);
17058 return Py_BuildValue((char *)"");
17059}
17060static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17063 int arg2 = (int) 0 ;
17064 wxPyCommandEvent *result;
17065 char *kwnames[] = {
17066 (char *) "commandType",(char *) "id", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
17084static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17087 PyObject * obj0 = 0 ;
17088 char *kwnames[] = {
17089 (char *) "self", NULL
17090 };
17091
17092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 delete arg1;
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 Py_INCREF(Py_None); resultobj = Py_None;
17102 return resultobj;
17103 fail:
17104 return NULL;
17105}
17106
17107
17108static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17111 PyObject *arg2 = (PyObject *) 0 ;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self",(char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17120 arg2 = obj1;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 (arg1)->SetSelf(arg2);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 Py_INCREF(Py_None); resultobj = Py_None;
17129 return resultobj;
17130 fail:
17131 return NULL;
17132}
17133
17134
17135static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17138 PyObject *result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (PyObject *)(arg1)->GetSelf();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = result;
17154 return resultobj;
17155 fail:
17156 return NULL;
17157}
17158
17159
17160static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17161 PyObject *obj;
17162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17164 Py_INCREF(obj);
17165 return Py_BuildValue((char *)"");
17166}
17167static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxPyApp *result;
17170 char *kwnames[] = {
17171 NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 result = (wxPyApp *)new_wxPyApp();
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 {
17183 resultobj = wxPyMake_wxObject(result);
17184 }
17185 return resultobj;
17186 fail:
17187 return NULL;
17188}
17189
17190
17191static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj;
17193 wxPyApp *arg1 = (wxPyApp *) 0 ;
17194 PyObject * obj0 = 0 ;
17195 char *kwnames[] = {
17196 (char *) "self", NULL
17197 };
17198
17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 delete arg1;
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 Py_INCREF(Py_None); resultobj = Py_None;
17209 return resultobj;
17210 fail:
17211 return NULL;
17212}
17213
17214
17215static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxPyApp *arg1 = (wxPyApp *) 0 ;
17218 PyObject *arg2 = (PyObject *) 0 ;
17219 PyObject *arg3 = (PyObject *) 0 ;
17220 PyObject * obj0 = 0 ;
17221 PyObject * obj1 = 0 ;
17222 PyObject * obj2 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self",(char *) "self",(char *) "_class", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17229 arg2 = obj1;
17230 arg3 = obj2;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 (arg1)->_setCallbackInfo(arg2,arg3);
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 Py_INCREF(Py_None); resultobj = Py_None;
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
17245static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxPyApp *arg1 = (wxPyApp *) 0 ;
17248 wxString result;
17249 PyObject * obj0 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "self", NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 result = ((wxPyApp const *)arg1)->GetAppName();
17259
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264#if wxUSE_UNICODE
17265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17266#else
17267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17268#endif
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273}
17274
17275
17276static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxPyApp *arg1 = (wxPyApp *) 0 ;
17279 wxString *arg2 = 0 ;
423f194a 17280 bool temp2 = False ;
d14a1e28
RD
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self",(char *) "name", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17289 {
17290 arg2 = wxString_in_helper(obj1);
17291 if (arg2 == NULL) SWIG_fail;
423f194a 17292 temp2 = True;
d14a1e28
RD
17293 }
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 (arg1)->SetAppName((wxString const &)*arg2);
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 Py_INCREF(Py_None); resultobj = Py_None;
17302 {
17303 if (temp2)
17304 delete arg2;
17305 }
17306 return resultobj;
17307 fail:
17308 {
17309 if (temp2)
17310 delete arg2;
17311 }
17312 return NULL;
17313}
17314
17315
17316static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxPyApp *arg1 = (wxPyApp *) 0 ;
17319 wxString result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = ((wxPyApp const *)arg1)->GetClassName();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 {
17335#if wxUSE_UNICODE
17336 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17337#else
17338 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17339#endif
17340 }
17341 return resultobj;
17342 fail:
17343 return NULL;
17344}
17345
17346
17347static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxPyApp *arg1 = (wxPyApp *) 0 ;
17350 wxString *arg2 = 0 ;
423f194a 17351 bool temp2 = False ;
d14a1e28
RD
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self",(char *) "name", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17360 {
17361 arg2 = wxString_in_helper(obj1);
17362 if (arg2 == NULL) SWIG_fail;
423f194a 17363 temp2 = True;
d14a1e28
RD
17364 }
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 (arg1)->SetClassName((wxString const &)*arg2);
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 Py_INCREF(Py_None); resultobj = Py_None;
17373 {
17374 if (temp2)
17375 delete arg2;
17376 }
17377 return resultobj;
17378 fail:
17379 {
17380 if (temp2)
17381 delete arg2;
17382 }
17383 return NULL;
17384}
17385
17386
17387static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxPyApp *arg1 = (wxPyApp *) 0 ;
17390 wxString *result;
17391 PyObject * obj0 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 {
17401 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17402 result = (wxString *) &_result_ref;
17403 }
17404
17405 wxPyEndAllowThreads(__tstate);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17409 return resultobj;
17410 fail:
17411 return NULL;
17412}
17413
17414
17415static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17416 PyObject *resultobj;
17417 wxPyApp *arg1 = (wxPyApp *) 0 ;
17418 wxString *arg2 = 0 ;
423f194a 17419 bool temp2 = False ;
d14a1e28
RD
17420 PyObject * obj0 = 0 ;
17421 PyObject * obj1 = 0 ;
17422 char *kwnames[] = {
17423 (char *) "self",(char *) "name", NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17428 {
17429 arg2 = wxString_in_helper(obj1);
17430 if (arg2 == NULL) SWIG_fail;
423f194a 17431 temp2 = True;
d14a1e28
RD
17432 }
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 (arg1)->SetVendorName((wxString const &)*arg2);
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 Py_INCREF(Py_None); resultobj = Py_None;
17441 {
17442 if (temp2)
17443 delete arg2;
17444 }
17445 return resultobj;
17446 fail:
17447 {
17448 if (temp2)
17449 delete arg2;
17450 }
17451 return NULL;
17452}
17453
17454
17455static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxPyApp *arg1 = (wxPyApp *) 0 ;
17458 wxAppTraits *result;
17459 PyObject * obj0 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (wxAppTraits *)(arg1)->GetTraits();
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17474 return resultobj;
17475 fail:
17476 return NULL;
17477}
17478
17479
17480static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPyApp *arg1 = (wxPyApp *) 0 ;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 (arg1)->ProcessPendingEvents();
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 Py_INCREF(Py_None); resultobj = Py_None;
17498 return resultobj;
17499 fail:
17500 return NULL;
17501}
17502
17503
17504static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17505 PyObject *resultobj;
17506 wxPyApp *arg1 = (wxPyApp *) 0 ;
423f194a 17507 bool arg2 = (bool) False ;
d14a1e28
RD
17508 bool result;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self",(char *) "onlyIfNeeded", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17517 if (obj1) {
17518 arg2 = PyInt_AsLong(obj1) ? true : false;
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 {
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 result = (bool)(arg1)->Yield(arg2);
17524
17525 wxPyEndAllowThreads(__tstate);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
17528 resultobj = PyInt_FromLong((long)result);
17529 return resultobj;
17530 fail:
17531 return NULL;
17532}
17533
17534
17535static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj;
17537 wxPyApp *arg1 = (wxPyApp *) 0 ;
17538 PyObject * obj0 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 (arg1)->WakeUpIdle();
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 Py_INCREF(Py_None); resultobj = Py_None;
17553 return resultobj;
17554 fail:
17555 return NULL;
17556}
17557
17558
17559static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPyApp *arg1 = (wxPyApp *) 0 ;
17562 int result;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (int)(arg1)->MainLoop();
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = PyInt_FromLong((long)result);
17578 return resultobj;
17579 fail:
17580 return NULL;
17581}
17582
17583
17584static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPyApp *arg1 = (wxPyApp *) 0 ;
17587 PyObject * obj0 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 (arg1)->Exit();
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 Py_INCREF(Py_None); resultobj = Py_None;
17602 return resultobj;
17603 fail:
17604 return NULL;
17605}
17606
17607
17608static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj;
17610 wxPyApp *arg1 = (wxPyApp *) 0 ;
17611 PyObject * obj0 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 (arg1)->ExitMainLoop();
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629}
17630
17631
17632static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPyApp *arg1 = (wxPyApp *) 0 ;
17635 bool result;
17636 PyObject * obj0 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 result = (bool)(arg1)->Pending();
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 resultobj = PyInt_FromLong((long)result);
17651 return resultobj;
17652 fail:
17653 return NULL;
17654}
17655
17656
17657static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj;
17659 wxPyApp *arg1 = (wxPyApp *) 0 ;
17660 bool result;
17661 PyObject * obj0 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (bool)(arg1)->Dispatch();
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 resultobj = PyInt_FromLong((long)result);
17676 return resultobj;
17677 fail:
17678 return NULL;
17679}
17680
17681
17682static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxPyApp *arg1 = (wxPyApp *) 0 ;
17685 bool result;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (bool)(arg1)->ProcessIdle();
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 resultobj = PyInt_FromLong((long)result);
17701 return resultobj;
17702 fail:
17703 return NULL;
17704}
17705
17706
17707static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxPyApp *arg1 = (wxPyApp *) 0 ;
17710 wxWindow *arg2 = (wxWindow *) 0 ;
17711 wxIdleEvent *arg3 = 0 ;
17712 bool result;
17713 PyObject * obj0 = 0 ;
17714 PyObject * obj1 = 0 ;
17715 PyObject * obj2 = 0 ;
17716 char *kwnames[] = {
17717 (char *) "self",(char *) "win",(char *) "event", NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17724 if (arg3 == NULL) {
17725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17726 }
17727 {
17728 PyThreadState* __tstate = wxPyBeginAllowThreads();
17729 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 resultobj = PyInt_FromLong((long)result);
17735 return resultobj;
17736 fail:
17737 return NULL;
17738}
17739
17740
d14a1e28
RD
17741static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxPyApp *arg1 = (wxPyApp *) 0 ;
17744 bool result;
17745 PyObject * obj0 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "self", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 result = (bool)((wxPyApp const *)arg1)->IsActive();
17755
17756 wxPyEndAllowThreads(__tstate);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 resultobj = PyInt_FromLong((long)result);
17760 return resultobj;
17761 fail:
17762 return NULL;
17763}
17764
17765
17766static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17767 PyObject *resultobj;
17768 wxPyApp *arg1 = (wxPyApp *) 0 ;
17769 wxWindow *arg2 = (wxWindow *) 0 ;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 char *kwnames[] = {
17773 (char *) "self",(char *) "win", NULL
17774 };
17775
17776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17779 {
17780 PyThreadState* __tstate = wxPyBeginAllowThreads();
17781 (arg1)->SetTopWindow(arg2);
17782
17783 wxPyEndAllowThreads(__tstate);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 }
17786 Py_INCREF(Py_None); resultobj = Py_None;
17787 return resultobj;
17788 fail:
17789 return NULL;
17790}
17791
17792
17793static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj;
17795 wxPyApp *arg1 = (wxPyApp *) 0 ;
17796 wxWindow *result;
17797 PyObject * obj0 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "self", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 {
17812 resultobj = wxPyMake_wxObject(result);
17813 }
17814 return resultobj;
17815 fail:
17816 return NULL;
17817}
17818
17819
17820static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxPyApp *arg1 = (wxPyApp *) 0 ;
17823 bool arg2 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "flag", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17832 arg2 = PyInt_AsLong(obj1) ? true : false;
17833 if (PyErr_Occurred()) SWIG_fail;
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 (arg1)->SetExitOnFrameDelete(arg2);
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 Py_INCREF(Py_None); resultobj = Py_None;
17842 return resultobj;
17843 fail:
17844 return NULL;
17845}
17846
17847
17848static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxPyApp *arg1 = (wxPyApp *) 0 ;
17851 bool result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 resultobj = PyInt_FromLong((long)result);
17867 return resultobj;
17868 fail:
17869 return NULL;
17870}
17871
17872
17873static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17874 PyObject *resultobj;
17875 wxPyApp *arg1 = (wxPyApp *) 0 ;
17876 bool arg2 ;
17877 PyObject * obj0 = 0 ;
17878 PyObject * obj1 = 0 ;
17879 char *kwnames[] = {
17880 (char *) "self",(char *) "flag", NULL
17881 };
17882
17883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17885 arg2 = PyInt_AsLong(obj1) ? true : false;
17886 if (PyErr_Occurred()) SWIG_fail;
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 (arg1)->SetUseBestVisual(arg2);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 Py_INCREF(Py_None); resultobj = Py_None;
17895 return resultobj;
17896 fail:
17897 return NULL;
17898}
17899
17900
17901static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 wxPyApp *arg1 = (wxPyApp *) 0 ;
17904 bool result;
17905 PyObject * obj0 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = PyInt_FromLong((long)result);
17920 return resultobj;
17921 fail:
17922 return NULL;
17923}
17924
17925
17926static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPyApp *arg1 = (wxPyApp *) 0 ;
17929 int arg2 ;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self",(char *) "mode", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 (arg1)->SetPrintMode(arg2);
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 Py_INCREF(Py_None); resultobj = Py_None;
17945 return resultobj;
17946 fail:
17947 return NULL;
17948}
17949
17950
17951static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxPyApp *arg1 = (wxPyApp *) 0 ;
17954 int result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 resultobj = PyInt_FromLong((long)result);
17970 return resultobj;
17971 fail:
17972 return NULL;
17973}
17974
17975
44127b65 17976static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17977 PyObject *resultobj;
17978 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 17979 int arg2 ;
d14a1e28
RD
17980 PyObject * obj0 = 0 ;
17981 char *kwnames[] = {
44127b65 17982 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
17983 };
17984
44127b65 17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
d14a1e28
RD
17986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 17989 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
44127b65 17994 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
17995 return resultobj;
17996 fail:
17997 return NULL;
17998}
17999
18000
44127b65 18001static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18002 PyObject *resultobj;
18003 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 18004 int result;
d14a1e28
RD
18005 PyObject * obj0 = 0 ;
18006 char *kwnames[] = {
44127b65 18007 (char *) "self", NULL
d14a1e28
RD
18008 };
18009
44127b65 18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
d14a1e28
RD
18011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18014 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
44127b65 18019 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
18026static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 bool result;
18029 char *kwnames[] = {
18030 NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 resultobj = PyInt_FromLong((long)result);
18042 return resultobj;
18043 fail:
18044 return NULL;
18045}
18046
18047
18048static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj;
18050 long result;
18051 char *kwnames[] = {
18052 NULL
18053 };
18054
18055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18056 {
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 result = (long)wxPyApp::GetMacAboutMenuItemId();
18059
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 resultobj = PyInt_FromLong((long)result);
18064 return resultobj;
18065 fail:
18066 return NULL;
18067}
18068
18069
18070static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18071 PyObject *resultobj;
18072 long result;
18073 char *kwnames[] = {
18074 NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18081
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 resultobj = PyInt_FromLong((long)result);
18086 return resultobj;
18087 fail:
18088 return NULL;
18089}
18090
18091
18092static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 long result;
18095 char *kwnames[] = {
18096 NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (long)wxPyApp::GetMacExitMenuItemId();
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = PyInt_FromLong((long)result);
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
18114static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxString result;
18117 char *kwnames[] = {
18118 NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = wxPyApp::GetMacHelpMenuTitleName();
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 {
18130#if wxUSE_UNICODE
18131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18132#else
18133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18134#endif
18135 }
18136 return resultobj;
18137 fail:
18138 return NULL;
18139}
18140
18141
18142static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18143 PyObject *resultobj;
18144 bool arg1 ;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "val", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18151 arg1 = PyInt_AsLong(obj0) ? true : false;
18152 if (PyErr_Occurred()) SWIG_fail;
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18156
18157 wxPyEndAllowThreads(__tstate);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
18160 Py_INCREF(Py_None); resultobj = Py_None;
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
18167static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj;
18169 long arg1 ;
18170 char *kwnames[] = {
18171 (char *) "val", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 wxPyApp::SetMacAboutMenuItemId(arg1);
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 Py_INCREF(Py_None); resultobj = Py_None;
18183 return resultobj;
18184 fail:
18185 return NULL;
18186}
18187
18188
18189static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 long arg1 ;
18192 char *kwnames[] = {
18193 (char *) "val", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
18204 Py_INCREF(Py_None); resultobj = Py_None;
18205 return resultobj;
18206 fail:
18207 return NULL;
18208}
18209
18210
18211static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18212 PyObject *resultobj;
18213 long arg1 ;
18214 char *kwnames[] = {
18215 (char *) "val", NULL
18216 };
18217
18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 wxPyApp::SetMacExitMenuItemId(arg1);
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 Py_INCREF(Py_None); resultobj = Py_None;
18227 return resultobj;
18228 fail:
18229 return NULL;
18230}
18231
18232
18233static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxString *arg1 = 0 ;
423f194a 18236 bool temp1 = False ;
d14a1e28
RD
18237 PyObject * obj0 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "val", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18243 {
18244 arg1 = wxString_in_helper(obj0);
18245 if (arg1 == NULL) SWIG_fail;
423f194a 18246 temp1 = True;
d14a1e28
RD
18247 }
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 Py_INCREF(Py_None); resultobj = Py_None;
18256 {
18257 if (temp1)
18258 delete arg1;
18259 }
18260 return resultobj;
18261 fail:
18262 {
18263 if (temp1)
18264 delete arg1;
18265 }
18266 return NULL;
18267}
18268
18269
18270static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxPyApp *arg1 = (wxPyApp *) 0 ;
18273 PyObject * obj0 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->_BootstrapApp();
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 return resultobj;
18289 fail:
18290 return NULL;
18291}
18292
18293
18294static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 int result;
18297 char *kwnames[] = {
18298 NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (int)wxPyApp::GetComCtl32Version();
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 resultobj = PyInt_FromLong((long)result);
18310 return resultobj;
18311 fail:
18312 return NULL;
18313}
18314
18315
18316static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18317 PyObject *obj;
18318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18319 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18320 Py_INCREF(obj);
18321 return Py_BuildValue((char *)"");
18322}
18323static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 char *kwnames[] = {
18326 NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 wxExit();
18333
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 Py_INCREF(Py_None); resultobj = Py_None;
18338 return resultobj;
18339 fail:
18340 return NULL;
18341}
18342
18343
18344static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj;
18346 bool result;
18347 char *kwnames[] = {
18348 NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 result = (bool)wxYield();
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = PyInt_FromLong((long)result);
18360 return resultobj;
18361 fail:
18362 return NULL;
18363}
18364
18365
18366static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 bool result;
18369 char *kwnames[] = {
18370 NULL
18371 };
18372
18373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 result = (bool)wxYieldIfNeeded();
18377
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 resultobj = PyInt_FromLong((long)result);
18382 return resultobj;
18383 fail:
18384 return NULL;
18385}
18386
18387
18388static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 18391 bool arg2 = (bool) False ;
d14a1e28
RD
18392 bool result;
18393 PyObject * obj0 = 0 ;
18394 PyObject * obj1 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "win",(char *) "onlyIfNeeded", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18400 if (obj0) {
18401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 }
18403 if (obj1) {
18404 arg2 = PyInt_AsLong(obj1) ? true : false;
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 result = (bool)wxSafeYield(arg1,arg2);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 resultobj = PyInt_FromLong((long)result);
18415 return resultobj;
18416 fail:
18417 return NULL;
18418}
18419
18420
18421static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 char *kwnames[] = {
18424 NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 wxWakeUpIdle();
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 Py_INCREF(Py_None); resultobj = Py_None;
18436 return resultobj;
18437 fail:
18438 return NULL;
18439}
18440
18441
18442static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18445 wxEvent *arg2 = 0 ;
18446 PyObject * obj0 = 0 ;
18447 PyObject * obj1 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "dest",(char *) "event", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18455 if (arg2 == NULL) {
18456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18457 }
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 wxPostEvent(arg1,*arg2);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 Py_INCREF(Py_None); resultobj = Py_None;
18466 return resultobj;
18467 fail:
18468 return NULL;
18469}
18470
18471
18472static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 char *kwnames[] = {
18475 NULL
18476 };
18477
18478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 wxApp_CleanUp();
18482
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 Py_INCREF(Py_None); resultobj = Py_None;
18487 return resultobj;
18488 fail:
18489 return NULL;
18490}
18491
18492
18493static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj;
18495 wxPyApp *result;
18496 char *kwnames[] = {
18497 NULL
18498 };
18499
18500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18501 {
18502 PyThreadState* __tstate = wxPyBeginAllowThreads();
18503 result = (wxPyApp *)wxGetApp();
18504
18505 wxPyEndAllowThreads(__tstate);
18506 if (PyErr_Occurred()) SWIG_fail;
18507 }
18508 {
18509 resultobj = wxPyMake_wxObject(result);
18510 }
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
423f194a
RD
18517static int _wrap_PanelNameStr_set(PyObject *_val) {
18518 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18519 return 1;
18520}
18521
18522
18523static PyObject *_wrap_PanelNameStr_get() {
18524 PyObject *pyobj;
18525
18526 {
18527#if wxUSE_UNICODE
18528 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18529#else
18530 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18531#endif
18532 }
18533 return pyobj;
18534}
18535
18536
d14a1e28
RD
18537static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 18540 int arg2 ;
d14a1e28
RD
18541 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18542 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18543 wxSize const &arg4_defvalue = wxDefaultSize ;
18544 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18545 long arg5 = (long) 0 ;
18546 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18547 wxString *arg6 = (wxString *) &arg6_defvalue ;
18548 wxWindow *result;
18549 wxPoint temp3 ;
18550 wxSize temp4 ;
423f194a 18551 bool temp6 = False ;
d14a1e28
RD
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj2 = 0 ;
18554 PyObject * obj3 = 0 ;
18555 PyObject * obj5 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18562 if (obj2) {
18563 {
18564 arg3 = &temp3;
18565 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18566 }
18567 }
18568 if (obj3) {
18569 {
18570 arg4 = &temp4;
18571 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18572 }
18573 }
18574 if (obj5) {
18575 {
18576 arg6 = wxString_in_helper(obj5);
18577 if (arg6 == NULL) SWIG_fail;
423f194a 18578 temp6 = True;
d14a1e28
RD
18579 }
18580 }
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 {
18589 resultobj = wxPyMake_wxObject(result);
18590 }
18591 {
18592 if (temp6)
18593 delete arg6;
18594 }
18595 return resultobj;
18596 fail:
18597 {
18598 if (temp6)
18599 delete arg6;
18600 }
18601 return NULL;
18602}
18603
18604
18605static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj;
18607 wxWindow *result;
18608 char *kwnames[] = {
18609 NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 result = (wxWindow *)new wxWindow();
18616
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 {
18621 resultobj = wxPyMake_wxObject(result);
18622 }
18623 return resultobj;
18624 fail:
18625 return NULL;
18626}
18627
18628
18629static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxWindow *arg1 = (wxWindow *) 0 ;
18632 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 18633 int arg3 ;
d14a1e28
RD
18634 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18635 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18636 wxSize const &arg5_defvalue = wxDefaultSize ;
18637 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18638 long arg6 = (long) 0 ;
18639 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18640 wxString *arg7 = (wxString *) &arg7_defvalue ;
18641 bool result;
18642 wxPoint temp4 ;
18643 wxSize temp5 ;
423f194a 18644 bool temp7 = False ;
d14a1e28
RD
18645 PyObject * obj0 = 0 ;
18646 PyObject * obj1 = 0 ;
18647 PyObject * obj3 = 0 ;
18648 PyObject * obj4 = 0 ;
18649 PyObject * obj6 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18657 if (obj3) {
18658 {
18659 arg4 = &temp4;
18660 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18661 }
18662 }
18663 if (obj4) {
18664 {
18665 arg5 = &temp5;
18666 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18667 }
18668 }
18669 if (obj6) {
18670 {
18671 arg7 = wxString_in_helper(obj6);
18672 if (arg7 == NULL) SWIG_fail;
423f194a 18673 temp7 = True;
d14a1e28
RD
18674 }
18675 }
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = PyInt_FromLong((long)result);
18684 {
18685 if (temp7)
18686 delete arg7;
18687 }
18688 return resultobj;
18689 fail:
18690 {
18691 if (temp7)
18692 delete arg7;
18693 }
18694 return NULL;
18695}
18696
18697
18698static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 18701 bool arg2 = (bool) False ;
d14a1e28
RD
18702 bool result;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj1 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "force", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18711 if (obj1) {
18712 arg2 = PyInt_AsLong(obj1) ? true : false;
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 result = (bool)(arg1)->Close(arg2);
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 resultobj = PyInt_FromLong((long)result);
18723 return resultobj;
18724 fail:
18725 return NULL;
18726}
18727
18728
18729static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxWindow *arg1 = (wxWindow *) 0 ;
18732 bool result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->Destroy();
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 resultobj = PyInt_FromLong((long)result);
18748 return resultobj;
18749 fail:
18750 return NULL;
18751}
18752
18753
18754static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxWindow *arg1 = (wxWindow *) 0 ;
18757 bool result;
18758 PyObject * obj0 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
18764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (bool)(arg1)->DestroyChildren();
18768
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 resultobj = PyInt_FromLong((long)result);
18773 return resultobj;
18774 fail:
18775 return NULL;
18776}
18777
18778
18779static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxWindow *arg1 = (wxWindow *) 0 ;
18782 bool result;
18783 PyObject * obj0 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 resultobj = PyInt_FromLong((long)result);
18798 return resultobj;
18799 fail:
18800 return NULL;
18801}
18802
18803
18804static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxWindow *arg1 = (wxWindow *) 0 ;
18807 wxString *arg2 = 0 ;
423f194a 18808 bool temp2 = False ;
d14a1e28
RD
18809 PyObject * obj0 = 0 ;
18810 PyObject * obj1 = 0 ;
18811 char *kwnames[] = {
18812 (char *) "self",(char *) "title", NULL
18813 };
18814
18815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
18816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18817 {
18818 arg2 = wxString_in_helper(obj1);
18819 if (arg2 == NULL) SWIG_fail;
423f194a 18820 temp2 = True;
d14a1e28
RD
18821 }
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 (arg1)->SetTitle((wxString const &)*arg2);
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 Py_INCREF(Py_None); resultobj = Py_None;
18830 {
18831 if (temp2)
18832 delete arg2;
18833 }
18834 return resultobj;
18835 fail:
18836 {
18837 if (temp2)
18838 delete arg2;
18839 }
18840 return NULL;
18841}
18842
18843
18844static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxWindow *arg1 = (wxWindow *) 0 ;
18847 wxString result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = ((wxWindow const *)arg1)->GetTitle();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 {
18863#if wxUSE_UNICODE
18864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18865#else
18866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18867#endif
18868 }
18869 return resultobj;
18870 fail:
18871 return NULL;
18872}
18873
18874
18875static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj;
18877 wxWindow *arg1 = (wxWindow *) 0 ;
18878 wxString *arg2 = 0 ;
423f194a 18879 bool temp2 = False ;
d14a1e28
RD
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self",(char *) "label", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
18887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18888 {
18889 arg2 = wxString_in_helper(obj1);
18890 if (arg2 == NULL) SWIG_fail;
423f194a 18891 temp2 = True;
d14a1e28
RD
18892 }
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 (arg1)->SetLabel((wxString const &)*arg2);
18896
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 Py_INCREF(Py_None); resultobj = Py_None;
18901 {
18902 if (temp2)
18903 delete arg2;
18904 }
18905 return resultobj;
18906 fail:
18907 {
18908 if (temp2)
18909 delete arg2;
18910 }
18911 return NULL;
18912}
18913
18914
18915static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxWindow *arg1 = (wxWindow *) 0 ;
18918 wxString result;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = ((wxWindow const *)arg1)->GetLabel();
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934#if wxUSE_UNICODE
18935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18936#else
18937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18938#endif
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943}
18944
18945
18946static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxWindow *arg1 = (wxWindow *) 0 ;
18949 wxString *arg2 = 0 ;
423f194a 18950 bool temp2 = False ;
d14a1e28
RD
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "name", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 {
18960 arg2 = wxString_in_helper(obj1);
18961 if (arg2 == NULL) SWIG_fail;
423f194a 18962 temp2 = True;
d14a1e28
RD
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->SetName((wxString const &)*arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 {
18973 if (temp2)
18974 delete arg2;
18975 }
18976 return resultobj;
18977 fail:
18978 {
18979 if (temp2)
18980 delete arg2;
18981 }
18982 return NULL;
18983}
18984
18985
18986static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxWindow *arg1 = (wxWindow *) 0 ;
18989 wxString result;
18990 PyObject * obj0 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = ((wxWindow const *)arg1)->GetName();
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005#if wxUSE_UNICODE
19006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19007#else
19008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19009#endif
19010 }
19011 return resultobj;
19012 fail:
19013 return NULL;
19014}
19015
19016
19017static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19020 int arg2 ;
d14a1e28
RD
19021 PyObject * obj0 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self",(char *) "winid", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 (arg1)->SetId(arg2);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 Py_INCREF(Py_None); resultobj = Py_None;
19036 return resultobj;
19037 fail:
19038 return NULL;
19039}
19040
19041
19042static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19043 PyObject *resultobj;
19044 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19045 int result;
d14a1e28
RD
19046 PyObject * obj0 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19055 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 resultobj = PyInt_FromLong((long)result);
19061 return resultobj;
19062 fail:
19063 return NULL;
19064}
19065
19066
19067static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 int result;
19070 char *kwnames[] = {
19071 NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 result = (int)wxWindow::NewControlId();
19078
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 resultobj = PyInt_FromLong((long)result);
19083 return resultobj;
19084 fail:
19085 return NULL;
19086}
19087
19088
19089static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 int arg1 ;
19092 int result;
19093 char *kwnames[] = {
19094 (char *) "winid", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 result = (int)wxWindow::NextControlId(arg1);
19101
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 resultobj = PyInt_FromLong((long)result);
19106 return resultobj;
19107 fail:
19108 return NULL;
19109}
19110
19111
19112static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj;
19114 int arg1 ;
19115 int result;
19116 char *kwnames[] = {
19117 (char *) "winid", NULL
19118 };
19119
19120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = (int)wxWindow::PrevControlId(arg1);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = PyInt_FromLong((long)result);
19129 return resultobj;
19130 fail:
19131 return NULL;
19132}
19133
19134
19135static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxWindow *arg1 = (wxWindow *) 0 ;
19138 wxSize *arg2 = 0 ;
19139 wxSize temp2 ;
19140 PyObject * obj0 = 0 ;
19141 PyObject * obj1 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self",(char *) "size", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19148 {
19149 arg2 = &temp2;
19150 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19151 }
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 (arg1)->SetSize((wxSize const &)*arg2);
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163}
19164
19165
19166static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxWindow *arg1 = (wxWindow *) 0 ;
19169 int arg2 ;
19170 int arg3 ;
19171 int arg4 ;
19172 int arg5 ;
19173 int arg6 = (int) wxSIZE_AUTO ;
19174 PyObject * obj0 = 0 ;
19175 char *kwnames[] = {
19176 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19177 };
19178
19179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19184
19185 wxPyEndAllowThreads(__tstate);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 }
19188 Py_INCREF(Py_None); resultobj = Py_None;
19189 return resultobj;
19190 fail:
19191 return NULL;
19192}
19193
19194
19195static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19196 PyObject *resultobj;
19197 wxWindow *arg1 = (wxWindow *) 0 ;
19198 wxRect *arg2 = 0 ;
19199 int arg3 = (int) wxSIZE_AUTO ;
19200 wxRect temp2 ;
19201 PyObject * obj0 = 0 ;
19202 PyObject * obj1 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19209 {
19210 arg2 = &temp2;
19211 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19212 }
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224}
19225
19226
19227static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj;
19229 wxWindow *arg1 = (wxWindow *) 0 ;
19230 int arg2 ;
19231 int arg3 ;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self",(char *) "width",(char *) "height", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 {
19240 PyThreadState* __tstate = wxPyBeginAllowThreads();
19241 (arg1)->SetSize(arg2,arg3);
19242
19243 wxPyEndAllowThreads(__tstate);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 Py_INCREF(Py_None); resultobj = Py_None;
19247 return resultobj;
19248 fail:
19249 return NULL;
19250}
19251
19252
19253static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxWindow *arg1 = (wxWindow *) 0 ;
19256 wxPoint *arg2 = 0 ;
19257 int arg3 = (int) wxSIZE_USE_EXISTING ;
19258 wxPoint temp2 ;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "pt",(char *) "flags", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19267 {
19268 arg2 = &temp2;
19269 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->Move((wxPoint const &)*arg2,arg3);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282}
19283
19284
19285static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxWindow *arg1 = (wxWindow *) 0 ;
19288 int arg2 ;
19289 int arg3 ;
19290 int arg4 = (int) wxSIZE_USE_EXISTING ;
19291 PyObject * obj0 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 (arg1)->Move(arg2,arg3,arg4);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 Py_INCREF(Py_None); resultobj = Py_None;
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
19312static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxWindow *arg1 = (wxWindow *) 0 ;
19315 PyObject * obj0 = 0 ;
19316 char *kwnames[] = {
19317 (char *) "self", NULL
19318 };
19319
19320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 (arg1)->Raise();
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
19329 Py_INCREF(Py_None); resultobj = Py_None;
19330 return resultobj;
19331 fail:
19332 return NULL;
19333}
19334
19335
19336static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxWindow *arg1 = (wxWindow *) 0 ;
19339 PyObject * obj0 = 0 ;
19340 char *kwnames[] = {
19341 (char *) "self", NULL
19342 };
19343
19344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 (arg1)->Lower();
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 Py_INCREF(Py_None); resultobj = Py_None;
19354 return resultobj;
19355 fail:
19356 return NULL;
19357}
19358
19359
19360static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxWindow *arg1 = (wxWindow *) 0 ;
19363 wxSize *arg2 = 0 ;
19364 wxSize temp2 ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "size", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19373 {
19374 arg2 = &temp2;
19375 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19376 }
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 (arg1)->SetClientSize((wxSize const &)*arg2);
19380
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 Py_INCREF(Py_None); resultobj = Py_None;
19385 return resultobj;
19386 fail:
19387 return NULL;
19388}
19389
19390
19391static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 wxWindow *arg1 = (wxWindow *) 0 ;
19394 int arg2 ;
19395 int arg3 ;
19396 PyObject * obj0 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "width",(char *) "height", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 (arg1)->SetClientSize(arg2,arg3);
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 Py_INCREF(Py_None); resultobj = Py_None;
19411 return resultobj;
19412 fail:
19413 return NULL;
19414}
19415
19416
19417static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxWindow *arg1 = (wxWindow *) 0 ;
19420 wxRect *arg2 = 0 ;
19421 wxRect temp2 ;
19422 PyObject * obj0 = 0 ;
19423 PyObject * obj1 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self",(char *) "rect", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19430 {
19431 arg2 = &temp2;
19432 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19433 }
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 (arg1)->SetClientSize((wxRect const &)*arg2);
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 Py_INCREF(Py_None); resultobj = Py_None;
19442 return resultobj;
19443 fail:
19444 return NULL;
19445}
19446
19447
19448static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxWindow *arg1 = (wxWindow *) 0 ;
19451 wxPoint result;
19452 PyObject * obj0 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19461 result = (arg1)->GetPosition();
d14a1e28
RD
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 {
19467 wxPoint * resultptr;
19468 resultptr = new wxPoint((wxPoint &) result);
19469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19470 }
19471 return resultobj;
19472 fail:
19473 return NULL;
19474}
19475
19476
19477static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj;
19479 wxWindow *arg1 = (wxWindow *) 0 ;
19480 int *arg2 = (int *) 0 ;
19481 int *arg3 = (int *) 0 ;
19482 int temp2 ;
19483 int temp3 ;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 arg2 = &temp2;
19490 arg3 = &temp3;
19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19495 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 Py_INCREF(Py_None); resultobj = Py_None;
19501 {
19502 PyObject *o = PyInt_FromLong((long) (*arg2));
19503 resultobj = t_output_helper(resultobj,o);
19504 }
19505 {
19506 PyObject *o = PyInt_FromLong((long) (*arg3));
19507 resultobj = t_output_helper(resultobj,o);
19508 }
19509 return resultobj;
19510 fail:
19511 return NULL;
19512}
19513
19514
19515static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj;
19517 wxWindow *arg1 = (wxWindow *) 0 ;
19518 wxSize result;
19519 PyObject * obj0 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 result = ((wxWindow const *)arg1)->GetSize();
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 {
19534 wxSize * resultptr;
19535 resultptr = new wxSize((wxSize &) result);
19536 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19537 }
19538 return resultobj;
19539 fail:
19540 return NULL;
19541}
19542
19543
19544static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19545 PyObject *resultobj;
19546 wxWindow *arg1 = (wxWindow *) 0 ;
19547 int *arg2 = (int *) 0 ;
19548 int *arg3 = (int *) 0 ;
19549 int temp2 ;
19550 int temp3 ;
19551 PyObject * obj0 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self", NULL
19554 };
19555
19556 arg2 = &temp2;
19557 arg3 = &temp3;
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 Py_INCREF(Py_None); resultobj = Py_None;
19568 {
19569 PyObject *o = PyInt_FromLong((long) (*arg2));
19570 resultobj = t_output_helper(resultobj,o);
19571 }
19572 {
19573 PyObject *o = PyInt_FromLong((long) (*arg3));
19574 resultobj = t_output_helper(resultobj,o);
19575 }
19576 return resultobj;
19577 fail:
19578 return NULL;
19579}
19580
19581
19582static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxWindow *arg1 = (wxWindow *) 0 ;
19585 wxRect result;
19586 PyObject * obj0 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = ((wxWindow const *)arg1)->GetRect();
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 {
19601 wxRect * resultptr;
19602 resultptr = new wxRect((wxRect &) result);
19603 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19604 }
19605 return resultobj;
19606 fail:
19607 return NULL;
19608}
19609
19610
19611static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxWindow *arg1 = (wxWindow *) 0 ;
19614 wxSize result;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 result = ((wxWindow const *)arg1)->GetClientSize();
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 {
19630 wxSize * resultptr;
19631 resultptr = new wxSize((wxSize &) result);
19632 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19633 }
19634 return resultobj;
19635 fail:
19636 return NULL;
19637}
19638
19639
19640static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj;
19642 wxWindow *arg1 = (wxWindow *) 0 ;
19643 int *arg2 = (int *) 0 ;
19644 int *arg3 = (int *) 0 ;
19645 int temp2 ;
19646 int temp3 ;
19647 PyObject * obj0 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self", NULL
19650 };
19651
19652 arg2 = &temp2;
19653 arg3 = &temp3;
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
19659
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
19663 Py_INCREF(Py_None); resultobj = Py_None;
19664 {
19665 PyObject *o = PyInt_FromLong((long) (*arg2));
19666 resultobj = t_output_helper(resultobj,o);
19667 }
19668 {
19669 PyObject *o = PyInt_FromLong((long) (*arg3));
19670 resultobj = t_output_helper(resultobj,o);
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675}
19676
19677
19678static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxWindow *arg1 = (wxWindow *) 0 ;
19681 wxPoint result;
19682 PyObject * obj0 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
19688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 {
19697 wxPoint * resultptr;
19698 resultptr = new wxPoint((wxPoint &) result);
19699 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19700 }
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
19707static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxWindow *arg1 = (wxWindow *) 0 ;
19710 wxRect result;
19711 PyObject * obj0 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = ((wxWindow const *)arg1)->GetClientRect();
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 {
19726 wxRect * resultptr;
19727 resultptr = new wxRect((wxRect &) result);
19728 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19729 }
19730 return resultobj;
19731 fail:
19732 return NULL;
19733}
19734
19735
19736static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxWindow *arg1 = (wxWindow *) 0 ;
19739 wxSize result;
19740 PyObject * obj0 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
19746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = ((wxWindow const *)arg1)->GetBestSize();
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 {
19755 wxSize * resultptr;
19756 resultptr = new wxSize((wxSize &) result);
19757 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19758 }
19759 return resultobj;
19760 fail:
19761 return NULL;
19762}
19763
19764
19765static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxWindow *arg1 = (wxWindow *) 0 ;
19768 int *arg2 = (int *) 0 ;
19769 int *arg3 = (int *) 0 ;
19770 int temp2 ;
19771 int temp3 ;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 arg2 = &temp2;
19778 arg3 = &temp3;
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
19784
19785 wxPyEndAllowThreads(__tstate);
19786 if (PyErr_Occurred()) SWIG_fail;
19787 }
19788 Py_INCREF(Py_None); resultobj = Py_None;
19789 {
19790 PyObject *o = PyInt_FromLong((long) (*arg2));
19791 resultobj = t_output_helper(resultobj,o);
19792 }
19793 {
19794 PyObject *o = PyInt_FromLong((long) (*arg3));
19795 resultobj = t_output_helper(resultobj,o);
19796 }
19797 return resultobj;
19798 fail:
19799 return NULL;
19800}
19801
19802
19803static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxWindow *arg1 = (wxWindow *) 0 ;
19806 wxSize result;
19807 PyObject * obj0 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 wxSize * resultptr;
19823 resultptr = new wxSize((wxSize &) result);
19824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19825 }
19826 return resultobj;
19827 fail:
19828 return NULL;
19829}
19830
19831
19832static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
19833 PyObject *resultobj;
19834 wxWindow *arg1 = (wxWindow *) 0 ;
19835 int arg2 = (int) wxBOTH ;
19836 PyObject * obj0 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self",(char *) "direction", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
19842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 (arg1)->Center(arg2);
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 Py_INCREF(Py_None); resultobj = Py_None;
19851 return resultobj;
19852 fail:
19853 return NULL;
19854}
19855
19856
19857static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19858 PyObject *resultobj;
19859 wxWindow *arg1 = (wxWindow *) 0 ;
19860 int arg2 = (int) wxBOTH ;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self",(char *) "dir", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
19867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 (arg1)->CenterOnScreen(arg2);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 Py_INCREF(Py_None); resultobj = Py_None;
19876 return resultobj;
19877 fail:
19878 return NULL;
19879}
19880
19881
19882static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxWindow *arg1 = (wxWindow *) 0 ;
19885 int arg2 = (int) wxBOTH ;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self",(char *) "dir", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
19892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 (arg1)->CenterOnParent(arg2);
19896
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 Py_INCREF(Py_None); resultobj = Py_None;
19901 return resultobj;
19902 fail:
19903 return NULL;
19904}
19905
19906
19907static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxWindow *arg1 = (wxWindow *) 0 ;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
19916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 (arg1)->Fit();
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 Py_INCREF(Py_None); resultobj = Py_None;
19925 return resultobj;
19926 fail:
19927 return NULL;
19928}
19929
19930
19931static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxWindow *arg1 = (wxWindow *) 0 ;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 (arg1)->FitInside();
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 Py_INCREF(Py_None); resultobj = Py_None;
19949 return resultobj;
19950 fail:
19951 return NULL;
19952}
19953
19954
19955static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxWindow *arg1 = (wxWindow *) 0 ;
19958 int arg2 ;
19959 int arg3 ;
19960 int arg4 = (int) -1 ;
19961 int arg5 = (int) -1 ;
19962 int arg6 = (int) -1 ;
19963 int arg7 = (int) -1 ;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 Py_INCREF(Py_None); resultobj = Py_None;
19979 return resultobj;
19980 fail:
19981 return NULL;
19982}
19983
19984
19985static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxWindow *arg1 = (wxWindow *) 0 ;
19988 int arg2 ;
19989 int arg3 ;
19990 int arg4 = (int) -1 ;
19991 int arg5 = (int) -1 ;
19992 PyObject * obj0 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19999 {
20000 PyThreadState* __tstate = wxPyBeginAllowThreads();
20001 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20002
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 Py_INCREF(Py_None); resultobj = Py_None;
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
20013static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20014 PyObject *resultobj;
20015 wxWindow *arg1 = (wxWindow *) 0 ;
20016 int result;
20017 PyObject * obj0 = 0 ;
20018 char *kwnames[] = {
20019 (char *) "self", NULL
20020 };
20021
20022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 resultobj = PyInt_FromLong((long)result);
20032 return resultobj;
20033 fail:
20034 return NULL;
20035}
20036
20037
20038static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxWindow *arg1 = (wxWindow *) 0 ;
20041 int result;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 resultobj = PyInt_FromLong((long)result);
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
20063static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxWindow *arg1 = (wxWindow *) 0 ;
20066 int result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = PyInt_FromLong((long)result);
20082 return resultobj;
20083 fail:
20084 return NULL;
20085}
20086
20087
20088static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxWindow *arg1 = (wxWindow *) 0 ;
20091 int result;
20092 PyObject * obj0 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20102
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 resultobj = PyInt_FromLong((long)result);
20107 return resultobj;
20108 fail:
20109 return NULL;
20110}
20111
20112
20113static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20114 PyObject *resultobj;
20115 wxWindow *arg1 = (wxWindow *) 0 ;
20116 wxSize result;
20117 PyObject * obj0 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 {
20125 PyThreadState* __tstate = wxPyBeginAllowThreads();
20126 result = ((wxWindow const *)arg1)->GetMaxSize();
20127
20128 wxPyEndAllowThreads(__tstate);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 }
20131 {
20132 wxSize * resultptr;
20133 resultptr = new wxSize((wxSize &) result);
20134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20135 }
20136 return resultobj;
20137 fail:
20138 return NULL;
20139}
20140
20141
20142static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxWindow *arg1 = (wxWindow *) 0 ;
20145 wxSize *arg2 = 0 ;
20146 wxSize temp2 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "size", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20155 {
20156 arg2 = &temp2;
20157 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20158 }
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 Py_INCREF(Py_None); resultobj = Py_None;
20167 return resultobj;
20168 fail:
20169 return NULL;
20170}
20171
20172
20173static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxWindow *arg1 = (wxWindow *) 0 ;
20176 int arg2 ;
20177 int arg3 ;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "w",(char *) "h", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 (arg1)->SetVirtualSize(arg2,arg3);
20188
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 Py_INCREF(Py_None); resultobj = Py_None;
20193 return resultobj;
20194 fail:
20195 return NULL;
20196}
20197
20198
20199static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj;
20201 wxWindow *arg1 = (wxWindow *) 0 ;
20202 wxSize result;
20203 PyObject * obj0 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = ((wxWindow const *)arg1)->GetVirtualSize();
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 {
20218 wxSize * resultptr;
20219 resultptr = new wxSize((wxSize &) result);
20220 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20221 }
20222 return resultobj;
20223 fail:
20224 return NULL;
20225}
20226
20227
20228static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxWindow *arg1 = (wxWindow *) 0 ;
20231 int *arg2 = (int *) 0 ;
20232 int *arg3 = (int *) 0 ;
20233 int temp2 ;
20234 int temp3 ;
20235 PyObject * obj0 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self", NULL
20238 };
20239
20240 arg2 = &temp2;
20241 arg3 = &temp3;
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 Py_INCREF(Py_None); resultobj = Py_None;
20252 {
20253 PyObject *o = PyInt_FromLong((long) (*arg2));
20254 resultobj = t_output_helper(resultobj,o);
20255 }
20256 {
20257 PyObject *o = PyInt_FromLong((long) (*arg3));
20258 resultobj = t_output_helper(resultobj,o);
20259 }
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
20266static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxWindow *arg1 = (wxWindow *) 0 ;
20269 wxSize result;
20270 PyObject * obj0 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 {
20285 wxSize * resultptr;
20286 resultptr = new wxSize((wxSize &) result);
20287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20288 }
20289 return resultobj;
20290 fail:
20291 return NULL;
20292}
20293
20294
20295static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20298 bool arg2 = (bool) True ;
d14a1e28
RD
20299 bool result;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self",(char *) "show", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20308 if (obj1) {
20309 arg2 = PyInt_AsLong(obj1) ? true : false;
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 result = (bool)(arg1)->Show(arg2);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 resultobj = PyInt_FromLong((long)result);
20320 return resultobj;
20321 fail:
20322 return NULL;
20323}
20324
20325
20326static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20327 PyObject *resultobj;
20328 wxWindow *arg1 = (wxWindow *) 0 ;
20329 bool result;
20330 PyObject * obj0 = 0 ;
20331 char *kwnames[] = {
20332 (char *) "self", NULL
20333 };
20334
20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20337 {
20338 PyThreadState* __tstate = wxPyBeginAllowThreads();
20339 result = (bool)(arg1)->Hide();
20340
20341 wxPyEndAllowThreads(__tstate);
20342 if (PyErr_Occurred()) SWIG_fail;
20343 }
20344 resultobj = PyInt_FromLong((long)result);
20345 return resultobj;
20346 fail:
20347 return NULL;
20348}
20349
20350
20351static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj;
20353 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20354 bool arg2 = (bool) True ;
d14a1e28
RD
20355 bool result;
20356 PyObject * obj0 = 0 ;
20357 PyObject * obj1 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self",(char *) "enable", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20364 if (obj1) {
20365 arg2 = PyInt_AsLong(obj1) ? true : false;
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 {
20369 PyThreadState* __tstate = wxPyBeginAllowThreads();
20370 result = (bool)(arg1)->Enable(arg2);
20371
20372 wxPyEndAllowThreads(__tstate);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 resultobj = PyInt_FromLong((long)result);
20376 return resultobj;
20377 fail:
20378 return NULL;
20379}
20380
20381
20382static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj;
20384 wxWindow *arg1 = (wxWindow *) 0 ;
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (bool)(arg1)->Disable();
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 resultobj = PyInt_FromLong((long)result);
20401 return resultobj;
20402 fail:
20403 return NULL;
20404}
20405
20406
20407static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxWindow *arg1 = (wxWindow *) 0 ;
20410 bool result;
20411 PyObject * obj0 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (bool)((wxWindow const *)arg1)->IsShown();
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 resultobj = PyInt_FromLong((long)result);
20426 return resultobj;
20427 fail:
20428 return NULL;
20429}
20430
20431
20432static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxWindow *arg1 = (wxWindow *) 0 ;
20435 bool result;
20436 PyObject * obj0 = 0 ;
20437 char *kwnames[] = {
20438 (char *) "self", NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 resultobj = PyInt_FromLong((long)result);
20451 return resultobj;
20452 fail:
20453 return NULL;
20454}
20455
20456
20457static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxWindow *arg1 = (wxWindow *) 0 ;
20460 long arg2 ;
20461 PyObject * obj0 = 0 ;
20462 char *kwnames[] = {
20463 (char *) "self",(char *) "style", NULL
20464 };
20465
20466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20468 {
20469 PyThreadState* __tstate = wxPyBeginAllowThreads();
20470 (arg1)->SetWindowStyleFlag(arg2);
20471
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 Py_INCREF(Py_None); resultobj = Py_None;
20476 return resultobj;
20477 fail:
20478 return NULL;
20479}
20480
20481
20482static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20483 PyObject *resultobj;
20484 wxWindow *arg1 = (wxWindow *) 0 ;
20485 long result;
20486 PyObject * obj0 = 0 ;
20487 char *kwnames[] = {
20488 (char *) "self", NULL
20489 };
20490
20491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 resultobj = PyInt_FromLong((long)result);
20501 return resultobj;
20502 fail:
20503 return NULL;
20504}
20505
20506
20507static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxWindow *arg1 = (wxWindow *) 0 ;
20510 long arg2 ;
20511 PyObject * obj0 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self",(char *) "style", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 (arg1)->SetWindowStyle(arg2);
20521
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 Py_INCREF(Py_None); resultobj = Py_None;
20526 return resultobj;
20527 fail:
20528 return NULL;
20529}
20530
20531
20532static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj;
20534 wxWindow *arg1 = (wxWindow *) 0 ;
20535 long result;
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = PyInt_FromLong((long)result);
20551 return resultobj;
20552 fail:
20553 return NULL;
20554}
20555
20556
20557static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxWindow *arg1 = (wxWindow *) 0 ;
20560 int arg2 ;
20561 bool result;
20562 PyObject * obj0 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self",(char *) "flag", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20572
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
20576 resultobj = PyInt_FromLong((long)result);
20577 return resultobj;
20578 fail:
20579 return NULL;
20580}
20581
20582
20583static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxWindow *arg1 = (wxWindow *) 0 ;
20586 bool result;
20587 PyObject * obj0 = 0 ;
20588 char *kwnames[] = {
20589 (char *) "self", NULL
20590 };
20591
20592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 result = (bool)((wxWindow const *)arg1)->IsRetained();
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = PyInt_FromLong((long)result);
20602 return resultobj;
20603 fail:
20604 return NULL;
20605}
20606
20607
20608static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxWindow *arg1 = (wxWindow *) 0 ;
20611 long arg2 ;
20612 PyObject * obj0 = 0 ;
20613 char *kwnames[] = {
20614 (char *) "self",(char *) "exStyle", NULL
20615 };
20616
20617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 (arg1)->SetExtraStyle(arg2);
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 Py_INCREF(Py_None); resultobj = Py_None;
20627 return resultobj;
20628 fail:
20629 return NULL;
20630}
20631
20632
20633static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20634 PyObject *resultobj;
20635 wxWindow *arg1 = (wxWindow *) 0 ;
20636 long result;
20637 PyObject * obj0 = 0 ;
20638 char *kwnames[] = {
20639 (char *) "self", NULL
20640 };
20641
20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
20643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
20651 resultobj = PyInt_FromLong((long)result);
20652 return resultobj;
20653 fail:
20654 return NULL;
20655}
20656
20657
20658static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20661 bool arg2 = (bool) True ;
d14a1e28
RD
20662 PyObject * obj0 = 0 ;
20663 PyObject * obj1 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "modal", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 if (obj1) {
20671 arg2 = PyInt_AsLong(obj1) ? true : false;
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 (arg1)->MakeModal(arg2);
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 Py_INCREF(Py_None); resultobj = Py_None;
20682 return resultobj;
20683 fail:
20684 return NULL;
20685}
20686
20687
20688static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20689 PyObject *resultobj;
20690 wxWindow *arg1 = (wxWindow *) 0 ;
20691 bool arg2 ;
20692 PyObject * obj0 = 0 ;
20693 PyObject * obj1 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self",(char *) "enableTheme", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20700 arg2 = PyInt_AsLong(obj1) ? true : false;
20701 if (PyErr_Occurred()) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 (arg1)->SetThemeEnabled(arg2);
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_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxWindow *arg1 = (wxWindow *) 0 ;
20719 bool result;
20720 PyObject * obj0 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",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 = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 resultobj = PyInt_FromLong((long)result);
20735 return resultobj;
20736 fail:
20737 return NULL;
20738}
20739
20740
20741static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
20742 PyObject *resultobj;
20743 wxWindow *arg1 = (wxWindow *) 0 ;
20744 bool result;
20745 PyObject * obj0 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
20759 resultobj = PyInt_FromLong((long)result);
20760 return resultobj;
20761 fail:
20762 return NULL;
20763}
20764
20765
20766static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20767 PyObject *resultobj;
20768 wxWindow *arg1 = (wxWindow *) 0 ;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
20775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 (arg1)->SetFocus();
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 Py_INCREF(Py_None); resultobj = Py_None;
20784 return resultobj;
20785 fail:
20786 return NULL;
20787}
20788
20789
20790static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
20791 PyObject *resultobj;
20792 wxWindow *arg1 = (wxWindow *) 0 ;
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
20799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 (arg1)->SetFocusFromKbd();
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 Py_INCREF(Py_None); resultobj = Py_None;
20808 return resultobj;
20809 fail:
20810 return NULL;
20811}
20812
20813
20814static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxWindow *result;
20817 char *kwnames[] = {
20818 NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (wxWindow *)wxWindow::FindFocus();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
20830 resultobj = wxPyMake_wxObject(result);
20831 }
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
20838static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 wxWindow *arg1 = (wxWindow *) 0 ;
20841 bool result;
20842 PyObject * obj0 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
20848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 resultobj = PyInt_FromLong((long)result);
20857 return resultobj;
20858 fail:
20859 return NULL;
20860}
20861
20862
20863static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
20864 PyObject *resultobj;
20865 wxWindow *arg1 = (wxWindow *) 0 ;
20866 bool result;
20867 PyObject * obj0 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20874 {
20875 PyThreadState* __tstate = wxPyBeginAllowThreads();
20876 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
20877
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 resultobj = PyInt_FromLong((long)result);
20882 return resultobj;
20883 fail:
20884 return NULL;
20885}
20886
20887
20888static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20889 PyObject *resultobj;
20890 wxWindow *arg1 = (wxWindow *) 0 ;
20891 wxWindow *result;
20892 PyObject * obj0 = 0 ;
20893 char *kwnames[] = {
20894 (char *) "self", NULL
20895 };
20896
20897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
20898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20899 {
20900 PyThreadState* __tstate = wxPyBeginAllowThreads();
20901 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
20902
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 {
20907 resultobj = wxPyMake_wxObject(result);
20908 }
20909 return resultobj;
20910 fail:
20911 return NULL;
20912}
20913
20914
20915static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20916 PyObject *resultobj;
20917 wxWindow *arg1 = (wxWindow *) 0 ;
20918 wxWindow *arg2 = (wxWindow *) 0 ;
20919 wxWindow *result;
20920 PyObject * obj0 = 0 ;
20921 PyObject * obj1 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self",(char *) "child", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 {
20937 resultobj = wxPyMake_wxObject(result);
20938 }
20939 return resultobj;
20940 fail:
20941 return NULL;
20942}
20943
20944
20945static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20946 PyObject *resultobj;
20947 wxWindow *arg1 = (wxWindow *) 0 ;
20948 wxWindow *arg2 = (wxWindow *) 0 ;
20949 PyObject * obj0 = 0 ;
20950 PyObject * obj1 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self",(char *) "win", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 (arg1)->SetTmpDefaultItem(arg2);
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 Py_INCREF(Py_None); resultobj = Py_None;
20966 return resultobj;
20967 fail:
20968 return NULL;
20969}
20970
20971
20972static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxWindow *arg1 = (wxWindow *) 0 ;
20975 PyObject *result;
20976 PyObject * obj0 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 result = (PyObject *)wxWindow_GetChildren(arg1);
20986
20987 wxPyEndAllowThreads(__tstate);
20988 if (PyErr_Occurred()) SWIG_fail;
20989 }
20990 resultobj = result;
20991 return resultobj;
20992 fail:
20993 return NULL;
20994}
20995
20996
20997static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxWindow *arg1 = (wxWindow *) 0 ;
21000 wxWindow *result;
21001 PyObject * obj0 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 {
21016 resultobj = wxPyMake_wxObject(result);
21017 }
21018 return resultobj;
21019 fail:
21020 return NULL;
21021}
21022
21023
21024static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxWindow *arg1 = (wxWindow *) 0 ;
21027 wxWindow *result;
21028 PyObject * obj0 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) 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 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 {
21043 resultobj = wxPyMake_wxObject(result);
21044 }
21045 return resultobj;
21046 fail:
21047 return NULL;
21048}
21049
21050
21051static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21052 PyObject *resultobj;
21053 wxWindow *arg1 = (wxWindow *) 0 ;
21054 bool result;
21055 PyObject * obj0 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = PyInt_FromLong((long)result);
21070 return resultobj;
21071 fail:
21072 return NULL;
21073}
21074
21075
21076static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxWindow *arg1 = (wxWindow *) 0 ;
21079 wxWindow *arg2 = (wxWindow *) 0 ;
21080 bool result;
21081 PyObject * obj0 = 0 ;
21082 PyObject * obj1 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self",(char *) "newParent", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = (bool)(arg1)->Reparent(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 resultobj = PyInt_FromLong((long)result);
21098 return resultobj;
21099 fail:
21100 return NULL;
21101}
21102
21103
21104static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj;
21106 wxWindow *arg1 = (wxWindow *) 0 ;
21107 wxWindow *arg2 = (wxWindow *) 0 ;
21108 PyObject * obj0 = 0 ;
21109 PyObject * obj1 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self",(char *) "child", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 (arg1)->AddChild(arg2);
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 Py_INCREF(Py_None); resultobj = Py_None;
21125 return resultobj;
21126 fail:
21127 return NULL;
21128}
21129
21130
21131static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj;
21133 wxWindow *arg1 = (wxWindow *) 0 ;
21134 wxWindow *arg2 = (wxWindow *) 0 ;
21135 PyObject * obj0 = 0 ;
21136 PyObject * obj1 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self",(char *) "child", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 (arg1)->RemoveChild(arg2);
21147
21148 wxPyEndAllowThreads(__tstate);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
21151 Py_INCREF(Py_None); resultobj = Py_None;
21152 return resultobj;
21153 fail:
21154 return NULL;
21155}
21156
21157
21158static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21159 PyObject *resultobj;
21160 wxWindow *arg1 = (wxWindow *) 0 ;
21161 long arg2 ;
21162 wxWindow *result;
21163 PyObject * obj0 = 0 ;
21164 char *kwnames[] = {
21165 (char *) "self",(char *) "winid", NULL
21166 };
21167
21168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (wxWindow *)(arg1)->FindWindow(arg2);
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 {
21178 resultobj = wxPyMake_wxObject(result);
21179 }
21180 return resultobj;
21181 fail:
21182 return NULL;
21183}
21184
21185
21186static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxWindow *arg1 = (wxWindow *) 0 ;
21189 wxString *arg2 = 0 ;
21190 wxWindow *result;
423f194a 21191 bool temp2 = False ;
d14a1e28
RD
21192 PyObject * obj0 = 0 ;
21193 PyObject * obj1 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self",(char *) "name", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21200 {
21201 arg2 = wxString_in_helper(obj1);
21202 if (arg2 == NULL) SWIG_fail;
423f194a 21203 temp2 = True;
d14a1e28
RD
21204 }
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 {
21213 resultobj = wxPyMake_wxObject(result);
21214 }
21215 {
21216 if (temp2)
21217 delete arg2;
21218 }
21219 return resultobj;
21220 fail:
21221 {
21222 if (temp2)
21223 delete arg2;
21224 }
21225 return NULL;
21226}
21227
21228
21229static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21230 PyObject *resultobj;
21231 wxWindow *arg1 = (wxWindow *) 0 ;
21232 wxEvtHandler *result;
21233 PyObject * obj0 = 0 ;
21234 char *kwnames[] = {
21235 (char *) "self", NULL
21236 };
21237
21238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21240 {
21241 PyThreadState* __tstate = wxPyBeginAllowThreads();
21242 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 {
21248 resultobj = wxPyMake_wxObject(result);
21249 }
21250 return resultobj;
21251 fail:
21252 return NULL;
21253}
21254
21255
21256static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj;
21258 wxWindow *arg1 = (wxWindow *) 0 ;
21259 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "handler", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 (arg1)->SetEventHandler(arg2);
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 Py_INCREF(Py_None); resultobj = Py_None;
21277 return resultobj;
21278 fail:
21279 return NULL;
21280}
21281
21282
21283static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxWindow *arg1 = (wxWindow *) 0 ;
21286 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21287 PyObject * obj0 = 0 ;
21288 PyObject * obj1 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "self",(char *) "handler", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->PushEventHandler(arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 Py_INCREF(Py_None); resultobj = Py_None;
21304 return resultobj;
21305 fail:
21306 return NULL;
21307}
21308
21309
21310static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21313 bool arg2 = (bool) False ;
d14a1e28
RD
21314 wxEvtHandler *result;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self",(char *) "deleteHandler", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21323 if (obj1) {
21324 arg2 = PyInt_AsLong(obj1) ? true : false;
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 {
21335 resultobj = wxPyMake_wxObject(result);
21336 }
21337 return resultobj;
21338 fail:
21339 return NULL;
21340}
21341
21342
21343static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 wxWindow *arg1 = (wxWindow *) 0 ;
21346 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21347 bool result;
21348 PyObject * obj0 = 0 ;
21349 PyObject * obj1 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self",(char *) "handler", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (bool)(arg1)->RemoveEventHandler(arg2);
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 resultobj = PyInt_FromLong((long)result);
21365 return resultobj;
21366 fail:
21367 return NULL;
21368}
21369
21370
21371static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj;
21373 wxWindow *arg1 = (wxWindow *) 0 ;
21374 wxValidator *arg2 = 0 ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self",(char *) "validator", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21384 if (arg2 == NULL) {
21385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21386 }
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 (arg1)->SetValidator((wxValidator const &)*arg2);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 Py_INCREF(Py_None); resultobj = Py_None;
21395 return resultobj;
21396 fail:
21397 return NULL;
21398}
21399
21400
21401static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxWindow *arg1 = (wxWindow *) 0 ;
21404 wxValidator *result;
21405 PyObject * obj0 = 0 ;
21406 char *kwnames[] = {
21407 (char *) "self", NULL
21408 };
21409
21410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = (wxValidator *)(arg1)->GetValidator();
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 {
21420 resultobj = wxPyMake_wxObject(result);
21421 }
21422 return resultobj;
21423 fail:
21424 return NULL;
21425}
21426
21427
21428static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj;
21430 wxWindow *arg1 = (wxWindow *) 0 ;
21431 wxAcceleratorTable *arg2 = 0 ;
21432 PyObject * obj0 = 0 ;
21433 PyObject * obj1 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "accel", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21441 if (arg2 == NULL) {
21442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21443 }
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 Py_INCREF(Py_None); resultobj = Py_None;
21452 return resultobj;
21453 fail:
21454 return NULL;
21455}
21456
21457
21458static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxWindow *arg1 = (wxWindow *) 0 ;
21461 wxAcceleratorTable *result;
21462 PyObject * obj0 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21477 return resultobj;
21478 fail:
21479 return NULL;
21480}
21481
21482
21483static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxWindow *arg1 = (wxWindow *) 0 ;
21486 int arg2 ;
21487 int arg3 ;
21488 int arg4 ;
21489 bool result;
21490 PyObject * obj0 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21500
21501 wxPyEndAllowThreads(__tstate);
21502 if (PyErr_Occurred()) SWIG_fail;
21503 }
21504 resultobj = PyInt_FromLong((long)result);
21505 return resultobj;
21506 fail:
21507 return NULL;
21508}
21509
21510
21511static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj;
21513 wxWindow *arg1 = (wxWindow *) 0 ;
21514 int arg2 ;
21515 bool result;
21516 PyObject * obj0 = 0 ;
21517 char *kwnames[] = {
21518 (char *) "self",(char *) "hotkeyId", NULL
21519 };
21520
21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 resultobj = PyInt_FromLong((long)result);
21531 return resultobj;
21532 fail:
21533 return NULL;
21534}
21535
21536
21537static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxWindow *arg1 = (wxWindow *) 0 ;
21540 wxPoint *arg2 = 0 ;
21541 wxPoint result;
21542 wxPoint temp2 ;
21543 PyObject * obj0 = 0 ;
21544 PyObject * obj1 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self",(char *) "pt", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21551 {
21552 arg2 = &temp2;
21553 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21554 }
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 {
21563 wxPoint * resultptr;
21564 resultptr = new wxPoint((wxPoint &) result);
21565 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21566 }
21567 return resultobj;
21568 fail:
21569 return NULL;
21570}
21571
21572
21573static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxWindow *arg1 = (wxWindow *) 0 ;
21576 wxSize *arg2 = 0 ;
21577 wxSize result;
21578 wxSize temp2 ;
21579 PyObject * obj0 = 0 ;
21580 PyObject * obj1 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "sz", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21587 {
21588 arg2 = &temp2;
21589 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 {
21599 wxSize * resultptr;
21600 resultptr = new wxSize((wxSize &) result);
21601 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21602 }
21603 return resultobj;
21604 fail:
21605 return NULL;
21606}
21607
21608
21609static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21610 PyObject *resultobj;
21611 wxWindow *arg1 = (wxWindow *) 0 ;
21612 wxPoint *arg2 = 0 ;
21613 wxPoint result;
21614 wxPoint temp2 ;
21615 PyObject * obj0 = 0 ;
21616 PyObject * obj1 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self",(char *) "pt", NULL
21619 };
21620
21621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21623 {
21624 arg2 = &temp2;
21625 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21626 }
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 {
21635 wxPoint * resultptr;
21636 resultptr = new wxPoint((wxPoint &) result);
21637 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21638 }
21639 return resultobj;
21640 fail:
21641 return NULL;
21642}
21643
21644
21645static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
21646 PyObject *resultobj;
21647 wxWindow *arg1 = (wxWindow *) 0 ;
21648 wxSize *arg2 = 0 ;
21649 wxSize result;
21650 wxSize temp2 ;
21651 PyObject * obj0 = 0 ;
21652 PyObject * obj1 = 0 ;
21653 char *kwnames[] = {
21654 (char *) "self",(char *) "sz", NULL
21655 };
21656
21657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
21658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21659 {
21660 arg2 = &temp2;
21661 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21662 }
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 {
21671 wxSize * resultptr;
21672 resultptr = new wxSize((wxSize &) result);
21673 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21674 }
21675 return resultobj;
21676 fail:
21677 return NULL;
21678}
21679
21680
21681static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxWindow *arg1 = (wxWindow *) 0 ;
21684 wxPoint *arg2 = 0 ;
21685 wxPoint result;
21686 wxPoint temp2 ;
21687 PyObject * obj0 = 0 ;
21688 PyObject * obj1 = 0 ;
21689 char *kwnames[] = {
21690 (char *) "self",(char *) "pt", NULL
21691 };
21692
21693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
21694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21695 {
21696 arg2 = &temp2;
21697 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21698 }
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 {
21707 wxPoint * resultptr;
21708 resultptr = new wxPoint((wxPoint &) result);
21709 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21710 }
21711 return resultobj;
21712 fail:
21713 return NULL;
21714}
21715
21716
21717static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21718 PyObject *resultobj;
21719 wxWindow *arg1 = (wxWindow *) 0 ;
21720 wxSize *arg2 = 0 ;
21721 wxSize result;
21722 wxSize temp2 ;
21723 PyObject * obj0 = 0 ;
21724 PyObject * obj1 = 0 ;
21725 char *kwnames[] = {
21726 (char *) "self",(char *) "sz", NULL
21727 };
21728
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21731 {
21732 arg2 = &temp2;
21733 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21734 }
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 {
21743 wxSize * resultptr;
21744 resultptr = new wxSize((wxSize &) result);
21745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21746 }
21747 return resultobj;
21748 fail:
21749 return NULL;
21750}
21751
21752
21753static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxWindow *arg1 = (wxWindow *) 0 ;
21756 int arg2 ;
21757 int arg3 ;
21758 PyObject * obj0 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self",(char *) "x",(char *) "y", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 (arg1)->WarpPointer(arg2,arg3);
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 Py_INCREF(Py_None); resultobj = Py_None;
21773 return resultobj;
21774 fail:
21775 return NULL;
21776}
21777
21778
21779static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 wxWindow *arg1 = (wxWindow *) 0 ;
21782 PyObject * obj0 = 0 ;
21783 char *kwnames[] = {
21784 (char *) "self", NULL
21785 };
21786
21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
21788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->CaptureMouse();
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
21803static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxWindow *arg1 = (wxWindow *) 0 ;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
21812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 (arg1)->ReleaseMouse();
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_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxWindow *result;
21830 char *kwnames[] = {
21831 NULL
21832 };
21833
21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 result = (wxWindow *)wxWindow::GetCapture();
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 {
21843 resultobj = wxPyMake_wxObject(result);
21844 }
21845 return resultobj;
21846 fail:
21847 return NULL;
21848}
21849
21850
21851static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21852 PyObject *resultobj;
21853 wxWindow *arg1 = (wxWindow *) 0 ;
21854 bool result;
21855 PyObject * obj0 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
21861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = (bool)((wxWindow const *)arg1)->HasCapture();
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 resultobj = PyInt_FromLong((long)result);
21870 return resultobj;
21871 fail:
21872 return NULL;
21873}
21874
21875
21876static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
21877 PyObject *resultobj;
21878 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21879 bool arg2 = (bool) True ;
d14a1e28
RD
21880 wxRect *arg3 = (wxRect *) NULL ;
21881 PyObject * obj0 = 0 ;
21882 PyObject * obj1 = 0 ;
21883 PyObject * obj2 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
21889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21890 if (obj1) {
21891 arg2 = PyInt_AsLong(obj1) ? true : false;
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 if (obj2) {
21895 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21896 }
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 (arg1)->Refresh(arg2,(wxRect const *)arg3);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 Py_INCREF(Py_None); resultobj = Py_None;
21905 return resultobj;
21906 fail:
21907 return NULL;
21908}
21909
21910
21911static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxWindow *arg1 = (wxWindow *) 0 ;
21914 wxRect *arg2 = 0 ;
21915 wxRect temp2 ;
21916 PyObject * obj0 = 0 ;
21917 PyObject * obj1 = 0 ;
21918 char *kwnames[] = {
21919 (char *) "self",(char *) "rect", NULL
21920 };
21921
21922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
21923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21924 {
21925 arg2 = &temp2;
21926 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21927 }
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->RefreshRect((wxRect const &)*arg2);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 Py_INCREF(Py_None); resultobj = Py_None;
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
21942static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxWindow *arg1 = (wxWindow *) 0 ;
21945 PyObject * obj0 = 0 ;
21946 char *kwnames[] = {
21947 (char *) "self", NULL
21948 };
21949
21950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
21951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21952 {
21953 PyThreadState* __tstate = wxPyBeginAllowThreads();
21954 (arg1)->Update();
21955
21956 wxPyEndAllowThreads(__tstate);
21957 if (PyErr_Occurred()) SWIG_fail;
21958 }
21959 Py_INCREF(Py_None); resultobj = Py_None;
21960 return resultobj;
21961 fail:
21962 return NULL;
21963}
21964
21965
21966static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
21967 PyObject *resultobj;
21968 wxWindow *arg1 = (wxWindow *) 0 ;
21969 PyObject * obj0 = 0 ;
21970 char *kwnames[] = {
21971 (char *) "self", NULL
21972 };
21973
21974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
21975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21976 {
21977 PyThreadState* __tstate = wxPyBeginAllowThreads();
21978 (arg1)->ClearBackground();
21979
21980 wxPyEndAllowThreads(__tstate);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 }
21983 Py_INCREF(Py_None); resultobj = Py_None;
21984 return resultobj;
21985 fail:
21986 return NULL;
21987}
21988
21989
21990static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
21991 PyObject *resultobj;
21992 wxWindow *arg1 = (wxWindow *) 0 ;
21993 PyObject * obj0 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->Freeze();
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011}
22012
22013
22014static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxWindow *arg1 = (wxWindow *) 0 ;
22017 PyObject * obj0 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "self", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 (arg1)->Thaw();
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 Py_INCREF(Py_None); resultobj = Py_None;
22032 return resultobj;
22033 fail:
22034 return NULL;
22035}
22036
22037
22038static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22039 PyObject *resultobj;
22040 wxWindow *arg1 = (wxWindow *) 0 ;
22041 wxDC *arg2 = 0 ;
22042 PyObject * obj0 = 0 ;
22043 PyObject * obj1 = 0 ;
22044 char *kwnames[] = {
22045 (char *) "self",(char *) "dc", NULL
22046 };
22047
22048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22051 if (arg2 == NULL) {
22052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22053 }
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 (arg1)->PrepareDC(*arg2);
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 Py_INCREF(Py_None); resultobj = Py_None;
22062 return resultobj;
22063 fail:
22064 return NULL;
22065}
22066
22067
22068static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxWindow *arg1 = (wxWindow *) 0 ;
22071 wxRegion *result;
22072 PyObject * obj0 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "self", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 {
22082 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22083 result = (wxRegion *) &_result_ref;
22084 }
22085
22086 wxPyEndAllowThreads(__tstate);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
22089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22090 return resultobj;
22091 fail:
22092 return NULL;
22093}
22094
22095
22096static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 wxWindow *arg1 = (wxWindow *) 0 ;
22099 wxRect result;
22100 PyObject * obj0 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 {
22115 wxRect * resultptr;
22116 resultptr = new wxRect((wxRect &) result);
22117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22118 }
22119 return resultobj;
22120 fail:
22121 return NULL;
22122}
22123
22124
22125static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxWindow *arg1 = (wxWindow *) 0 ;
22128 int arg2 ;
22129 int arg3 ;
22130 int arg4 = (int) 1 ;
22131 int arg5 = (int) 1 ;
22132 bool result;
22133 PyObject * obj0 = 0 ;
22134 char *kwnames[] = {
22135 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22136 };
22137
22138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 resultobj = PyInt_FromLong((long)result);
22148 return resultobj;
22149 fail:
22150 return NULL;
22151}
22152
22153
22154static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22155 PyObject *resultobj;
22156 wxWindow *arg1 = (wxWindow *) 0 ;
22157 wxPoint *arg2 = 0 ;
22158 bool result;
22159 wxPoint temp2 ;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self",(char *) "pt", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22168 {
22169 arg2 = &temp2;
22170 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22171 }
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 resultobj = PyInt_FromLong((long)result);
22180 return resultobj;
22181 fail:
22182 return NULL;
22183}
22184
22185
22186static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxWindow *arg1 = (wxWindow *) 0 ;
22189 wxRect *arg2 = 0 ;
22190 bool result;
22191 wxRect temp2 ;
22192 PyObject * obj0 = 0 ;
22193 PyObject * obj1 = 0 ;
22194 char *kwnames[] = {
22195 (char *) "self",(char *) "rect", NULL
22196 };
22197
22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22200 {
22201 arg2 = &temp2;
22202 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22203 }
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 resultobj = PyInt_FromLong((long)result);
22212 return resultobj;
22213 fail:
22214 return NULL;
22215}
22216
22217
22218static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 wxWindow *arg1 = (wxWindow *) 0 ;
22221 wxColour *arg2 = 0 ;
22222 bool result;
22223 wxColour temp2 ;
22224 PyObject * obj0 = 0 ;
22225 PyObject * obj1 = 0 ;
22226 char *kwnames[] = {
22227 (char *) "self",(char *) "colour", NULL
22228 };
22229
22230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22232 {
22233 arg2 = &temp2;
22234 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22235 }
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22239
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 resultobj = PyInt_FromLong((long)result);
22244 return resultobj;
22245 fail:
22246 return NULL;
22247}
22248
22249
22250static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22251 PyObject *resultobj;
22252 wxWindow *arg1 = (wxWindow *) 0 ;
22253 wxColour *arg2 = 0 ;
22254 bool result;
22255 wxColour temp2 ;
22256 PyObject * obj0 = 0 ;
22257 PyObject * obj1 = 0 ;
22258 char *kwnames[] = {
22259 (char *) "self",(char *) "colour", NULL
22260 };
22261
22262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22264 {
22265 arg2 = &temp2;
22266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22267 }
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 resultobj = PyInt_FromLong((long)result);
22276 return resultobj;
22277 fail:
22278 return NULL;
22279}
22280
22281
22282static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22283 PyObject *resultobj;
22284 wxWindow *arg1 = (wxWindow *) 0 ;
22285 wxColour result;
22286 PyObject * obj0 = 0 ;
22287 char *kwnames[] = {
22288 (char *) "self", NULL
22289 };
22290
22291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22296
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 {
22301 wxColour * resultptr;
22302 resultptr = new wxColour((wxColour &) result);
22303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22304 }
22305 return resultobj;
22306 fail:
22307 return NULL;
22308}
22309
22310
22311static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxWindow *arg1 = (wxWindow *) 0 ;
22314 wxColour result;
22315 PyObject * obj0 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 result = ((wxWindow const *)arg1)->GetForegroundColour();
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 {
22330 wxColour * resultptr;
22331 resultptr = new wxColour((wxColour &) result);
22332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22333 }
22334 return resultobj;
22335 fail:
22336 return NULL;
22337}
22338
22339
22340static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxWindow *arg1 = (wxWindow *) 0 ;
22343 wxCursor *arg2 = 0 ;
22344 bool result;
22345 PyObject * obj0 = 0 ;
22346 PyObject * obj1 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self",(char *) "cursor", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22354 if (arg2 == NULL) {
22355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22356 }
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22360
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 resultobj = PyInt_FromLong((long)result);
22365 return resultobj;
22366 fail:
22367 return NULL;
22368}
22369
22370
22371static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj;
22373 wxWindow *arg1 = (wxWindow *) 0 ;
22374 wxCursor *result;
22375 PyObject * obj0 = 0 ;
22376 char *kwnames[] = {
22377 (char *) "self", NULL
22378 };
22379
22380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 {
22385 wxCursor &_result_ref = (arg1)->GetCursor();
22386 result = (wxCursor *) &_result_ref;
22387 }
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22393 return resultobj;
22394 fail:
22395 return NULL;
22396}
22397
22398
22399static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxWindow *arg1 = (wxWindow *) 0 ;
22402 wxFont *arg2 = 0 ;
22403 bool result;
22404 PyObject * obj0 = 0 ;
22405 PyObject * obj1 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self",(char *) "font", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22413 if (arg2 == NULL) {
22414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22415 }
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 resultobj = PyInt_FromLong((long)result);
22424 return resultobj;
22425 fail:
22426 return NULL;
22427}
22428
22429
22430static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22431 PyObject *resultobj;
22432 wxWindow *arg1 = (wxWindow *) 0 ;
22433 wxFont *result;
22434 PyObject * obj0 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 {
22444 wxFont &_result_ref = (arg1)->GetFont();
22445 result = (wxFont *) &_result_ref;
22446 }
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22452 return resultobj;
22453 fail:
22454 return NULL;
22455}
22456
22457
22458static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxWindow *arg1 = (wxWindow *) 0 ;
22461 wxCaret *arg2 = (wxCaret *) 0 ;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self",(char *) "caret", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 (arg1)->SetCaret(arg2);
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 Py_INCREF(Py_None); resultobj = Py_None;
22479 return resultobj;
22480 fail:
22481 return NULL;
22482}
22483
22484
22485static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxWindow *arg1 = (wxWindow *) 0 ;
22488 wxCaret *result;
22489 PyObject * obj0 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22504 return resultobj;
22505 fail:
22506 return NULL;
22507}
22508
22509
22510static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxWindow *arg1 = (wxWindow *) 0 ;
22513 int result;
22514 PyObject * obj0 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 resultobj = PyInt_FromLong((long)result);
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
22535static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj;
22537 wxWindow *arg1 = (wxWindow *) 0 ;
22538 int result;
22539 PyObject * obj0 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = PyInt_FromLong((long)result);
22554 return resultobj;
22555 fail:
22556 return NULL;
22557}
22558
22559
22560static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxWindow *arg1 = (wxWindow *) 0 ;
22563 wxString *arg2 = 0 ;
22564 int *arg3 = (int *) 0 ;
22565 int *arg4 = (int *) 0 ;
423f194a 22566 bool temp2 = False ;
d14a1e28
RD
22567 int temp3 ;
22568 int temp4 ;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self",(char *) "string", NULL
22573 };
22574
22575 arg3 = &temp3;
22576 arg4 = &temp4;
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22579 {
22580 arg2 = wxString_in_helper(obj1);
22581 if (arg2 == NULL) SWIG_fail;
423f194a 22582 temp2 = True;
d14a1e28
RD
22583 }
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 {
22593 PyObject *o = PyInt_FromLong((long) (*arg3));
22594 resultobj = t_output_helper(resultobj,o);
22595 }
22596 {
22597 PyObject *o = PyInt_FromLong((long) (*arg4));
22598 resultobj = t_output_helper(resultobj,o);
22599 }
22600 {
22601 if (temp2)
22602 delete arg2;
22603 }
22604 return resultobj;
22605 fail:
22606 {
22607 if (temp2)
22608 delete arg2;
22609 }
22610 return NULL;
22611}
22612
22613
22614static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxWindow *arg1 = (wxWindow *) 0 ;
22617 wxString *arg2 = 0 ;
22618 int *arg3 = (int *) 0 ;
22619 int *arg4 = (int *) 0 ;
22620 int *arg5 = (int *) 0 ;
22621 int *arg6 = (int *) 0 ;
22622 wxFont *arg7 = (wxFont *) NULL ;
423f194a 22623 bool temp2 = False ;
d14a1e28
RD
22624 int temp3 ;
22625 int temp4 ;
22626 int temp5 ;
22627 int temp6 ;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 PyObject * obj2 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self",(char *) "string",(char *) "font", NULL
22633 };
22634
22635 arg3 = &temp3;
22636 arg4 = &temp4;
22637 arg5 = &temp5;
22638 arg6 = &temp6;
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22641 {
22642 arg2 = wxString_in_helper(obj1);
22643 if (arg2 == NULL) SWIG_fail;
423f194a 22644 temp2 = True;
d14a1e28
RD
22645 }
22646 if (obj2) {
22647 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22648 }
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 Py_INCREF(Py_None); resultobj = Py_None;
22657 {
22658 PyObject *o = PyInt_FromLong((long) (*arg3));
22659 resultobj = t_output_helper(resultobj,o);
22660 }
22661 {
22662 PyObject *o = PyInt_FromLong((long) (*arg4));
22663 resultobj = t_output_helper(resultobj,o);
22664 }
22665 {
22666 PyObject *o = PyInt_FromLong((long) (*arg5));
22667 resultobj = t_output_helper(resultobj,o);
22668 }
22669 {
22670 PyObject *o = PyInt_FromLong((long) (*arg6));
22671 resultobj = t_output_helper(resultobj,o);
22672 }
22673 {
22674 if (temp2)
22675 delete arg2;
22676 }
22677 return resultobj;
22678 fail:
22679 {
22680 if (temp2)
22681 delete arg2;
22682 }
22683 return NULL;
22684}
22685
22686
22687static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 wxWindow *arg1 = (wxWindow *) 0 ;
22690 int *arg2 = (int *) 0 ;
22691 int *arg3 = (int *) 0 ;
22692 int temp2 ;
22693 int temp3 ;
22694 PyObject * obj0 = 0 ;
22695 PyObject * obj1 = 0 ;
22696 PyObject * obj2 = 0 ;
22697 char *kwnames[] = {
22698 (char *) "self",(char *) "x",(char *) "y", NULL
22699 };
22700
22701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22703 {
22704 temp2 = PyInt_AsLong(obj1);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 arg2 = &temp2;
22707 }
22708 {
22709 temp3 = PyInt_AsLong(obj2);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 arg3 = &temp3;
22712 }
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 {
22722 PyObject *o = PyInt_FromLong((long) (*arg2));
22723 resultobj = t_output_helper(resultobj,o);
22724 }
22725 {
22726 PyObject *o = PyInt_FromLong((long) (*arg3));
22727 resultobj = t_output_helper(resultobj,o);
22728 }
22729 return resultobj;
22730 fail:
22731 return NULL;
22732}
22733
22734
22735static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj;
22737 wxWindow *arg1 = (wxWindow *) 0 ;
22738 int *arg2 = (int *) 0 ;
22739 int *arg3 = (int *) 0 ;
22740 int temp2 ;
22741 int temp3 ;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744 PyObject * obj2 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "x",(char *) "y", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 {
22752 temp2 = PyInt_AsLong(obj1);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 arg2 = &temp2;
22755 }
22756 {
22757 temp3 = PyInt_AsLong(obj2);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 arg3 = &temp3;
22760 }
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
22764
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 Py_INCREF(Py_None); resultobj = Py_None;
22769 {
22770 PyObject *o = PyInt_FromLong((long) (*arg2));
22771 resultobj = t_output_helper(resultobj,o);
22772 }
22773 {
22774 PyObject *o = PyInt_FromLong((long) (*arg3));
22775 resultobj = t_output_helper(resultobj,o);
22776 }
22777 return resultobj;
22778 fail:
22779 return NULL;
22780}
22781
22782
22783static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxWindow *arg1 = (wxWindow *) 0 ;
22786 wxPoint *arg2 = 0 ;
22787 wxPoint result;
22788 wxPoint temp2 ;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self",(char *) "pt", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22797 {
22798 arg2 = &temp2;
22799 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22800 }
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 {
22809 wxPoint * resultptr;
22810 resultptr = new wxPoint((wxPoint &) result);
22811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
22819static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxWindow *arg1 = (wxWindow *) 0 ;
22822 wxPoint *arg2 = 0 ;
22823 wxPoint result;
22824 wxPoint temp2 ;
22825 PyObject * obj0 = 0 ;
22826 PyObject * obj1 = 0 ;
22827 char *kwnames[] = {
22828 (char *) "self",(char *) "pt", NULL
22829 };
22830
22831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
22832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22833 {
22834 arg2 = &temp2;
22835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22836 }
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
22845 wxPoint * resultptr;
22846 resultptr = new wxPoint((wxPoint &) result);
22847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22848 }
22849 return resultobj;
22850 fail:
22851 return NULL;
22852}
22853
22854
22855static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
22858 int arg2 ;
22859 int arg3 ;
d14a1e28
RD
22860 int result;
22861 PyObject * obj0 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self",(char *) "x",(char *) "y", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
22867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 resultobj = PyInt_FromLong((long)result);
22876 return resultobj;
22877 fail:
22878 return NULL;
22879}
22880
22881
22882static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj;
22884 wxWindow *arg1 = (wxWindow *) 0 ;
22885 wxPoint *arg2 = 0 ;
22886 int result;
22887 wxPoint temp2 ;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 char *kwnames[] = {
22891 (char *) "self",(char *) "pt", NULL
22892 };
22893
22894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
22895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22896 {
22897 arg2 = &temp2;
22898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22899 }
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 resultobj = PyInt_FromLong((long)result);
22908 return resultobj;
22909 fail:
22910 return NULL;
22911}
22912
22913
22914static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 wxWindow *arg1 = (wxWindow *) 0 ;
22917 long arg2 ;
22918 int result;
22919 PyObject * obj0 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "flags", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
22925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 resultobj = PyInt_FromLong((long)result);
22934 return resultobj;
22935 fail:
22936 return NULL;
22937}
22938
22939
22940static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
22941 PyObject *resultobj;
22942 wxWindow *arg1 = (wxWindow *) 0 ;
22943 int result;
22944 PyObject * obj0 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
22950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (int)((wxWindow const *)arg1)->GetBorder();
22954
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 resultobj = PyInt_FromLong((long)result);
22959 return resultobj;
22960 fail:
22961 return NULL;
22962}
22963
22964
22965static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
22966 PyObject *resultobj;
22967 wxWindow *arg1 = (wxWindow *) 0 ;
22968 long arg2 = (long) wxUPDATE_UI_NONE ;
22969 PyObject * obj0 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self",(char *) "flags", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 (arg1)->UpdateWindowUI(arg2);
22979
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 Py_INCREF(Py_None); resultobj = Py_None;
22984 return resultobj;
22985 fail:
22986 return NULL;
22987}
22988
22989
22990static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxWindow *arg1 = (wxWindow *) 0 ;
22993 wxMenu *arg2 = (wxMenu *) 0 ;
22994 int arg3 ;
22995 int arg4 ;
22996 bool result;
22997 PyObject * obj0 = 0 ;
22998 PyObject * obj1 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 resultobj = PyInt_FromLong((long)result);
23014 return resultobj;
23015 fail:
23016 return NULL;
23017}
23018
23019
23020static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxWindow *arg1 = (wxWindow *) 0 ;
23023 wxMenu *arg2 = (wxMenu *) 0 ;
23024 wxPoint *arg3 = 0 ;
23025 bool result;
23026 wxPoint temp3 ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 PyObject * obj2 = 0 ;
23030 char *kwnames[] = {
23031 (char *) "self",(char *) "menu",(char *) "pos", NULL
23032 };
23033
23034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23037 {
23038 arg3 = &temp3;
23039 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23040 }
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 resultobj = PyInt_FromLong((long)result);
23049 return resultobj;
23050 fail:
23051 return NULL;
23052}
23053
23054
23055static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23056 PyObject *resultobj;
23057 wxWindow *arg1 = (wxWindow *) 0 ;
23058 long result;
23059 PyObject * obj0 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (long)wxWindow_GetHandle(arg1);
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 resultobj = PyInt_FromLong((long)result);
23074 return resultobj;
23075 fail:
23076 return NULL;
23077}
23078
23079
23080static PyObject *_wrap_Window_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxWindow *arg1 = (wxWindow *) 0 ;
23083 wxPaintEvent *arg2 = 0 ;
23084 PyObject * obj0 = 0 ;
23085 PyObject * obj1 = 0 ;
23086 char *kwnames[] = {
23087 (char *) "self",(char *) "event", NULL
23088 };
23089
23090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
23091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPaintEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23093 if (arg2 == NULL) {
23094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23095 }
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 (arg1)->OnPaint(*arg2);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 Py_INCREF(Py_None); resultobj = Py_None;
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
23110static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxWindow *arg1 = (wxWindow *) 0 ;
23113 int arg2 ;
23114 bool result;
23115 PyObject * obj0 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self",(char *) "orient", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 resultobj = PyInt_FromLong((long)result);
23130 return resultobj;
23131 fail:
23132 return NULL;
23133}
23134
23135
23136static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxWindow *arg1 = (wxWindow *) 0 ;
23139 int arg2 ;
23140 int arg3 ;
23141 int arg4 ;
23142 int arg5 ;
423f194a 23143 bool arg6 = (bool) True ;
d14a1e28
RD
23144 PyObject * obj0 = 0 ;
23145 PyObject * obj5 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23152 if (obj5) {
23153 arg6 = PyInt_AsLong(obj5) ? true : false;
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 Py_INCREF(Py_None); resultobj = Py_None;
23164 return resultobj;
23165 fail:
23166 return NULL;
23167}
23168
23169
23170static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23171 PyObject *resultobj;
23172 wxWindow *arg1 = (wxWindow *) 0 ;
23173 int arg2 ;
23174 int arg3 ;
423f194a 23175 bool arg4 = (bool) True ;
d14a1e28
RD
23176 PyObject * obj0 = 0 ;
23177 PyObject * obj3 = 0 ;
23178 char *kwnames[] = {
23179 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23180 };
23181
23182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23184 if (obj3) {
23185 arg4 = PyInt_AsLong(obj3) ? true : false;
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 {
23189 PyThreadState* __tstate = wxPyBeginAllowThreads();
23190 (arg1)->SetScrollPos(arg2,arg3,arg4);
23191
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 Py_INCREF(Py_None); resultobj = Py_None;
23196 return resultobj;
23197 fail:
23198 return NULL;
23199}
23200
23201
23202static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj;
23204 wxWindow *arg1 = (wxWindow *) 0 ;
23205 int arg2 ;
23206 int result;
23207 PyObject * obj0 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "self",(char *) "orient", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = PyInt_FromLong((long)result);
23222 return resultobj;
23223 fail:
23224 return NULL;
23225}
23226
23227
23228static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxWindow *arg1 = (wxWindow *) 0 ;
23231 int arg2 ;
23232 int result;
23233 PyObject * obj0 = 0 ;
23234 char *kwnames[] = {
23235 (char *) "self",(char *) "orient", NULL
23236 };
23237
23238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 resultobj = PyInt_FromLong((long)result);
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
23254static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxWindow *arg1 = (wxWindow *) 0 ;
23257 int arg2 ;
23258 int result;
23259 PyObject * obj0 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self",(char *) "orient", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 resultobj = PyInt_FromLong((long)result);
23274 return resultobj;
23275 fail:
23276 return NULL;
23277}
23278
23279
23280static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxWindow *arg1 = (wxWindow *) 0 ;
23283 int arg2 ;
23284 int arg3 ;
23285 wxRect *arg4 = (wxRect *) NULL ;
23286 PyObject * obj0 = 0 ;
23287 PyObject * obj3 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23294 if (obj3) {
23295 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23296 }
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 Py_INCREF(Py_None); resultobj = Py_None;
23305 return resultobj;
23306 fail:
23307 return NULL;
23308}
23309
23310
23311static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxWindow *arg1 = (wxWindow *) 0 ;
23314 int arg2 ;
23315 bool result;
23316 PyObject * obj0 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "lines", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (bool)(arg1)->ScrollLines(arg2);
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 resultobj = PyInt_FromLong((long)result);
23331 return resultobj;
23332 fail:
23333 return NULL;
23334}
23335
23336
23337static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23338 PyObject *resultobj;
23339 wxWindow *arg1 = (wxWindow *) 0 ;
23340 int arg2 ;
23341 bool result;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "pages", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 result = (bool)(arg1)->ScrollPages(arg2);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = PyInt_FromLong((long)result);
23357 return resultobj;
23358 fail:
23359 return NULL;
23360}
23361
23362
23363static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxWindow *arg1 = (wxWindow *) 0 ;
23366 bool result;
23367 PyObject * obj0 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (bool)(arg1)->LineUp();
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 resultobj = PyInt_FromLong((long)result);
23382 return resultobj;
23383 fail:
23384 return NULL;
23385}
23386
23387
23388static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23389 PyObject *resultobj;
23390 wxWindow *arg1 = (wxWindow *) 0 ;
23391 bool result;
23392 PyObject * obj0 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (bool)(arg1)->LineDown();
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 resultobj = PyInt_FromLong((long)result);
23407 return resultobj;
23408 fail:
23409 return NULL;
23410}
23411
23412
23413static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23414 PyObject *resultobj;
23415 wxWindow *arg1 = (wxWindow *) 0 ;
23416 bool result;
23417 PyObject * obj0 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self", NULL
23420 };
23421
23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (bool)(arg1)->PageUp();
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = PyInt_FromLong((long)result);
23432 return resultobj;
23433 fail:
23434 return NULL;
23435}
23436
23437
23438static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxWindow *arg1 = (wxWindow *) 0 ;
23441 bool result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 result = (bool)(arg1)->PageDown();
23452
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 resultobj = PyInt_FromLong((long)result);
23457 return resultobj;
23458 fail:
23459 return NULL;
23460}
23461
23462
23463static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxWindow *arg1 = (wxWindow *) 0 ;
23466 wxString *arg2 = 0 ;
423f194a 23467 bool temp2 = False ;
d14a1e28
RD
23468 PyObject * obj0 = 0 ;
23469 PyObject * obj1 = 0 ;
23470 char *kwnames[] = {
23471 (char *) "self",(char *) "text", NULL
23472 };
23473
23474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23476 {
23477 arg2 = wxString_in_helper(obj1);
23478 if (arg2 == NULL) SWIG_fail;
423f194a 23479 temp2 = True;
d14a1e28
RD
23480 }
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 (arg1)->SetHelpText((wxString const &)*arg2);
23484
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 Py_INCREF(Py_None); resultobj = Py_None;
23489 {
23490 if (temp2)
23491 delete arg2;
23492 }
23493 return resultobj;
23494 fail:
23495 {
23496 if (temp2)
23497 delete arg2;
23498 }
23499 return NULL;
23500}
23501
23502
23503static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23504 PyObject *resultobj;
23505 wxWindow *arg1 = (wxWindow *) 0 ;
23506 wxString *arg2 = 0 ;
423f194a 23507 bool temp2 = False ;
d14a1e28
RD
23508 PyObject * obj0 = 0 ;
23509 PyObject * obj1 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self",(char *) "text", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23516 {
23517 arg2 = wxString_in_helper(obj1);
23518 if (arg2 == NULL) SWIG_fail;
423f194a 23519 temp2 = True;
d14a1e28
RD
23520 }
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 Py_INCREF(Py_None); resultobj = Py_None;
23529 {
23530 if (temp2)
23531 delete arg2;
23532 }
23533 return resultobj;
23534 fail:
23535 {
23536 if (temp2)
23537 delete arg2;
23538 }
23539 return NULL;
23540}
23541
23542
23543static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23544 PyObject *resultobj;
23545 wxWindow *arg1 = (wxWindow *) 0 ;
23546 wxString result;
23547 PyObject * obj0 = 0 ;
23548 char *kwnames[] = {
23549 (char *) "self", NULL
23550 };
23551
23552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = ((wxWindow const *)arg1)->GetHelpText();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 {
23562#if wxUSE_UNICODE
23563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23564#else
23565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23566#endif
23567 }
23568 return resultobj;
23569 fail:
23570 return NULL;
23571}
23572
23573
23574static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23575 PyObject *resultobj;
23576 wxWindow *arg1 = (wxWindow *) 0 ;
23577 wxString *arg2 = 0 ;
423f194a 23578 bool temp2 = False ;
d14a1e28
RD
23579 PyObject * obj0 = 0 ;
23580 PyObject * obj1 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "tip", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23587 {
23588 arg2 = wxString_in_helper(obj1);
23589 if (arg2 == NULL) SWIG_fail;
423f194a 23590 temp2 = True;
d14a1e28
RD
23591 }
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 (arg1)->SetToolTip((wxString const &)*arg2);
23595
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 Py_INCREF(Py_None); resultobj = Py_None;
23600 {
23601 if (temp2)
23602 delete arg2;
23603 }
23604 return resultobj;
23605 fail:
23606 {
23607 if (temp2)
23608 delete arg2;
23609 }
23610 return NULL;
23611}
23612
23613
23614static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxWindow *arg1 = (wxWindow *) 0 ;
23617 wxToolTip *arg2 = (wxToolTip *) 0 ;
23618 PyObject * obj0 = 0 ;
23619 PyObject * obj1 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self",(char *) "tip", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23627 {
23628 PyThreadState* __tstate = wxPyBeginAllowThreads();
23629 (arg1)->SetToolTip(arg2);
23630
23631 wxPyEndAllowThreads(__tstate);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 }
23634 Py_INCREF(Py_None); resultobj = Py_None;
23635 return resultobj;
23636 fail:
23637 return NULL;
23638}
23639
23640
23641static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23642 PyObject *resultobj;
23643 wxWindow *arg1 = (wxWindow *) 0 ;
23644 wxToolTip *result;
23645 PyObject * obj0 = 0 ;
23646 char *kwnames[] = {
23647 (char *) "self", NULL
23648 };
23649
23650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 {
23660 resultobj = wxPyMake_wxObject(result);
23661 }
23662 return resultobj;
23663 fail:
23664 return NULL;
23665}
23666
23667
23668static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23669 PyObject *resultobj;
23670 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 23671 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
23672 PyObject * obj0 = 0 ;
23673 PyObject * obj1 = 0 ;
23674 char *kwnames[] = {
23675 (char *) "self",(char *) "dropTarget", NULL
23676 };
23677
23678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
23679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65 23680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 (arg1)->SetDropTarget(arg2);
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 Py_INCREF(Py_None); resultobj = Py_None;
23689 return resultobj;
23690 fail:
23691 return NULL;
23692}
23693
23694
23695static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj;
23697 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 23698 wxPyDropTarget *result;
d14a1e28
RD
23699 PyObject * obj0 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 23708 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
44127b65 23713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
23714 return resultobj;
23715 fail:
23716 return NULL;
23717}
23718
23719
23720static PyObject *_wrap_Window_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxWindow *arg1 = (wxWindow *) 0 ;
23723 bool arg2 ;
23724 PyObject * obj0 = 0 ;
23725 PyObject * obj1 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self",(char *) "accept", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
23731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23732 arg2 = PyInt_AsLong(obj1) ? true : false;
23733 if (PyErr_Occurred()) SWIG_fail;
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 (arg1)->DragAcceptFiles(arg2);
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 Py_INCREF(Py_None); resultobj = Py_None;
23742 return resultobj;
23743 fail:
23744 return NULL;
23745}
23746
23747
23748static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxWindow *arg1 = (wxWindow *) 0 ;
23751 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "constraints", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
23759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->SetConstraints(arg2);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
23775static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxWindow *arg1 = (wxWindow *) 0 ;
23778 wxLayoutConstraints *result;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
23785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
23794 return resultobj;
23795 fail:
23796 return NULL;
23797}
23798
23799
23800static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj;
23802 wxWindow *arg1 = (wxWindow *) 0 ;
23803 bool arg2 ;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "autoLayout", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23812 arg2 = PyInt_AsLong(obj1) ? true : false;
23813 if (PyErr_Occurred()) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->SetAutoLayout(arg2);
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 Py_INCREF(Py_None); resultobj = Py_None;
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
23828static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxWindow *arg1 = (wxWindow *) 0 ;
23831 bool result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23839 {
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = PyInt_FromLong((long)result);
23847 return resultobj;
23848 fail:
23849 return NULL;
23850}
23851
23852
23853static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 wxWindow *arg1 = (wxWindow *) 0 ;
23856 bool result;
23857 PyObject * obj0 = 0 ;
23858 char *kwnames[] = {
23859 (char *) "self", NULL
23860 };
23861
23862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
23863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23864 {
23865 PyThreadState* __tstate = wxPyBeginAllowThreads();
23866 result = (bool)(arg1)->Layout();
23867
23868 wxPyEndAllowThreads(__tstate);
23869 if (PyErr_Occurred()) SWIG_fail;
23870 }
23871 resultobj = PyInt_FromLong((long)result);
23872 return resultobj;
23873 fail:
23874 return NULL;
23875}
23876
23877
23878static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxWindow *arg1 = (wxWindow *) 0 ;
23881 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 23882 bool arg3 = (bool) True ;
d14a1e28
RD
23883 PyObject * obj0 = 0 ;
23884 PyObject * obj1 = 0 ;
23885 PyObject * obj2 = 0 ;
23886 char *kwnames[] = {
23887 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23888 };
23889
23890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
23891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23893 if (obj2) {
23894 arg3 = PyInt_AsLong(obj2) ? true : false;
23895 if (PyErr_Occurred()) SWIG_fail;
23896 }
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->SetSizer(arg2,arg3);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908}
23909
23910
23911static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxWindow *arg1 = (wxWindow *) 0 ;
23914 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 23915 bool arg3 = (bool) True ;
d14a1e28
RD
23916 PyObject * obj0 = 0 ;
23917 PyObject * obj1 = 0 ;
23918 PyObject * obj2 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
23924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23926 if (obj2) {
23927 arg3 = PyInt_AsLong(obj2) ? true : false;
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 {
23931 PyThreadState* __tstate = wxPyBeginAllowThreads();
23932 (arg1)->SetSizerAndFit(arg2,arg3);
23933
23934 wxPyEndAllowThreads(__tstate);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 }
23937 Py_INCREF(Py_None); resultobj = Py_None;
23938 return resultobj;
23939 fail:
23940 return NULL;
23941}
23942
23943
23944static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23945 PyObject *resultobj;
23946 wxWindow *arg1 = (wxWindow *) 0 ;
23947 wxSizer *result;
23948 PyObject * obj0 = 0 ;
23949 char *kwnames[] = {
23950 (char *) "self", NULL
23951 };
23952
23953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
23954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 {
23963 resultobj = wxPyMake_wxSizer(result);
23964 }
23965 return resultobj;
23966 fail:
23967 return NULL;
23968}
23969
23970
23971static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj;
23973 wxWindow *arg1 = (wxWindow *) 0 ;
23974 wxSizer *arg2 = (wxSizer *) 0 ;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "sizer", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 (arg1)->SetContainingSizer(arg2);
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 Py_INCREF(Py_None); resultobj = Py_None;
23992 return resultobj;
23993 fail:
23994 return NULL;
23995}
23996
23997
23998static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj;
24000 wxWindow *arg1 = (wxWindow *) 0 ;
24001 wxSizer *result;
24002 PyObject * obj0 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
24008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 {
24017 resultobj = wxPyMake_wxSizer(result);
24018 }
24019 return resultobj;
24020 fail:
24021 return NULL;
24022}
24023
24024
24025static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24026 PyObject *obj;
24027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24028 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24029 Py_INCREF(obj);
24030 return Py_BuildValue((char *)"");
24031}
24032static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24033 PyObject *resultobj;
24034 long arg1 ;
24035 wxWindow *arg2 = (wxWindow *) NULL ;
24036 wxWindow *result;
24037 PyObject * obj1 = 0 ;
24038 char *kwnames[] = {
24039 (char *) "id",(char *) "parent", NULL
24040 };
24041
24042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24043 if (obj1) {
24044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24045 }
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 {
24054 resultobj = wxPyMake_wxObject(result);
24055 }
24056 return resultobj;
24057 fail:
24058 return NULL;
24059}
24060
24061
24062static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxString *arg1 = 0 ;
24065 wxWindow *arg2 = (wxWindow *) NULL ;
24066 wxWindow *result;
423f194a 24067 bool temp1 = False ;
d14a1e28
RD
24068 PyObject * obj0 = 0 ;
24069 PyObject * obj1 = 0 ;
24070 char *kwnames[] = {
24071 (char *) "name",(char *) "parent", NULL
24072 };
24073
24074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24075 {
24076 arg1 = wxString_in_helper(obj0);
24077 if (arg1 == NULL) SWIG_fail;
423f194a 24078 temp1 = True;
d14a1e28
RD
24079 }
24080 if (obj1) {
24081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24082 }
24083 {
24084 PyThreadState* __tstate = wxPyBeginAllowThreads();
24085 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24086
24087 wxPyEndAllowThreads(__tstate);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 }
24090 {
24091 resultobj = wxPyMake_wxObject(result);
24092 }
24093 {
24094 if (temp1)
24095 delete arg1;
24096 }
24097 return resultobj;
24098 fail:
24099 {
24100 if (temp1)
24101 delete arg1;
24102 }
24103 return NULL;
24104}
24105
24106
24107static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxString *arg1 = 0 ;
24110 wxWindow *arg2 = (wxWindow *) NULL ;
24111 wxWindow *result;
423f194a 24112 bool temp1 = False ;
d14a1e28
RD
24113 PyObject * obj0 = 0 ;
24114 PyObject * obj1 = 0 ;
24115 char *kwnames[] = {
24116 (char *) "label",(char *) "parent", NULL
24117 };
24118
24119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24120 {
24121 arg1 = wxString_in_helper(obj0);
24122 if (arg1 == NULL) SWIG_fail;
423f194a 24123 temp1 = True;
d14a1e28
RD
24124 }
24125 if (obj1) {
24126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24127 }
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24131
24132 wxPyEndAllowThreads(__tstate);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 }
24135 {
24136 resultobj = wxPyMake_wxObject(result);
24137 }
24138 {
24139 if (temp1)
24140 delete arg1;
24141 }
24142 return resultobj;
24143 fail:
24144 {
24145 if (temp1)
24146 delete arg1;
24147 }
24148 return NULL;
24149}
24150
24151
24152static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj;
24154 unsigned long arg1 ;
24155 wxWindow *result;
24156 PyObject * obj0 = 0 ;
24157 char *kwnames[] = {
24158 (char *) "hWnd", NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24162 arg1 = (unsigned long) PyInt_AsLong(obj0);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = (wxWindow *)wxWindow_FromHWND(arg1);
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 resultobj = wxPyMake_wxObject(result);
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177}
24178
24179
24180static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxValidator *result;
24183 char *kwnames[] = {
24184 NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (wxValidator *)new wxValidator();
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 {
24196 resultobj = wxPyMake_wxObject(result);
24197 }
24198 return resultobj;
24199 fail:
24200 return NULL;
24201}
24202
24203
24204static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj;
24206 wxValidator *arg1 = (wxValidator *) 0 ;
24207 wxValidator *result;
24208 PyObject * obj0 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 result = (wxValidator *)(arg1)->Clone();
24218
24219 wxPyEndAllowThreads(__tstate);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 }
24222 {
24223 resultobj = wxPyMake_wxObject(result);
24224 }
24225 return resultobj;
24226 fail:
24227 return NULL;
24228}
24229
24230
24231static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24232 PyObject *resultobj;
24233 wxValidator *arg1 = (wxValidator *) 0 ;
24234 wxWindow *arg2 = (wxWindow *) 0 ;
24235 bool result;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "self",(char *) "parent", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = (bool)(arg1)->Validate(arg2);
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 resultobj = PyInt_FromLong((long)result);
24253 return resultobj;
24254 fail:
24255 return NULL;
24256}
24257
24258
24259static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj;
24261 wxValidator *arg1 = (wxValidator *) 0 ;
24262 bool result;
24263 PyObject * obj0 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "self", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24270 {
24271 PyThreadState* __tstate = wxPyBeginAllowThreads();
24272 result = (bool)(arg1)->TransferToWindow();
24273
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 resultobj = PyInt_FromLong((long)result);
24278 return resultobj;
24279 fail:
24280 return NULL;
24281}
24282
24283
24284static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj;
24286 wxValidator *arg1 = (wxValidator *) 0 ;
24287 bool result;
24288 PyObject * obj0 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "self", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24295 {
24296 PyThreadState* __tstate = wxPyBeginAllowThreads();
24297 result = (bool)(arg1)->TransferFromWindow();
24298
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 resultobj = PyInt_FromLong((long)result);
24303 return resultobj;
24304 fail:
24305 return NULL;
24306}
24307
24308
24309static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24310 PyObject *resultobj;
24311 wxValidator *arg1 = (wxValidator *) 0 ;
24312 wxWindow *result;
24313 PyObject * obj0 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24320 {
24321 PyThreadState* __tstate = wxPyBeginAllowThreads();
24322 result = (wxWindow *)(arg1)->GetWindow();
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 {
24328 resultobj = wxPyMake_wxObject(result);
24329 }
24330 return resultobj;
24331 fail:
24332 return NULL;
24333}
24334
24335
24336static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj;
24338 wxValidator *arg1 = (wxValidator *) 0 ;
24339 wxWindow *arg2 = (wxWindow *) 0 ;
24340 PyObject * obj0 = 0 ;
24341 PyObject * obj1 = 0 ;
24342 char *kwnames[] = {
24343 (char *) "self",(char *) "window", NULL
24344 };
24345
24346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 (arg1)->SetWindow(arg2);
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 Py_INCREF(Py_None); resultobj = Py_None;
24357 return resultobj;
24358 fail:
24359 return NULL;
24360}
24361
24362
24363static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 bool result;
24366 char *kwnames[] = {
24367 NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 result = (bool)wxValidator::IsSilent();
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 resultobj = PyInt_FromLong((long)result);
24379 return resultobj;
24380 fail:
24381 return NULL;
24382}
24383
24384
24385static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj;
423f194a 24387 int arg1 = (int) True ;
d14a1e28
RD
24388 char *kwnames[] = {
24389 (char *) "doIt", NULL
24390 };
24391
24392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 wxValidator::SetBellOnError(arg1);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 Py_INCREF(Py_None); resultobj = Py_None;
24401 return resultobj;
24402 fail:
24403 return NULL;
24404}
24405
24406
24407static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24408 PyObject *obj;
24409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24410 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24411 Py_INCREF(obj);
24412 return Py_BuildValue((char *)"");
24413}
24414static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPyValidator *result;
24417 char *kwnames[] = {
24418 NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24422 {
24423 PyThreadState* __tstate = wxPyBeginAllowThreads();
24424 result = (wxPyValidator *)new wxPyValidator();
24425
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24430 return resultobj;
24431 fail:
24432 return NULL;
24433}
24434
24435
24436static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24437 PyObject *resultobj;
24438 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24439 PyObject *arg2 = (PyObject *) 0 ;
24440 PyObject *arg3 = (PyObject *) 0 ;
423f194a 24441 int arg4 = (int) True ;
d14a1e28
RD
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 PyObject * obj2 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24451 arg2 = obj1;
24452 arg3 = obj2;
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464}
24465
24466
24467static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24468 PyObject *obj;
24469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24470 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24471 Py_INCREF(obj);
24472 return Py_BuildValue((char *)"");
24473}
24474static int _wrap_DefaultValidator_set(PyObject *_val) {
24475 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24476 return 1;
24477}
24478
24479
24480static PyObject *_wrap_DefaultValidator_get() {
24481 PyObject *pyobj;
24482
24483 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24484 return pyobj;
24485}
24486
24487
24488static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24489 PyObject *resultobj;
24490 wxString const &arg1_defvalue = wxPyEmptyString ;
24491 wxString *arg1 = (wxString *) &arg1_defvalue ;
24492 long arg2 = (long) 0 ;
24493 wxMenu *result;
423f194a 24494 bool temp1 = False ;
d14a1e28
RD
24495 PyObject * obj0 = 0 ;
24496 char *kwnames[] = {
24497 (char *) "title",(char *) "style", NULL
24498 };
24499
24500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24501 if (obj0) {
24502 {
24503 arg1 = wxString_in_helper(obj0);
24504 if (arg1 == NULL) SWIG_fail;
423f194a 24505 temp1 = True;
d14a1e28
RD
24506 }
24507 }
24508 {
24509 PyThreadState* __tstate = wxPyBeginAllowThreads();
24510 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24511
24512 wxPyEndAllowThreads(__tstate);
24513 if (PyErr_Occurred()) SWIG_fail;
24514 }
24515 {
24516 resultobj = wxPyMake_wxObject(result);
24517 }
24518 {
24519 if (temp1)
24520 delete arg1;
24521 }
24522 return resultobj;
24523 fail:
24524 {
24525 if (temp1)
24526 delete arg1;
24527 }
24528 return NULL;
24529}
24530
24531
24532static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxMenu *arg1 = (wxMenu *) 0 ;
24535 int arg2 ;
24536 wxString *arg3 = 0 ;
24537 wxString const &arg4_defvalue = wxPyEmptyString ;
24538 wxString *arg4 = (wxString *) &arg4_defvalue ;
24539 int arg5 = (int) wxITEM_NORMAL ;
423f194a
RD
24540 bool temp3 = False ;
24541 bool temp4 = False ;
d14a1e28
RD
24542 PyObject * obj0 = 0 ;
24543 PyObject * obj2 = 0 ;
24544 PyObject * obj3 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 {
24552 arg3 = wxString_in_helper(obj2);
24553 if (arg3 == NULL) SWIG_fail;
423f194a 24554 temp3 = True;
d14a1e28
RD
24555 }
24556 if (obj3) {
24557 {
24558 arg4 = wxString_in_helper(obj3);
24559 if (arg4 == NULL) SWIG_fail;
423f194a 24560 temp4 = True;
d14a1e28
RD
24561 }
24562 }
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 Py_INCREF(Py_None); resultobj = Py_None;
24571 {
24572 if (temp3)
24573 delete arg3;
24574 }
24575 {
24576 if (temp4)
24577 delete arg4;
24578 }
24579 return resultobj;
24580 fail:
24581 {
24582 if (temp3)
24583 delete arg3;
24584 }
24585 {
24586 if (temp4)
24587 delete arg4;
24588 }
24589 return NULL;
24590}
24591
24592
24593static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj;
24595 wxMenu *arg1 = (wxMenu *) 0 ;
24596 PyObject * obj0 = 0 ;
24597 char *kwnames[] = {
24598 (char *) "self", NULL
24599 };
24600
24601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 (arg1)->AppendSeparator();
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 Py_INCREF(Py_None); resultobj = Py_None;
24611 return resultobj;
24612 fail:
24613 return NULL;
24614}
24615
24616
24617static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24618 PyObject *resultobj;
24619 wxMenu *arg1 = (wxMenu *) 0 ;
24620 int arg2 ;
24621 wxString *arg3 = 0 ;
24622 wxString const &arg4_defvalue = wxPyEmptyString ;
24623 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
24624 bool temp3 = False ;
24625 bool temp4 = False ;
d14a1e28
RD
24626 PyObject * obj0 = 0 ;
24627 PyObject * obj2 = 0 ;
24628 PyObject * obj3 = 0 ;
24629 char *kwnames[] = {
24630 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24631 };
24632
24633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24635 {
24636 arg3 = wxString_in_helper(obj2);
24637 if (arg3 == NULL) SWIG_fail;
423f194a 24638 temp3 = True;
d14a1e28
RD
24639 }
24640 if (obj3) {
24641 {
24642 arg4 = wxString_in_helper(obj3);
24643 if (arg4 == NULL) SWIG_fail;
423f194a 24644 temp4 = True;
d14a1e28
RD
24645 }
24646 }
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 Py_INCREF(Py_None); resultobj = Py_None;
24655 {
24656 if (temp3)
24657 delete arg3;
24658 }
24659 {
24660 if (temp4)
24661 delete arg4;
24662 }
24663 return resultobj;
24664 fail:
24665 {
24666 if (temp3)
24667 delete arg3;
24668 }
24669 {
24670 if (temp4)
24671 delete arg4;
24672 }
24673 return NULL;
24674}
24675
24676
24677static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj;
24679 wxMenu *arg1 = (wxMenu *) 0 ;
24680 int arg2 ;
24681 wxString *arg3 = 0 ;
24682 wxString const &arg4_defvalue = wxPyEmptyString ;
24683 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
24684 bool temp3 = False ;
24685 bool temp4 = False ;
d14a1e28
RD
24686 PyObject * obj0 = 0 ;
24687 PyObject * obj2 = 0 ;
24688 PyObject * obj3 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24695 {
24696 arg3 = wxString_in_helper(obj2);
24697 if (arg3 == NULL) SWIG_fail;
423f194a 24698 temp3 = True;
d14a1e28
RD
24699 }
24700 if (obj3) {
24701 {
24702 arg4 = wxString_in_helper(obj3);
24703 if (arg4 == NULL) SWIG_fail;
423f194a 24704 temp4 = True;
d14a1e28
RD
24705 }
24706 }
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24710
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
24714 Py_INCREF(Py_None); resultobj = Py_None;
24715 {
24716 if (temp3)
24717 delete arg3;
24718 }
24719 {
24720 if (temp4)
24721 delete arg4;
24722 }
24723 return resultobj;
24724 fail:
24725 {
24726 if (temp3)
24727 delete arg3;
24728 }
24729 {
24730 if (temp4)
24731 delete arg4;
24732 }
24733 return NULL;
24734}
24735
24736
24737static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj;
24739 wxMenu *arg1 = (wxMenu *) 0 ;
24740 int arg2 ;
24741 wxString *arg3 = 0 ;
24742 wxMenu *arg4 = (wxMenu *) 0 ;
24743 wxString const &arg5_defvalue = wxPyEmptyString ;
24744 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
24745 bool temp3 = False ;
24746 bool temp5 = False ;
d14a1e28
RD
24747 PyObject * obj0 = 0 ;
24748 PyObject * obj2 = 0 ;
24749 PyObject * obj3 = 0 ;
24750 PyObject * obj4 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
24756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24757 {
24758 arg3 = wxString_in_helper(obj2);
24759 if (arg3 == NULL) SWIG_fail;
423f194a 24760 temp3 = True;
d14a1e28
RD
24761 }
24762 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24763 if (obj4) {
24764 {
24765 arg5 = wxString_in_helper(obj4);
24766 if (arg5 == NULL) SWIG_fail;
423f194a 24767 temp5 = True;
d14a1e28
RD
24768 }
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 Py_INCREF(Py_None); resultobj = Py_None;
24778 {
24779 if (temp3)
24780 delete arg3;
24781 }
24782 {
24783 if (temp5)
24784 delete arg5;
24785 }
24786 return resultobj;
24787 fail:
24788 {
24789 if (temp3)
24790 delete arg3;
24791 }
24792 {
24793 if (temp5)
24794 delete arg5;
24795 }
24796 return NULL;
24797}
24798
24799
24800static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24801 PyObject *resultobj;
24802 wxMenu *arg1 = (wxMenu *) 0 ;
24803 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
24804 PyObject * obj0 = 0 ;
24805 PyObject * obj1 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self",(char *) "item", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
24811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 (arg1)->Append(arg2);
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
24820 Py_INCREF(Py_None); resultobj = Py_None;
24821 return resultobj;
24822 fail:
24823 return NULL;
24824}
24825
24826
24827static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj;
24829 wxMenu *arg1 = (wxMenu *) 0 ;
24830 PyObject * obj0 = 0 ;
24831 char *kwnames[] = {
24832 (char *) "self", NULL
24833 };
24834
24835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
24836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24837 {
24838 PyThreadState* __tstate = wxPyBeginAllowThreads();
24839 (arg1)->Break();
24840
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 Py_INCREF(Py_None); resultobj = Py_None;
24845 return resultobj;
24846 fail:
24847 return NULL;
24848}
24849
24850
24851static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24852 PyObject *resultobj;
24853 wxMenu *arg1 = (wxMenu *) 0 ;
24854 size_t arg2 ;
24855 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
24856 bool result;
24857 PyObject * obj0 = 0 ;
24858 PyObject * obj1 = 0 ;
24859 PyObject * obj2 = 0 ;
24860 char *kwnames[] = {
24861 (char *) "self",(char *) "pos",(char *) "item", NULL
24862 };
24863
24864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24866 arg2 = (size_t) PyInt_AsLong(obj1);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 result = (bool)(arg1)->Insert(arg2,arg3);
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 resultobj = PyInt_FromLong((long)result);
24877 return resultobj;
24878 fail:
24879 return NULL;
24880}
24881
24882
24883static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
24884 PyObject *resultobj;
24885 wxMenu *arg1 = (wxMenu *) 0 ;
24886 size_t arg2 ;
24887 int arg3 ;
24888 wxString *arg4 = 0 ;
24889 wxString const &arg5_defvalue = wxPyEmptyString ;
24890 wxString *arg5 = (wxString *) &arg5_defvalue ;
24891 int arg6 = (int) wxITEM_NORMAL ;
423f194a
RD
24892 bool temp4 = False ;
24893 bool temp5 = False ;
d14a1e28
RD
24894 PyObject * obj0 = 0 ;
24895 PyObject * obj1 = 0 ;
24896 PyObject * obj3 = 0 ;
24897 PyObject * obj4 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24904 arg2 = (size_t) PyInt_AsLong(obj1);
24905 if (PyErr_Occurred()) SWIG_fail;
24906 {
24907 arg4 = wxString_in_helper(obj3);
24908 if (arg4 == NULL) SWIG_fail;
423f194a 24909 temp4 = True;
d14a1e28
RD
24910 }
24911 if (obj4) {
24912 {
24913 arg5 = wxString_in_helper(obj4);
24914 if (arg5 == NULL) SWIG_fail;
423f194a 24915 temp5 = True;
d14a1e28
RD
24916 }
24917 }
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
24921
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 Py_INCREF(Py_None); resultobj = Py_None;
24926 {
24927 if (temp4)
24928 delete arg4;
24929 }
24930 {
24931 if (temp5)
24932 delete arg5;
24933 }
24934 return resultobj;
24935 fail:
24936 {
24937 if (temp4)
24938 delete arg4;
24939 }
24940 {
24941 if (temp5)
24942 delete arg5;
24943 }
24944 return NULL;
24945}
24946
24947
24948static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24949 PyObject *resultobj;
24950 wxMenu *arg1 = (wxMenu *) 0 ;
24951 size_t arg2 ;
24952 PyObject * obj0 = 0 ;
24953 PyObject * obj1 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self",(char *) "pos", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24960 arg2 = (size_t) PyInt_AsLong(obj1);
24961 if (PyErr_Occurred()) SWIG_fail;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 (arg1)->InsertSeparator(arg2);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 Py_INCREF(Py_None); resultobj = Py_None;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973}
24974
24975
24976static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxMenu *arg1 = (wxMenu *) 0 ;
24979 size_t arg2 ;
24980 int arg3 ;
24981 wxString *arg4 = 0 ;
24982 wxString const &arg5_defvalue = wxPyEmptyString ;
24983 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
24984 bool temp4 = False ;
24985 bool temp5 = False ;
d14a1e28
RD
24986 PyObject * obj0 = 0 ;
24987 PyObject * obj1 = 0 ;
24988 PyObject * obj3 = 0 ;
24989 PyObject * obj4 = 0 ;
24990 char *kwnames[] = {
24991 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
24992 };
24993
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
24995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 arg2 = (size_t) PyInt_AsLong(obj1);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 {
24999 arg4 = wxString_in_helper(obj3);
25000 if (arg4 == NULL) SWIG_fail;
423f194a 25001 temp4 = True;
d14a1e28
RD
25002 }
25003 if (obj4) {
25004 {
25005 arg5 = wxString_in_helper(obj4);
25006 if (arg5 == NULL) SWIG_fail;
423f194a 25007 temp5 = True;
d14a1e28
RD
25008 }
25009 }
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 Py_INCREF(Py_None); resultobj = Py_None;
25018 {
25019 if (temp4)
25020 delete arg4;
25021 }
25022 {
25023 if (temp5)
25024 delete arg5;
25025 }
25026 return resultobj;
25027 fail:
25028 {
25029 if (temp4)
25030 delete arg4;
25031 }
25032 {
25033 if (temp5)
25034 delete arg5;
25035 }
25036 return NULL;
25037}
25038
25039
25040static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25041 PyObject *resultobj;
25042 wxMenu *arg1 = (wxMenu *) 0 ;
25043 size_t arg2 ;
25044 int arg3 ;
25045 wxString *arg4 = 0 ;
25046 wxString const &arg5_defvalue = wxPyEmptyString ;
25047 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25048 bool temp4 = False ;
25049 bool temp5 = False ;
d14a1e28
RD
25050 PyObject * obj0 = 0 ;
25051 PyObject * obj1 = 0 ;
25052 PyObject * obj3 = 0 ;
25053 PyObject * obj4 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25060 arg2 = (size_t) PyInt_AsLong(obj1);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 {
25063 arg4 = wxString_in_helper(obj3);
25064 if (arg4 == NULL) SWIG_fail;
423f194a 25065 temp4 = True;
d14a1e28
RD
25066 }
25067 if (obj4) {
25068 {
25069 arg5 = wxString_in_helper(obj4);
25070 if (arg5 == NULL) SWIG_fail;
423f194a 25071 temp5 = True;
d14a1e28
RD
25072 }
25073 }
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25077
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 Py_INCREF(Py_None); resultobj = Py_None;
25082 {
25083 if (temp4)
25084 delete arg4;
25085 }
25086 {
25087 if (temp5)
25088 delete arg5;
25089 }
25090 return resultobj;
25091 fail:
25092 {
25093 if (temp4)
25094 delete arg4;
25095 }
25096 {
25097 if (temp5)
25098 delete arg5;
25099 }
25100 return NULL;
25101}
25102
25103
25104static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25105 PyObject *resultobj;
25106 wxMenu *arg1 = (wxMenu *) 0 ;
25107 size_t arg2 ;
25108 int arg3 ;
25109 wxString *arg4 = 0 ;
25110 wxMenu *arg5 = (wxMenu *) 0 ;
25111 wxString const &arg6_defvalue = wxPyEmptyString ;
25112 wxString *arg6 = (wxString *) &arg6_defvalue ;
423f194a
RD
25113 bool temp4 = False ;
25114 bool temp6 = False ;
d14a1e28
RD
25115 PyObject * obj0 = 0 ;
25116 PyObject * obj1 = 0 ;
25117 PyObject * obj3 = 0 ;
25118 PyObject * obj4 = 0 ;
25119 PyObject * obj5 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25126 arg2 = (size_t) PyInt_AsLong(obj1);
25127 if (PyErr_Occurred()) SWIG_fail;
25128 {
25129 arg4 = wxString_in_helper(obj3);
25130 if (arg4 == NULL) SWIG_fail;
423f194a 25131 temp4 = True;
d14a1e28
RD
25132 }
25133 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25134 if (obj5) {
25135 {
25136 arg6 = wxString_in_helper(obj5);
25137 if (arg6 == NULL) SWIG_fail;
423f194a 25138 temp6 = True;
d14a1e28
RD
25139 }
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 Py_INCREF(Py_None); resultobj = Py_None;
25149 {
25150 if (temp4)
25151 delete arg4;
25152 }
25153 {
25154 if (temp6)
25155 delete arg6;
25156 }
25157 return resultobj;
25158 fail:
25159 {
25160 if (temp4)
25161 delete arg4;
25162 }
25163 {
25164 if (temp6)
25165 delete arg6;
25166 }
25167 return NULL;
25168}
25169
25170
25171static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25172 PyObject *resultobj;
25173 wxMenu *arg1 = (wxMenu *) 0 ;
25174 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25175 PyObject * obj0 = 0 ;
25176 PyObject * obj1 = 0 ;
25177 char *kwnames[] = {
25178 (char *) "self",(char *) "item", NULL
25179 };
25180
25181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 (arg1)->Prepend(arg2);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 Py_INCREF(Py_None); resultobj = Py_None;
25192 return resultobj;
25193 fail:
25194 return NULL;
25195}
25196
25197
25198static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxMenu *arg1 = (wxMenu *) 0 ;
25201 int arg2 ;
25202 wxString *arg3 = 0 ;
25203 wxString const &arg4_defvalue = wxPyEmptyString ;
25204 wxString *arg4 = (wxString *) &arg4_defvalue ;
25205 int arg5 = (int) wxITEM_NORMAL ;
423f194a
RD
25206 bool temp3 = False ;
25207 bool temp4 = False ;
d14a1e28
RD
25208 PyObject * obj0 = 0 ;
25209 PyObject * obj2 = 0 ;
25210 PyObject * obj3 = 0 ;
25211 char *kwnames[] = {
25212 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25213 };
25214
25215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25217 {
25218 arg3 = wxString_in_helper(obj2);
25219 if (arg3 == NULL) SWIG_fail;
423f194a 25220 temp3 = True;
d14a1e28
RD
25221 }
25222 if (obj3) {
25223 {
25224 arg4 = wxString_in_helper(obj3);
25225 if (arg4 == NULL) SWIG_fail;
423f194a 25226 temp4 = True;
d14a1e28
RD
25227 }
25228 }
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )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 (temp4)
25243 delete arg4;
25244 }
25245 return resultobj;
25246 fail:
25247 {
25248 if (temp3)
25249 delete arg3;
25250 }
25251 {
25252 if (temp4)
25253 delete arg4;
25254 }
25255 return NULL;
25256}
25257
25258
25259static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25260 PyObject *resultobj;
25261 wxMenu *arg1 = (wxMenu *) 0 ;
25262 PyObject * obj0 = 0 ;
25263 char *kwnames[] = {
25264 (char *) "self", NULL
25265 };
25266
25267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 (arg1)->PrependSeparator();
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 Py_INCREF(Py_None); resultobj = Py_None;
25277 return resultobj;
25278 fail:
25279 return NULL;
25280}
25281
25282
25283static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25284 PyObject *resultobj;
25285 wxMenu *arg1 = (wxMenu *) 0 ;
25286 int arg2 ;
25287 wxString *arg3 = 0 ;
25288 wxString const &arg4_defvalue = wxPyEmptyString ;
25289 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25290 bool temp3 = False ;
25291 bool temp4 = False ;
d14a1e28
RD
25292 PyObject * obj0 = 0 ;
25293 PyObject * obj2 = 0 ;
25294 PyObject * obj3 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25301 {
25302 arg3 = wxString_in_helper(obj2);
25303 if (arg3 == NULL) SWIG_fail;
423f194a 25304 temp3 = True;
d14a1e28
RD
25305 }
25306 if (obj3) {
25307 {
25308 arg4 = wxString_in_helper(obj3);
25309 if (arg4 == NULL) SWIG_fail;
423f194a 25310 temp4 = True;
d14a1e28
RD
25311 }
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 Py_INCREF(Py_None); resultobj = Py_None;
25321 {
25322 if (temp3)
25323 delete arg3;
25324 }
25325 {
25326 if (temp4)
25327 delete arg4;
25328 }
25329 return resultobj;
25330 fail:
25331 {
25332 if (temp3)
25333 delete arg3;
25334 }
25335 {
25336 if (temp4)
25337 delete arg4;
25338 }
25339 return NULL;
25340}
25341
25342
25343static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxMenu *arg1 = (wxMenu *) 0 ;
25346 int arg2 ;
25347 wxString *arg3 = 0 ;
25348 wxString const &arg4_defvalue = wxPyEmptyString ;
25349 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25350 bool temp3 = False ;
25351 bool temp4 = False ;
d14a1e28
RD
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj2 = 0 ;
25354 PyObject * obj3 = 0 ;
25355 char *kwnames[] = {
25356 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25357 };
25358
25359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25361 {
25362 arg3 = wxString_in_helper(obj2);
25363 if (arg3 == NULL) SWIG_fail;
423f194a 25364 temp3 = True;
d14a1e28
RD
25365 }
25366 if (obj3) {
25367 {
25368 arg4 = wxString_in_helper(obj3);
25369 if (arg4 == NULL) SWIG_fail;
423f194a 25370 temp4 = True;
d14a1e28
RD
25371 }
25372 }
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 Py_INCREF(Py_None); resultobj = Py_None;
25381 {
25382 if (temp3)
25383 delete arg3;
25384 }
25385 {
25386 if (temp4)
25387 delete arg4;
25388 }
25389 return resultobj;
25390 fail:
25391 {
25392 if (temp3)
25393 delete arg3;
25394 }
25395 {
25396 if (temp4)
25397 delete arg4;
25398 }
25399 return NULL;
25400}
25401
25402
25403static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25404 PyObject *resultobj;
25405 wxMenu *arg1 = (wxMenu *) 0 ;
25406 int arg2 ;
25407 wxString *arg3 = 0 ;
25408 wxMenu *arg4 = (wxMenu *) 0 ;
25409 wxString const &arg5_defvalue = wxPyEmptyString ;
25410 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25411 bool temp3 = False ;
25412 bool temp5 = False ;
d14a1e28
RD
25413 PyObject * obj0 = 0 ;
25414 PyObject * obj2 = 0 ;
25415 PyObject * obj3 = 0 ;
25416 PyObject * obj4 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25423 {
25424 arg3 = wxString_in_helper(obj2);
25425 if (arg3 == NULL) SWIG_fail;
423f194a 25426 temp3 = True;
d14a1e28
RD
25427 }
25428 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25429 if (obj4) {
25430 {
25431 arg5 = wxString_in_helper(obj4);
25432 if (arg5 == NULL) SWIG_fail;
423f194a 25433 temp5 = True;
d14a1e28
RD
25434 }
25435 }
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 Py_INCREF(Py_None); resultobj = Py_None;
25444 {
25445 if (temp3)
25446 delete arg3;
25447 }
25448 {
25449 if (temp5)
25450 delete arg5;
25451 }
25452 return resultobj;
25453 fail:
25454 {
25455 if (temp3)
25456 delete arg3;
25457 }
25458 {
25459 if (temp5)
25460 delete arg5;
25461 }
25462 return NULL;
25463}
25464
25465
25466static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25467 PyObject *resultobj;
25468 wxMenu *arg1 = (wxMenu *) 0 ;
25469 int arg2 ;
25470 wxMenuItem *result;
25471 PyObject * obj0 = 0 ;
25472 char *kwnames[] = {
25473 (char *) "self",(char *) "itemid", NULL
25474 };
25475
25476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = (wxMenuItem *)(arg1)->Remove(arg2);
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 {
25486 resultobj = wxPyMake_wxObject(result);
25487 }
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
25494static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxMenu *arg1 = (wxMenu *) 0 ;
25497 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25498 wxMenuItem *result;
25499 PyObject * obj0 = 0 ;
25500 PyObject * obj1 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self",(char *) "item", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (wxMenuItem *)(arg1)->Remove(arg2);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 {
25516 resultobj = wxPyMake_wxObject(result);
25517 }
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
25524static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj;
25526 wxMenu *arg1 = (wxMenu *) 0 ;
25527 int arg2 ;
25528 bool result;
25529 PyObject * obj0 = 0 ;
25530 char *kwnames[] = {
25531 (char *) "self",(char *) "itemid", NULL
25532 };
25533
25534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 result = (bool)(arg1)->Delete(arg2);
25539
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
25543 resultobj = PyInt_FromLong((long)result);
25544 return resultobj;
25545 fail:
25546 return NULL;
25547}
25548
25549
25550static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj;
25552 wxMenu *arg1 = (wxMenu *) 0 ;
25553 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25554 bool result;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self",(char *) "item", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (bool)(arg1)->Delete(arg2);
25567
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
25571 resultobj = PyInt_FromLong((long)result);
25572 return resultobj;
25573 fail:
25574 return NULL;
25575}
25576
25577
25578static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25579 PyObject *resultobj;
25580 wxMenu *arg1 = (wxMenu *) 0 ;
25581 PyObject * obj0 = 0 ;
25582 char *kwnames[] = {
25583 (char *) "self", NULL
25584 };
25585
25586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25588 {
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 wxMenu_Destroy(arg1);
25591
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 Py_INCREF(Py_None); resultobj = Py_None;
25596 return resultobj;
25597 fail:
25598 return NULL;
25599}
25600
25601
25602static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj;
25604 wxMenu *arg1 = (wxMenu *) 0 ;
25605 int arg2 ;
25606 bool result;
25607 PyObject * obj0 = 0 ;
25608 char *kwnames[] = {
25609 (char *) "self",(char *) "itemid", NULL
25610 };
25611
25612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25614 {
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 result = (bool)(arg1)->Destroy(arg2);
25617
25618 wxPyEndAllowThreads(__tstate);
25619 if (PyErr_Occurred()) SWIG_fail;
25620 }
25621 resultobj = PyInt_FromLong((long)result);
25622 return resultobj;
25623 fail:
25624 return NULL;
25625}
25626
25627
25628static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25629 PyObject *resultobj;
25630 wxMenu *arg1 = (wxMenu *) 0 ;
25631 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25632 bool result;
25633 PyObject * obj0 = 0 ;
25634 PyObject * obj1 = 0 ;
25635 char *kwnames[] = {
25636 (char *) "self",(char *) "item", NULL
25637 };
25638
25639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = (bool)(arg1)->Destroy(arg2);
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 resultobj = PyInt_FromLong((long)result);
25650 return resultobj;
25651 fail:
25652 return NULL;
25653}
25654
25655
25656static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25657 PyObject *resultobj;
25658 wxMenu *arg1 = (wxMenu *) 0 ;
25659 size_t result;
25660 PyObject * obj0 = 0 ;
25661 char *kwnames[] = {
25662 (char *) "self", NULL
25663 };
25664
25665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25667 {
25668 PyThreadState* __tstate = wxPyBeginAllowThreads();
25669 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25670
25671 wxPyEndAllowThreads(__tstate);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
25674 resultobj = PyInt_FromLong((long)result);
25675 return resultobj;
25676 fail:
25677 return NULL;
25678}
25679
25680
25681static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj;
25683 wxMenu *arg1 = (wxMenu *) 0 ;
25684 PyObject *result;
25685 PyObject * obj0 = 0 ;
25686 char *kwnames[] = {
25687 (char *) "self", NULL
25688 };
25689
25690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 result = (PyObject *)wxMenu_GetMenuItems(arg1);
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 resultobj = result;
25700 return resultobj;
25701 fail:
25702 return NULL;
25703}
25704
25705
25706static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxMenu *arg1 = (wxMenu *) 0 ;
25709 wxString *arg2 = 0 ;
25710 int result;
423f194a 25711 bool temp2 = False ;
d14a1e28
RD
25712 PyObject * obj0 = 0 ;
25713 PyObject * obj1 = 0 ;
25714 char *kwnames[] = {
25715 (char *) "self",(char *) "item", NULL
25716 };
25717
25718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
25719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25720 {
25721 arg2 = wxString_in_helper(obj1);
25722 if (arg2 == NULL) SWIG_fail;
423f194a 25723 temp2 = True;
d14a1e28
RD
25724 }
25725 {
25726 PyThreadState* __tstate = wxPyBeginAllowThreads();
25727 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
25728
25729 wxPyEndAllowThreads(__tstate);
25730 if (PyErr_Occurred()) SWIG_fail;
25731 }
25732 resultobj = PyInt_FromLong((long)result);
25733 {
25734 if (temp2)
25735 delete arg2;
25736 }
25737 return resultobj;
25738 fail:
25739 {
25740 if (temp2)
25741 delete arg2;
25742 }
25743 return NULL;
25744}
25745
25746
25747static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
25748 PyObject *resultobj;
25749 wxMenu *arg1 = (wxMenu *) 0 ;
25750 int arg2 ;
25751 wxMenuItem *result;
25752 PyObject * obj0 = 0 ;
25753 char *kwnames[] = {
25754 (char *) "self",(char *) "itemid", NULL
25755 };
25756
25757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
25758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 {
25767 resultobj = wxPyMake_wxObject(result);
25768 }
25769 return resultobj;
25770 fail:
25771 return NULL;
25772}
25773
25774
25775static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25776 PyObject *resultobj;
25777 wxMenu *arg1 = (wxMenu *) 0 ;
25778 size_t arg2 ;
25779 wxMenuItem *result;
25780 PyObject * obj0 = 0 ;
25781 PyObject * obj1 = 0 ;
25782 char *kwnames[] = {
25783 (char *) "self",(char *) "position", NULL
25784 };
25785
25786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
25787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25788 arg2 = (size_t) PyInt_AsLong(obj1);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
25793
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 {
25798 resultobj = wxPyMake_wxObject(result);
25799 }
25800 return resultobj;
25801 fail:
25802 return NULL;
25803}
25804
25805
25806static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
25807 PyObject *resultobj;
25808 wxMenu *arg1 = (wxMenu *) 0 ;
25809 int arg2 ;
25810 bool arg3 ;
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj2 = 0 ;
25813 char *kwnames[] = {
25814 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25815 };
25816
25817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
25818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25819 arg3 = PyInt_AsLong(obj2) ? true : false;
25820 if (PyErr_Occurred()) SWIG_fail;
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 (arg1)->Enable(arg2,arg3);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 Py_INCREF(Py_None); resultobj = Py_None;
25829 return resultobj;
25830 fail:
25831 return NULL;
25832}
25833
25834
25835static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
25836 PyObject *resultobj;
25837 wxMenu *arg1 = (wxMenu *) 0 ;
25838 int arg2 ;
25839 bool result;
25840 PyObject * obj0 = 0 ;
25841 char *kwnames[] = {
25842 (char *) "self",(char *) "itemid", NULL
25843 };
25844
25845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
25846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25847 {
25848 PyThreadState* __tstate = wxPyBeginAllowThreads();
25849 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
25850
25851 wxPyEndAllowThreads(__tstate);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 resultobj = PyInt_FromLong((long)result);
25855 return resultobj;
25856 fail:
25857 return NULL;
25858}
25859
25860
25861static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
25862 PyObject *resultobj;
25863 wxMenu *arg1 = (wxMenu *) 0 ;
25864 int arg2 ;
25865 bool arg3 ;
25866 PyObject * obj0 = 0 ;
25867 PyObject * obj2 = 0 ;
25868 char *kwnames[] = {
25869 (char *) "self",(char *) "itemid",(char *) "check", NULL
25870 };
25871
25872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
25873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25874 arg3 = PyInt_AsLong(obj2) ? true : false;
25875 if (PyErr_Occurred()) SWIG_fail;
25876 {
25877 PyThreadState* __tstate = wxPyBeginAllowThreads();
25878 (arg1)->Check(arg2,arg3);
25879
25880 wxPyEndAllowThreads(__tstate);
25881 if (PyErr_Occurred()) SWIG_fail;
25882 }
25883 Py_INCREF(Py_None); resultobj = Py_None;
25884 return resultobj;
25885 fail:
25886 return NULL;
25887}
25888
25889
25890static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
25891 PyObject *resultobj;
25892 wxMenu *arg1 = (wxMenu *) 0 ;
25893 int arg2 ;
25894 bool result;
25895 PyObject * obj0 = 0 ;
25896 char *kwnames[] = {
25897 (char *) "self",(char *) "itemid", NULL
25898 };
25899
25900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
25901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 resultobj = PyInt_FromLong((long)result);
25910 return resultobj;
25911 fail:
25912 return NULL;
25913}
25914
25915
25916static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25917 PyObject *resultobj;
25918 wxMenu *arg1 = (wxMenu *) 0 ;
25919 int arg2 ;
25920 wxString *arg3 = 0 ;
423f194a 25921 bool temp3 = False ;
d14a1e28
RD
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj2 = 0 ;
25924 char *kwnames[] = {
25925 (char *) "self",(char *) "itemid",(char *) "label", NULL
25926 };
25927
25928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
25929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25930 {
25931 arg3 = wxString_in_helper(obj2);
25932 if (arg3 == NULL) SWIG_fail;
423f194a 25933 temp3 = True;
d14a1e28
RD
25934 }
25935 {
25936 PyThreadState* __tstate = wxPyBeginAllowThreads();
25937 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
25938
25939 wxPyEndAllowThreads(__tstate);
25940 if (PyErr_Occurred()) SWIG_fail;
25941 }
25942 Py_INCREF(Py_None); resultobj = Py_None;
25943 {
25944 if (temp3)
25945 delete arg3;
25946 }
25947 return resultobj;
25948 fail:
25949 {
25950 if (temp3)
25951 delete arg3;
25952 }
25953 return NULL;
25954}
25955
25956
25957static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25958 PyObject *resultobj;
25959 wxMenu *arg1 = (wxMenu *) 0 ;
25960 int arg2 ;
25961 wxString result;
25962 PyObject * obj0 = 0 ;
25963 char *kwnames[] = {
25964 (char *) "self",(char *) "itemid", NULL
25965 };
25966
25967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
25968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 result = ((wxMenu const *)arg1)->GetLabel(arg2);
25972
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
25976 {
25977#if wxUSE_UNICODE
25978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25979#else
25980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25981#endif
25982 }
25983 return resultobj;
25984 fail:
25985 return NULL;
25986}
25987
25988
25989static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
25990 PyObject *resultobj;
25991 wxMenu *arg1 = (wxMenu *) 0 ;
25992 int arg2 ;
25993 wxString *arg3 = 0 ;
423f194a 25994 bool temp3 = False ;
d14a1e28
RD
25995 PyObject * obj0 = 0 ;
25996 PyObject * obj2 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
26002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26003 {
26004 arg3 = wxString_in_helper(obj2);
26005 if (arg3 == NULL) SWIG_fail;
423f194a 26006 temp3 = True;
d14a1e28
RD
26007 }
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
26011
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 Py_INCREF(Py_None); resultobj = Py_None;
26016 {
26017 if (temp3)
26018 delete arg3;
26019 }
26020 return resultobj;
26021 fail:
26022 {
26023 if (temp3)
26024 delete arg3;
26025 }
26026 return NULL;
26027}
26028
26029
26030static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26031 PyObject *resultobj;
26032 wxMenu *arg1 = (wxMenu *) 0 ;
26033 int arg2 ;
26034 wxString result;
26035 PyObject * obj0 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "itemid", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26042 {
26043 PyThreadState* __tstate = wxPyBeginAllowThreads();
26044 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26045
26046 wxPyEndAllowThreads(__tstate);
26047 if (PyErr_Occurred()) SWIG_fail;
26048 }
26049 {
26050#if wxUSE_UNICODE
26051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26052#else
26053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26054#endif
26055 }
26056 return resultobj;
26057 fail:
26058 return NULL;
26059}
26060
26061
26062static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj;
26064 wxMenu *arg1 = (wxMenu *) 0 ;
26065 wxString *arg2 = 0 ;
423f194a 26066 bool temp2 = False ;
d14a1e28
RD
26067 PyObject * obj0 = 0 ;
26068 PyObject * obj1 = 0 ;
26069 char *kwnames[] = {
26070 (char *) "self",(char *) "title", NULL
26071 };
26072
26073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26075 {
26076 arg2 = wxString_in_helper(obj1);
26077 if (arg2 == NULL) SWIG_fail;
423f194a 26078 temp2 = True;
d14a1e28
RD
26079 }
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 (arg1)->SetTitle((wxString const &)*arg2);
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 Py_INCREF(Py_None); resultobj = Py_None;
26088 {
26089 if (temp2)
26090 delete arg2;
26091 }
26092 return resultobj;
26093 fail:
26094 {
26095 if (temp2)
26096 delete arg2;
26097 }
26098 return NULL;
26099}
26100
26101
26102static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26103 PyObject *resultobj;
26104 wxMenu *arg1 = (wxMenu *) 0 ;
26105 wxString result;
26106 PyObject * obj0 = 0 ;
26107 char *kwnames[] = {
26108 (char *) "self", NULL
26109 };
26110
26111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 result = ((wxMenu const *)arg1)->GetTitle();
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 {
26121#if wxUSE_UNICODE
26122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26123#else
26124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26125#endif
26126 }
26127 return resultobj;
26128 fail:
26129 return NULL;
26130}
26131
26132
26133static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26134 PyObject *resultobj;
26135 wxMenu *arg1 = (wxMenu *) 0 ;
26136 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26137 PyObject * obj0 = 0 ;
26138 PyObject * obj1 = 0 ;
26139 char *kwnames[] = {
26140 (char *) "self",(char *) "handler", NULL
26141 };
26142
26143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26146 {
26147 PyThreadState* __tstate = wxPyBeginAllowThreads();
26148 (arg1)->SetEventHandler(arg2);
26149
26150 wxPyEndAllowThreads(__tstate);
26151 if (PyErr_Occurred()) SWIG_fail;
26152 }
26153 Py_INCREF(Py_None); resultobj = Py_None;
26154 return resultobj;
26155 fail:
26156 return NULL;
26157}
26158
26159
26160static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26161 PyObject *resultobj;
26162 wxMenu *arg1 = (wxMenu *) 0 ;
26163 wxEvtHandler *result;
26164 PyObject * obj0 = 0 ;
26165 char *kwnames[] = {
26166 (char *) "self", NULL
26167 };
26168
26169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26174
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
26178 {
26179 resultobj = wxPyMake_wxObject(result);
26180 }
26181 return resultobj;
26182 fail:
26183 return NULL;
26184}
26185
26186
26187static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26188 PyObject *resultobj;
26189 wxMenu *arg1 = (wxMenu *) 0 ;
26190 wxWindow *arg2 = (wxWindow *) 0 ;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "win", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 (arg1)->SetInvokingWindow(arg2);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 Py_INCREF(Py_None); resultobj = Py_None;
26208 return resultobj;
26209 fail:
26210 return NULL;
26211}
26212
26213
26214static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj;
26216 wxMenu *arg1 = (wxMenu *) 0 ;
26217 wxWindow *result;
26218 PyObject * obj0 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26228
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 {
26233 resultobj = wxPyMake_wxObject(result);
26234 }
26235 return resultobj;
26236 fail:
26237 return NULL;
26238}
26239
26240
26241static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxMenu *arg1 = (wxMenu *) 0 ;
26244 long result;
26245 PyObject * obj0 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 result = (long)((wxMenu const *)arg1)->GetStyle();
26255
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 resultobj = PyInt_FromLong((long)result);
26260 return resultobj;
26261 fail:
26262 return NULL;
26263}
26264
26265
26266static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26267 PyObject *resultobj;
26268 wxMenu *arg1 = (wxMenu *) 0 ;
26269 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26270 PyObject * obj0 = 0 ;
26271 PyObject * obj1 = 0 ;
26272 char *kwnames[] = {
26273 (char *) "self",(char *) "source", NULL
26274 };
26275
26276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26278 if (obj1) {
26279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26280 }
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 (arg1)->UpdateUI(arg2);
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 Py_INCREF(Py_None); resultobj = Py_None;
26289 return resultobj;
26290 fail:
26291 return NULL;
26292}
26293
26294
26295static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxMenu *arg1 = (wxMenu *) 0 ;
26298 wxMenuBar *result;
26299 PyObject * obj0 = 0 ;
26300 char *kwnames[] = {
26301 (char *) "self", NULL
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) 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 = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26309
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 {
26314 resultobj = wxPyMake_wxObject(result);
26315 }
26316 return resultobj;
26317 fail:
26318 return NULL;
26319}
26320
26321
26322static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26323 PyObject *resultobj;
26324 wxMenu *arg1 = (wxMenu *) 0 ;
26325 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26326 PyObject * obj0 = 0 ;
26327 PyObject * obj1 = 0 ;
26328 char *kwnames[] = {
26329 (char *) "self",(char *) "menubar", NULL
26330 };
26331
26332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->Attach(arg2);
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_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26350 PyObject *resultobj;
26351 wxMenu *arg1 = (wxMenu *) 0 ;
26352 PyObject * obj0 = 0 ;
26353 char *kwnames[] = {
26354 (char *) "self", NULL
26355 };
26356
26357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 (arg1)->Detach();
26362
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 Py_INCREF(Py_None); resultobj = Py_None;
26367 return resultobj;
26368 fail:
26369 return NULL;
26370}
26371
26372
26373static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26374 PyObject *resultobj;
26375 wxMenu *arg1 = (wxMenu *) 0 ;
26376 bool result;
26377 PyObject * obj0 = 0 ;
26378 char *kwnames[] = {
26379 (char *) "self", NULL
26380 };
26381
26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 result = (bool)((wxMenu const *)arg1)->IsAttached();
26387
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 resultobj = PyInt_FromLong((long)result);
26392 return resultobj;
26393 fail:
26394 return NULL;
26395}
26396
26397
26398static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26399 PyObject *resultobj;
26400 wxMenu *arg1 = (wxMenu *) 0 ;
26401 wxMenu *arg2 = (wxMenu *) 0 ;
26402 PyObject * obj0 = 0 ;
26403 PyObject * obj1 = 0 ;
26404 char *kwnames[] = {
26405 (char *) "self",(char *) "parent", NULL
26406 };
26407
26408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26411 {
26412 PyThreadState* __tstate = wxPyBeginAllowThreads();
26413 (arg1)->SetParent(arg2);
26414
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 Py_INCREF(Py_None); resultobj = Py_None;
26419 return resultobj;
26420 fail:
26421 return NULL;
26422}
26423
26424
26425static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26426 PyObject *resultobj;
26427 wxMenu *arg1 = (wxMenu *) 0 ;
26428 wxMenu *result;
26429 PyObject * obj0 = 0 ;
26430 char *kwnames[] = {
26431 (char *) "self", NULL
26432 };
26433
26434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 {
26444 resultobj = wxPyMake_wxObject(result);
26445 }
26446 return resultobj;
26447 fail:
26448 return NULL;
26449}
26450
26451
26452static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26453 PyObject *obj;
26454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26455 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26456 Py_INCREF(obj);
26457 return Py_BuildValue((char *)"");
26458}
26459static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26460 PyObject *resultobj;
26461 long arg1 = (long) 0 ;
26462 wxMenuBar *result;
26463 char *kwnames[] = {
26464 (char *) "style", NULL
26465 };
26466
26467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 result = (wxMenuBar *)new wxMenuBar(arg1);
26471
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
26475 {
26476 resultobj = wxPyMake_wxObject(result);
26477 }
26478 return resultobj;
26479 fail:
26480 return NULL;
26481}
26482
26483
26484static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj;
26486 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26487 wxMenu *arg2 = (wxMenu *) 0 ;
26488 wxString *arg3 = 0 ;
26489 bool result;
423f194a 26490 bool temp3 = False ;
d14a1e28
RD
26491 PyObject * obj0 = 0 ;
26492 PyObject * obj1 = 0 ;
26493 PyObject * obj2 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self",(char *) "menu",(char *) "title", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26501 {
26502 arg3 = wxString_in_helper(obj2);
26503 if (arg3 == NULL) SWIG_fail;
423f194a 26504 temp3 = True;
d14a1e28
RD
26505 }
26506 {
26507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26508 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26509
26510 wxPyEndAllowThreads(__tstate);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 }
26513 resultobj = PyInt_FromLong((long)result);
26514 {
26515 if (temp3)
26516 delete arg3;
26517 }
26518 return resultobj;
26519 fail:
26520 {
26521 if (temp3)
26522 delete arg3;
26523 }
26524 return NULL;
26525}
26526
26527
26528static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26531 size_t arg2 ;
26532 wxMenu *arg3 = (wxMenu *) 0 ;
26533 wxString *arg4 = 0 ;
26534 bool result;
423f194a 26535 bool temp4 = False ;
d14a1e28
RD
26536 PyObject * obj0 = 0 ;
26537 PyObject * obj1 = 0 ;
26538 PyObject * obj2 = 0 ;
26539 PyObject * obj3 = 0 ;
26540 char *kwnames[] = {
26541 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26542 };
26543
26544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26546 arg2 = (size_t) PyInt_AsLong(obj1);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26549 {
26550 arg4 = wxString_in_helper(obj3);
26551 if (arg4 == NULL) SWIG_fail;
423f194a 26552 temp4 = True;
d14a1e28
RD
26553 }
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 resultobj = PyInt_FromLong((long)result);
26562 {
26563 if (temp4)
26564 delete arg4;
26565 }
26566 return resultobj;
26567 fail:
26568 {
26569 if (temp4)
26570 delete arg4;
26571 }
26572 return NULL;
26573}
26574
26575
26576static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26577 PyObject *resultobj;
26578 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26579 size_t result;
26580 PyObject * obj0 = 0 ;
26581 char *kwnames[] = {
26582 (char *) "self", NULL
26583 };
26584
26585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 resultobj = PyInt_FromLong((long)result);
26595 return resultobj;
26596 fail:
26597 return NULL;
26598}
26599
26600
26601static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26604 size_t arg2 ;
26605 wxMenu *result;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char *kwnames[] = {
26609 (char *) "self",(char *) "pos", NULL
26610 };
26611
26612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26614 arg2 = (size_t) PyInt_AsLong(obj1);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26619
26620 wxPyEndAllowThreads(__tstate);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 }
26623 {
26624 resultobj = wxPyMake_wxObject(result);
26625 }
26626 return resultobj;
26627 fail:
26628 return NULL;
26629}
26630
26631
26632static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26633 PyObject *resultobj;
26634 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26635 size_t arg2 ;
26636 wxMenu *arg3 = (wxMenu *) 0 ;
26637 wxString *arg4 = 0 ;
26638 wxMenu *result;
423f194a 26639 bool temp4 = False ;
d14a1e28
RD
26640 PyObject * obj0 = 0 ;
26641 PyObject * obj1 = 0 ;
26642 PyObject * obj2 = 0 ;
26643 PyObject * obj3 = 0 ;
26644 char *kwnames[] = {
26645 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26646 };
26647
26648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26650 arg2 = (size_t) PyInt_AsLong(obj1);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26653 {
26654 arg4 = wxString_in_helper(obj3);
26655 if (arg4 == NULL) SWIG_fail;
423f194a 26656 temp4 = True;
d14a1e28
RD
26657 }
26658 {
26659 PyThreadState* __tstate = wxPyBeginAllowThreads();
26660 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26661
26662 wxPyEndAllowThreads(__tstate);
26663 if (PyErr_Occurred()) SWIG_fail;
26664 }
26665 {
26666 resultobj = wxPyMake_wxObject(result);
26667 }
26668 {
26669 if (temp4)
26670 delete arg4;
26671 }
26672 return resultobj;
26673 fail:
26674 {
26675 if (temp4)
26676 delete arg4;
26677 }
26678 return NULL;
26679}
26680
26681
26682static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj;
26684 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26685 size_t arg2 ;
26686 wxMenu *result;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "pos", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26695 arg2 = (size_t) PyInt_AsLong(obj1);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 {
26698 PyThreadState* __tstate = wxPyBeginAllowThreads();
26699 result = (wxMenu *)(arg1)->Remove(arg2);
26700
26701 wxPyEndAllowThreads(__tstate);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 }
26704 {
26705 resultobj = wxPyMake_wxObject(result);
26706 }
26707 return resultobj;
26708 fail:
26709 return NULL;
26710}
26711
26712
26713static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj;
26715 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26716 size_t arg2 ;
26717 bool arg3 ;
26718 PyObject * obj0 = 0 ;
26719 PyObject * obj1 = 0 ;
26720 PyObject * obj2 = 0 ;
26721 char *kwnames[] = {
26722 (char *) "self",(char *) "pos",(char *) "enable", NULL
26723 };
26724
26725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26727 arg2 = (size_t) PyInt_AsLong(obj1);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 arg3 = PyInt_AsLong(obj2) ? true : false;
26730 if (PyErr_Occurred()) SWIG_fail;
26731 {
26732 PyThreadState* __tstate = wxPyBeginAllowThreads();
26733 (arg1)->EnableTop(arg2,arg3);
26734
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 Py_INCREF(Py_None); resultobj = Py_None;
26739 return resultobj;
26740 fail:
26741 return NULL;
26742}
26743
26744
26745static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26746 PyObject *resultobj;
26747 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26748 size_t arg2 ;
26749 bool result;
26750 PyObject * obj0 = 0 ;
26751 PyObject * obj1 = 0 ;
26752 char *kwnames[] = {
26753 (char *) "self",(char *) "pos", NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
26757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26758 arg2 = (size_t) PyInt_AsLong(obj1);
26759 if (PyErr_Occurred()) SWIG_fail;
26760 {
26761 PyThreadState* __tstate = wxPyBeginAllowThreads();
26762 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
26763
26764 wxPyEndAllowThreads(__tstate);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 }
26767 resultobj = PyInt_FromLong((long)result);
26768 return resultobj;
26769 fail:
26770 return NULL;
26771}
26772
26773
26774static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26775 PyObject *resultobj;
26776 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26777 size_t arg2 ;
26778 wxString *arg3 = 0 ;
423f194a 26779 bool temp3 = False ;
d14a1e28
RD
26780 PyObject * obj0 = 0 ;
26781 PyObject * obj1 = 0 ;
26782 PyObject * obj2 = 0 ;
26783 char *kwnames[] = {
26784 (char *) "self",(char *) "pos",(char *) "label", NULL
26785 };
26786
26787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26789 arg2 = (size_t) PyInt_AsLong(obj1);
26790 if (PyErr_Occurred()) SWIG_fail;
26791 {
26792 arg3 = wxString_in_helper(obj2);
26793 if (arg3 == NULL) SWIG_fail;
423f194a 26794 temp3 = True;
d14a1e28
RD
26795 }
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 Py_INCREF(Py_None); resultobj = Py_None;
26804 {
26805 if (temp3)
26806 delete arg3;
26807 }
26808 return resultobj;
26809 fail:
26810 {
26811 if (temp3)
26812 delete arg3;
26813 }
26814 return NULL;
26815}
26816
26817
26818static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26819 PyObject *resultobj;
26820 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26821 size_t arg2 ;
26822 wxString result;
26823 PyObject * obj0 = 0 ;
26824 PyObject * obj1 = 0 ;
26825 char *kwnames[] = {
26826 (char *) "self",(char *) "pos", NULL
26827 };
26828
26829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
26830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26831 arg2 = (size_t) PyInt_AsLong(obj1);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 {
26834 PyThreadState* __tstate = wxPyBeginAllowThreads();
26835 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
26836
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 {
26841#if wxUSE_UNICODE
26842 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26843#else
26844 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26845#endif
26846 }
26847 return resultobj;
26848 fail:
26849 return NULL;
26850}
26851
26852
26853static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26854 PyObject *resultobj;
26855 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26856 wxString *arg2 = 0 ;
26857 wxString *arg3 = 0 ;
26858 int result;
423f194a
RD
26859 bool temp2 = False ;
26860 bool temp3 = False ;
d14a1e28
RD
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 PyObject * obj2 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self",(char *) "menu",(char *) "item", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26870 {
26871 arg2 = wxString_in_helper(obj1);
26872 if (arg2 == NULL) SWIG_fail;
423f194a 26873 temp2 = True;
d14a1e28
RD
26874 }
26875 {
26876 arg3 = wxString_in_helper(obj2);
26877 if (arg3 == NULL) SWIG_fail;
423f194a 26878 temp3 = True;
d14a1e28
RD
26879 }
26880 {
26881 PyThreadState* __tstate = wxPyBeginAllowThreads();
26882 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
26883
26884 wxPyEndAllowThreads(__tstate);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 }
26887 resultobj = PyInt_FromLong((long)result);
26888 {
26889 if (temp2)
26890 delete arg2;
26891 }
26892 {
26893 if (temp3)
26894 delete arg3;
26895 }
26896 return resultobj;
26897 fail:
26898 {
26899 if (temp2)
26900 delete arg2;
26901 }
26902 {
26903 if (temp3)
26904 delete arg3;
26905 }
26906 return NULL;
26907}
26908
26909
26910static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26911 PyObject *resultobj;
26912 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26913 int arg2 ;
26914 wxMenuItem *result;
26915 PyObject * obj0 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "self",(char *) "itemid", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26922 {
26923 PyThreadState* __tstate = wxPyBeginAllowThreads();
26924 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
26925
26926 wxPyEndAllowThreads(__tstate);
26927 if (PyErr_Occurred()) SWIG_fail;
26928 }
26929 {
26930 resultobj = wxPyMake_wxObject(result);
26931 }
26932 return resultobj;
26933 fail:
26934 return NULL;
26935}
26936
26937
26938static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj;
26940 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26941 wxString *arg2 = 0 ;
26942 int result;
423f194a 26943 bool temp2 = False ;
d14a1e28
RD
26944 PyObject * obj0 = 0 ;
26945 PyObject * obj1 = 0 ;
26946 char *kwnames[] = {
26947 (char *) "self",(char *) "title", NULL
26948 };
26949
26950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
26951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26952 {
26953 arg2 = wxString_in_helper(obj1);
26954 if (arg2 == NULL) SWIG_fail;
423f194a 26955 temp2 = True;
d14a1e28
RD
26956 }
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = PyInt_FromLong((long)result);
26965 {
26966 if (temp2)
26967 delete arg2;
26968 }
26969 return resultobj;
26970 fail:
26971 {
26972 if (temp2)
26973 delete arg2;
26974 }
26975 return NULL;
26976}
26977
26978
26979static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26980 PyObject *resultobj;
26981 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26982 int arg2 ;
26983 bool arg3 ;
26984 PyObject * obj0 = 0 ;
26985 PyObject * obj2 = 0 ;
26986 char *kwnames[] = {
26987 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26988 };
26989
26990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26992 arg3 = PyInt_AsLong(obj2) ? true : false;
26993 if (PyErr_Occurred()) SWIG_fail;
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 (arg1)->Enable(arg2,arg3);
26997
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 Py_INCREF(Py_None); resultobj = Py_None;
27002 return resultobj;
27003 fail:
27004 return NULL;
27005}
27006
27007
27008static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj;
27010 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27011 int arg2 ;
27012 bool arg3 ;
27013 PyObject * obj0 = 0 ;
27014 PyObject * obj2 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self",(char *) "itemid",(char *) "check", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27021 arg3 = PyInt_AsLong(obj2) ? true : false;
27022 if (PyErr_Occurred()) SWIG_fail;
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 (arg1)->Check(arg2,arg3);
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 Py_INCREF(Py_None); resultobj = Py_None;
27031 return resultobj;
27032 fail:
27033 return NULL;
27034}
27035
27036
27037static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj;
27039 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27040 int arg2 ;
27041 bool result;
27042 PyObject * obj0 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "itemid", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27049 {
27050 PyThreadState* __tstate = wxPyBeginAllowThreads();
27051 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27052
27053 wxPyEndAllowThreads(__tstate);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 resultobj = PyInt_FromLong((long)result);
27057 return resultobj;
27058 fail:
27059 return NULL;
27060}
27061
27062
27063static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27064 PyObject *resultobj;
27065 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27066 int arg2 ;
27067 bool result;
27068 PyObject * obj0 = 0 ;
27069 char *kwnames[] = {
27070 (char *) "self",(char *) "itemid", NULL
27071 };
27072
27073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 resultobj = PyInt_FromLong((long)result);
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
27089static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27090 PyObject *resultobj;
27091 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27092 int arg2 ;
27093 wxString *arg3 = 0 ;
423f194a 27094 bool temp3 = False ;
d14a1e28
RD
27095 PyObject * obj0 = 0 ;
27096 PyObject * obj2 = 0 ;
27097 char *kwnames[] = {
27098 (char *) "self",(char *) "itemid",(char *) "label", NULL
27099 };
27100
27101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27103 {
27104 arg3 = wxString_in_helper(obj2);
27105 if (arg3 == NULL) SWIG_fail;
423f194a 27106 temp3 = True;
d14a1e28
RD
27107 }
27108 {
27109 PyThreadState* __tstate = wxPyBeginAllowThreads();
27110 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27111
27112 wxPyEndAllowThreads(__tstate);
27113 if (PyErr_Occurred()) SWIG_fail;
27114 }
27115 Py_INCREF(Py_None); resultobj = Py_None;
27116 {
27117 if (temp3)
27118 delete arg3;
27119 }
27120 return resultobj;
27121 fail:
27122 {
27123 if (temp3)
27124 delete arg3;
27125 }
27126 return NULL;
27127}
27128
27129
27130static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj;
27132 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27133 int arg2 ;
27134 wxString result;
27135 PyObject * obj0 = 0 ;
27136 char *kwnames[] = {
27137 (char *) "self",(char *) "itemid", NULL
27138 };
27139
27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27145
27146 wxPyEndAllowThreads(__tstate);
27147 if (PyErr_Occurred()) SWIG_fail;
27148 }
27149 {
27150#if wxUSE_UNICODE
27151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27152#else
27153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27154#endif
27155 }
27156 return resultobj;
27157 fail:
27158 return NULL;
27159}
27160
27161
27162static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27163 PyObject *resultobj;
27164 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27165 int arg2 ;
27166 wxString *arg3 = 0 ;
423f194a 27167 bool temp3 = False ;
d14a1e28
RD
27168 PyObject * obj0 = 0 ;
27169 PyObject * obj2 = 0 ;
27170 char *kwnames[] = {
27171 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27172 };
27173
27174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27176 {
27177 arg3 = wxString_in_helper(obj2);
27178 if (arg3 == NULL) SWIG_fail;
423f194a 27179 temp3 = True;
d14a1e28
RD
27180 }
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27184
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 Py_INCREF(Py_None); resultobj = Py_None;
27189 {
27190 if (temp3)
27191 delete arg3;
27192 }
27193 return resultobj;
27194 fail:
27195 {
27196 if (temp3)
27197 delete arg3;
27198 }
27199 return NULL;
27200}
27201
27202
27203static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27204 PyObject *resultobj;
27205 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27206 int arg2 ;
27207 wxString result;
27208 PyObject * obj0 = 0 ;
27209 char *kwnames[] = {
27210 (char *) "self",(char *) "itemid", NULL
27211 };
27212
27213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27215 {
27216 PyThreadState* __tstate = wxPyBeginAllowThreads();
27217 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27218
27219 wxPyEndAllowThreads(__tstate);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 }
27222 {
27223#if wxUSE_UNICODE
27224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27225#else
27226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27227#endif
27228 }
27229 return resultobj;
27230 fail:
27231 return NULL;
27232}
27233
27234
27235static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27236 PyObject *resultobj;
27237 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27238 wxFrame *result;
27239 PyObject * obj0 = 0 ;
27240 char *kwnames[] = {
27241 (char *) "self", NULL
27242 };
27243
27244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27249
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 {
27254 resultobj = wxPyMake_wxObject(result);
27255 }
27256 return resultobj;
27257 fail:
27258 return NULL;
27259}
27260
27261
27262static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27263 PyObject *resultobj;
27264 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27265 bool result;
27266 PyObject * obj0 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 resultobj = PyInt_FromLong((long)result);
27281 return resultobj;
27282 fail:
27283 return NULL;
27284}
27285
27286
27287static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27288 PyObject *resultobj;
27289 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27290 wxFrame *arg2 = (wxFrame *) 0 ;
27291 PyObject * obj0 = 0 ;
27292 PyObject * obj1 = 0 ;
27293 char *kwnames[] = {
27294 (char *) "self",(char *) "frame", NULL
27295 };
27296
27297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 (arg1)->Attach(arg2);
27303
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 Py_INCREF(Py_None); resultobj = Py_None;
27308 return resultobj;
27309 fail:
27310 return NULL;
27311}
27312
27313
27314static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27315 PyObject *resultobj;
27316 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27317 PyObject * obj0 = 0 ;
27318 char *kwnames[] = {
27319 (char *) "self", NULL
27320 };
27321
27322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27324 {
27325 PyThreadState* __tstate = wxPyBeginAllowThreads();
27326 (arg1)->Detach();
27327
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 Py_INCREF(Py_None); resultobj = Py_None;
27332 return resultobj;
27333 fail:
27334 return NULL;
27335}
27336
27337
27338static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27339 PyObject *obj;
27340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27341 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27342 Py_INCREF(obj);
27343 return Py_BuildValue((char *)"");
27344}
27345static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27346 PyObject *resultobj;
27347 wxMenu *arg1 = (wxMenu *) NULL ;
27348 int arg2 = (int) wxID_SEPARATOR ;
27349 wxString const &arg3_defvalue = wxPyEmptyString ;
27350 wxString *arg3 = (wxString *) &arg3_defvalue ;
27351 wxString const &arg4_defvalue = wxPyEmptyString ;
27352 wxString *arg4 = (wxString *) &arg4_defvalue ;
27353 int arg5 = (int) wxITEM_NORMAL ;
27354 wxMenu *arg6 = (wxMenu *) NULL ;
27355 wxMenuItem *result;
423f194a
RD
27356 bool temp3 = False ;
27357 bool temp4 = False ;
d14a1e28
RD
27358 PyObject * obj0 = 0 ;
27359 PyObject * obj2 = 0 ;
27360 PyObject * obj3 = 0 ;
27361 PyObject * obj5 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27364 };
27365
27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27367 if (obj0) {
27368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27369 }
27370 if (obj2) {
27371 {
27372 arg3 = wxString_in_helper(obj2);
27373 if (arg3 == NULL) SWIG_fail;
423f194a 27374 temp3 = True;
d14a1e28
RD
27375 }
27376 }
27377 if (obj3) {
27378 {
27379 arg4 = wxString_in_helper(obj3);
27380 if (arg4 == NULL) SWIG_fail;
423f194a 27381 temp4 = True;
d14a1e28
RD
27382 }
27383 }
27384 if (obj5) {
27385 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27386 }
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
27394 {
27395 resultobj = wxPyMake_wxObject(result);
27396 }
27397 {
27398 if (temp3)
27399 delete arg3;
27400 }
27401 {
27402 if (temp4)
27403 delete arg4;
27404 }
27405 return resultobj;
27406 fail:
27407 {
27408 if (temp3)
27409 delete arg3;
27410 }
27411 {
27412 if (temp4)
27413 delete arg4;
27414 }
27415 return NULL;
27416}
27417
27418
27419static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27420 PyObject *resultobj;
27421 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27422 wxMenu *result;
27423 PyObject * obj0 = 0 ;
27424 char *kwnames[] = {
27425 (char *) "self", NULL
27426 };
27427
27428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27433
27434 wxPyEndAllowThreads(__tstate);
27435 if (PyErr_Occurred()) SWIG_fail;
27436 }
27437 {
27438 resultobj = wxPyMake_wxObject(result);
27439 }
27440 return resultobj;
27441 fail:
27442 return NULL;
27443}
27444
27445
27446static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27447 PyObject *resultobj;
27448 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27449 wxMenu *arg2 = (wxMenu *) 0 ;
27450 PyObject * obj0 = 0 ;
27451 PyObject * obj1 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "menu", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27459 {
27460 PyThreadState* __tstate = wxPyBeginAllowThreads();
27461 (arg1)->SetMenu(arg2);
27462
27463 wxPyEndAllowThreads(__tstate);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 Py_INCREF(Py_None); resultobj = Py_None;
27467 return resultobj;
27468 fail:
27469 return NULL;
27470}
27471
27472
27473static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27474 PyObject *resultobj;
27475 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27476 int arg2 ;
27477 PyObject * obj0 = 0 ;
27478 char *kwnames[] = {
27479 (char *) "self",(char *) "itemid", NULL
27480 };
27481
27482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27484 {
27485 PyThreadState* __tstate = wxPyBeginAllowThreads();
27486 (arg1)->SetId(arg2);
27487
27488 wxPyEndAllowThreads(__tstate);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
27491 Py_INCREF(Py_None); resultobj = Py_None;
27492 return resultobj;
27493 fail:
27494 return NULL;
27495}
27496
27497
27498static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27499 PyObject *resultobj;
27500 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27501 int result;
27502 PyObject * obj0 = 0 ;
27503 char *kwnames[] = {
27504 (char *) "self", NULL
27505 };
27506
27507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 result = (int)((wxMenuItem const *)arg1)->GetId();
27512
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 resultobj = PyInt_FromLong((long)result);
27517 return resultobj;
27518 fail:
27519 return NULL;
27520}
27521
27522
27523static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27524 PyObject *resultobj;
27525 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27526 bool result;
27527 PyObject * obj0 = 0 ;
27528 char *kwnames[] = {
27529 (char *) "self", NULL
27530 };
27531
27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27534 {
27535 PyThreadState* __tstate = wxPyBeginAllowThreads();
27536 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
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_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27549 PyObject *resultobj;
27550 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27551 wxString *arg2 = 0 ;
423f194a 27552 bool temp2 = False ;
d14a1e28
RD
27553 PyObject * obj0 = 0 ;
27554 PyObject * obj1 = 0 ;
27555 char *kwnames[] = {
27556 (char *) "self",(char *) "str", NULL
27557 };
27558
27559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27561 {
27562 arg2 = wxString_in_helper(obj1);
27563 if (arg2 == NULL) SWIG_fail;
423f194a 27564 temp2 = True;
d14a1e28
RD
27565 }
27566 {
27567 PyThreadState* __tstate = wxPyBeginAllowThreads();
27568 (arg1)->SetText((wxString const &)*arg2);
27569
27570 wxPyEndAllowThreads(__tstate);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 Py_INCREF(Py_None); resultobj = Py_None;
27574 {
27575 if (temp2)
27576 delete arg2;
27577 }
27578 return resultobj;
27579 fail:
27580 {
27581 if (temp2)
27582 delete arg2;
27583 }
27584 return NULL;
27585}
27586
27587
27588static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27589 PyObject *resultobj;
27590 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27591 wxString result;
27592 PyObject * obj0 = 0 ;
27593 char *kwnames[] = {
27594 (char *) "self", NULL
27595 };
27596
27597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 result = ((wxMenuItem const *)arg1)->GetLabel();
27602
27603 wxPyEndAllowThreads(__tstate);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 {
27607#if wxUSE_UNICODE
27608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27609#else
27610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27611#endif
27612 }
27613 return resultobj;
27614 fail:
27615 return NULL;
27616}
27617
27618
27619static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27620 PyObject *resultobj;
27621 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27622 wxString *result;
27623 PyObject * obj0 = 0 ;
27624 char *kwnames[] = {
27625 (char *) "self", NULL
27626 };
27627
27628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 {
27633 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27634 result = (wxString *) &_result_ref;
27635 }
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27641 return resultobj;
27642 fail:
27643 return NULL;
27644}
27645
27646
27647static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27648 PyObject *resultobj;
27649 wxString *arg1 = 0 ;
27650 wxString result;
423f194a 27651 bool temp1 = False ;
d14a1e28
RD
27652 PyObject * obj0 = 0 ;
27653 char *kwnames[] = {
27654 (char *) "text", NULL
27655 };
27656
27657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27658 {
27659 arg1 = wxString_in_helper(obj0);
27660 if (arg1 == NULL) SWIG_fail;
423f194a 27661 temp1 = True;
d14a1e28
RD
27662 }
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 {
27671#if wxUSE_UNICODE
27672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27673#else
27674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27675#endif
27676 }
27677 {
27678 if (temp1)
27679 delete arg1;
27680 }
27681 return resultobj;
27682 fail:
27683 {
27684 if (temp1)
27685 delete arg1;
27686 }
27687 return NULL;
27688}
27689
27690
27691static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj;
27693 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27694 int result;
27695 PyObject * obj0 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
27701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27702 {
27703 PyThreadState* __tstate = wxPyBeginAllowThreads();
27704 result = (int)((wxMenuItem const *)arg1)->GetKind();
27705
27706 wxPyEndAllowThreads(__tstate);
27707 if (PyErr_Occurred()) SWIG_fail;
27708 }
27709 resultobj = PyInt_FromLong((long)result);
27710 return resultobj;
27711 fail:
27712 return NULL;
27713}
27714
27715
27716static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27717 PyObject *resultobj;
27718 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27719 bool arg2 ;
27720 PyObject * obj0 = 0 ;
27721 PyObject * obj1 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self",(char *) "checkable", NULL
27724 };
27725
27726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
27727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27728 arg2 = PyInt_AsLong(obj1) ? true : false;
27729 if (PyErr_Occurred()) SWIG_fail;
27730 {
27731 PyThreadState* __tstate = wxPyBeginAllowThreads();
27732 (arg1)->SetCheckable(arg2);
27733
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 Py_INCREF(Py_None); resultobj = Py_None;
27738 return resultobj;
27739 fail:
27740 return NULL;
27741}
27742
27743
27744static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj;
27746 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27747 bool result;
27748 PyObject * obj0 = 0 ;
27749 char *kwnames[] = {
27750 (char *) "self", NULL
27751 };
27752
27753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
27754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27755 {
27756 PyThreadState* __tstate = wxPyBeginAllowThreads();
27757 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
27758
27759 wxPyEndAllowThreads(__tstate);
27760 if (PyErr_Occurred()) SWIG_fail;
27761 }
27762 resultobj = PyInt_FromLong((long)result);
27763 return resultobj;
27764 fail:
27765 return NULL;
27766}
27767
27768
27769static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27770 PyObject *resultobj;
27771 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27772 bool result;
27773 PyObject * obj0 = 0 ;
27774 char *kwnames[] = {
27775 (char *) "self", NULL
27776 };
27777
27778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
27779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27780 {
27781 PyThreadState* __tstate = wxPyBeginAllowThreads();
27782 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
27783
27784 wxPyEndAllowThreads(__tstate);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 }
27787 resultobj = PyInt_FromLong((long)result);
27788 return resultobj;
27789 fail:
27790 return NULL;
27791}
27792
27793
27794static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27795 PyObject *resultobj;
27796 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27797 wxMenu *arg2 = (wxMenu *) 0 ;
27798 PyObject * obj0 = 0 ;
27799 PyObject * obj1 = 0 ;
27800 char *kwnames[] = {
27801 (char *) "self",(char *) "menu", NULL
27802 };
27803
27804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
27805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27807 {
27808 PyThreadState* __tstate = wxPyBeginAllowThreads();
27809 (arg1)->SetSubMenu(arg2);
27810
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 Py_INCREF(Py_None); resultobj = Py_None;
27815 return resultobj;
27816 fail:
27817 return NULL;
27818}
27819
27820
27821static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27822 PyObject *resultobj;
27823 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27824 wxMenu *result;
27825 PyObject * obj0 = 0 ;
27826 char *kwnames[] = {
27827 (char *) "self", NULL
27828 };
27829
27830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
27831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
27834 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
27835
27836 wxPyEndAllowThreads(__tstate);
27837 if (PyErr_Occurred()) SWIG_fail;
27838 }
27839 {
27840 resultobj = wxPyMake_wxObject(result);
27841 }
27842 return resultobj;
27843 fail:
27844 return NULL;
27845}
27846
27847
27848static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27849 PyObject *resultobj;
27850 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 27851 bool arg2 = (bool) True ;
d14a1e28
RD
27852 PyObject * obj0 = 0 ;
27853 PyObject * obj1 = 0 ;
27854 char *kwnames[] = {
27855 (char *) "self",(char *) "enable", NULL
27856 };
27857
27858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
27859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27860 if (obj1) {
27861 arg2 = PyInt_AsLong(obj1) ? true : false;
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 {
27865 PyThreadState* __tstate = wxPyBeginAllowThreads();
27866 (arg1)->Enable(arg2);
27867
27868 wxPyEndAllowThreads(__tstate);
27869 if (PyErr_Occurred()) SWIG_fail;
27870 }
27871 Py_INCREF(Py_None); resultobj = Py_None;
27872 return resultobj;
27873 fail:
27874 return NULL;
27875}
27876
27877
27878static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27879 PyObject *resultobj;
27880 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27881 bool result;
27882 PyObject * obj0 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",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 = (bool)((wxMenuItem const *)arg1)->IsEnabled();
27892
27893 wxPyEndAllowThreads(__tstate);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 resultobj = PyInt_FromLong((long)result);
27897 return resultobj;
27898 fail:
27899 return NULL;
27900}
27901
27902
27903static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27904 PyObject *resultobj;
27905 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 27906 bool arg2 = (bool) True ;
d14a1e28
RD
27907 PyObject * obj0 = 0 ;
27908 PyObject * obj1 = 0 ;
27909 char *kwnames[] = {
27910 (char *) "self",(char *) "check", NULL
27911 };
27912
27913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
27914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27915 if (obj1) {
27916 arg2 = PyInt_AsLong(obj1) ? true : false;
27917 if (PyErr_Occurred()) SWIG_fail;
27918 }
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 (arg1)->Check(arg2);
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 Py_INCREF(Py_None); resultobj = Py_None;
27927 return resultobj;
27928 fail:
27929 return NULL;
27930}
27931
27932
27933static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27934 PyObject *resultobj;
27935 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27936 bool result;
27937 PyObject * obj0 = 0 ;
27938 char *kwnames[] = {
27939 (char *) "self", NULL
27940 };
27941
27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
27943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
27947
27948 wxPyEndAllowThreads(__tstate);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 resultobj = PyInt_FromLong((long)result);
27952 return resultobj;
27953 fail:
27954 return NULL;
27955}
27956
27957
27958static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27959 PyObject *resultobj;
27960 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27961 PyObject * obj0 = 0 ;
27962 char *kwnames[] = {
27963 (char *) "self", NULL
27964 };
27965
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",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 (arg1)->Toggle();
27971
27972 wxPyEndAllowThreads(__tstate);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 Py_INCREF(Py_None); resultobj = Py_None;
27976 return resultobj;
27977 fail:
27978 return NULL;
27979}
27980
27981
27982static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27983 PyObject *resultobj;
27984 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27985 wxString *arg2 = 0 ;
423f194a 27986 bool temp2 = False ;
d14a1e28
RD
27987 PyObject * obj0 = 0 ;
27988 PyObject * obj1 = 0 ;
27989 char *kwnames[] = {
27990 (char *) "self",(char *) "str", NULL
27991 };
27992
27993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
27994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27995 {
27996 arg2 = wxString_in_helper(obj1);
27997 if (arg2 == NULL) SWIG_fail;
423f194a 27998 temp2 = True;
d14a1e28
RD
27999 }
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 (arg1)->SetHelp((wxString const &)*arg2);
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 Py_INCREF(Py_None); resultobj = Py_None;
28008 {
28009 if (temp2)
28010 delete arg2;
28011 }
28012 return resultobj;
28013 fail:
28014 {
28015 if (temp2)
28016 delete arg2;
28017 }
28018 return NULL;
28019}
28020
28021
28022static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28023 PyObject *resultobj;
28024 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28025 wxString *result;
28026 PyObject * obj0 = 0 ;
28027 char *kwnames[] = {
28028 (char *) "self", NULL
28029 };
28030
28031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28033 {
28034 PyThreadState* __tstate = wxPyBeginAllowThreads();
28035 {
28036 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28037 result = (wxString *) &_result_ref;
28038 }
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
28044 return resultobj;
28045 fail:
28046 return NULL;
28047}
28048
28049
28050static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28051 PyObject *resultobj;
28052 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28053 wxAcceleratorEntry *result;
28054 PyObject * obj0 = 0 ;
28055 char *kwnames[] = {
28056 (char *) "self", NULL
28057 };
28058
28059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28064
28065 wxPyEndAllowThreads(__tstate);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
28068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28069 return resultobj;
28070 fail:
28071 return NULL;
28072}
28073
28074
28075static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28076 PyObject *resultobj;
28077 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28078 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28079 PyObject * obj0 = 0 ;
28080 PyObject * obj1 = 0 ;
28081 char *kwnames[] = {
28082 (char *) "self",(char *) "accel", NULL
28083 };
28084
28085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28088 {
28089 PyThreadState* __tstate = wxPyBeginAllowThreads();
28090 (arg1)->SetAccel(arg2);
28091
28092 wxPyEndAllowThreads(__tstate);
28093 if (PyErr_Occurred()) SWIG_fail;
28094 }
28095 Py_INCREF(Py_None); resultobj = Py_None;
28096 return resultobj;
28097 fail:
28098 return NULL;
28099}
28100
28101
28102static PyObject *_wrap_MenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
28103 PyObject *resultobj;
28104 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28105 wxFont *arg2 = 0 ;
28106 PyObject * obj0 = 0 ;
28107 PyObject * obj1 = 0 ;
28108 char *kwnames[] = {
28109 (char *) "self",(char *) "font", NULL
28110 };
28111
28112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
28113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28115 if (arg2 == NULL) {
28116 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28117 }
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 (arg1)->SetFont((wxFont const &)*arg2);
28121
28122 wxPyEndAllowThreads(__tstate);
28123 if (PyErr_Occurred()) SWIG_fail;
28124 }
28125 Py_INCREF(Py_None); resultobj = Py_None;
28126 return resultobj;
28127 fail:
28128 return NULL;
28129}
28130
28131
28132static PyObject *_wrap_MenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj;
28134 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28135 wxFont result;
28136 PyObject * obj0 = 0 ;
28137 char *kwnames[] = {
28138 (char *) "self", NULL
28139 };
28140
28141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
28142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 result = (arg1)->GetFont();
28146
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
28150 {
28151 wxFont * resultptr;
28152 resultptr = new wxFont((wxFont &) result);
28153 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
28154 }
28155 return resultobj;
28156 fail:
28157 return NULL;
28158}
28159
28160
28161static PyObject *_wrap_MenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28162 PyObject *resultobj;
28163 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28164 wxColour *arg2 = 0 ;
28165 wxColour temp2 ;
28166 PyObject * obj0 = 0 ;
28167 PyObject * obj1 = 0 ;
28168 char *kwnames[] = {
28169 (char *) "self",(char *) "colText", NULL
28170 };
28171
28172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
28173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28174 {
28175 arg2 = &temp2;
28176 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28177 }
28178 {
28179 PyThreadState* __tstate = wxPyBeginAllowThreads();
28180 (arg1)->SetTextColour((wxColour const &)*arg2);
28181
28182 wxPyEndAllowThreads(__tstate);
28183 if (PyErr_Occurred()) SWIG_fail;
28184 }
28185 Py_INCREF(Py_None); resultobj = Py_None;
28186 return resultobj;
28187 fail:
28188 return NULL;
28189}
28190
28191
28192static PyObject *_wrap_MenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28193 PyObject *resultobj;
28194 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28195 wxColour result;
28196 PyObject * obj0 = 0 ;
28197 char *kwnames[] = {
28198 (char *) "self", NULL
28199 };
28200
28201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
28202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28203 {
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
28205 result = (arg1)->GetTextColour();
28206
28207 wxPyEndAllowThreads(__tstate);
28208 if (PyErr_Occurred()) SWIG_fail;
28209 }
28210 {
28211 wxColour * resultptr;
28212 resultptr = new wxColour((wxColour &) result);
28213 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
28214 }
28215 return resultobj;
28216 fail:
28217 return NULL;
28218}
28219
28220
28221static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28222 PyObject *resultobj;
28223 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28224 wxColour *arg2 = 0 ;
28225 wxColour temp2 ;
28226 PyObject * obj0 = 0 ;
28227 PyObject * obj1 = 0 ;
28228 char *kwnames[] = {
28229 (char *) "self",(char *) "colBack", NULL
28230 };
28231
28232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28234 {
28235 arg2 = &temp2;
28236 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28237 }
28238 {
28239 PyThreadState* __tstate = wxPyBeginAllowThreads();
28240 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
28241
28242 wxPyEndAllowThreads(__tstate);
28243 if (PyErr_Occurred()) SWIG_fail;
28244 }
28245 Py_INCREF(Py_None); resultobj = Py_None;
28246 return resultobj;
28247 fail:
28248 return NULL;
28249}
28250
28251
28252static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28253 PyObject *resultobj;
28254 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28255 wxColour result;
28256 PyObject * obj0 = 0 ;
28257 char *kwnames[] = {
28258 (char *) "self", NULL
28259 };
28260
28261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
28262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
28265 result = (arg1)->GetBackgroundColour();
28266
28267 wxPyEndAllowThreads(__tstate);
28268 if (PyErr_Occurred()) SWIG_fail;
28269 }
28270 {
28271 wxColour * resultptr;
28272 resultptr = new wxColour((wxColour &) result);
28273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
28274 }
28275 return resultobj;
28276 fail:
28277 return NULL;
28278}
28279
28280
28281static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
28282 PyObject *resultobj;
28283 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28284 wxBitmap *arg2 = 0 ;
28285 wxBitmap const &arg3_defvalue = wxNullBitmap ;
28286 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
28287 PyObject * obj0 = 0 ;
28288 PyObject * obj1 = 0 ;
28289 PyObject * obj2 = 0 ;
28290 char *kwnames[] = {
28291 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28292 };
28293
28294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
28295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28297 if (arg2 == NULL) {
28298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28299 }
28300 if (obj2) {
28301 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28302 if (arg3 == NULL) {
28303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28304 }
28305 }
28306 {
28307 PyThreadState* __tstate = wxPyBeginAllowThreads();
28308 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
28309
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 Py_INCREF(Py_None); resultobj = Py_None;
28314 return resultobj;
28315 fail:
28316 return NULL;
28317}
28318
28319
28320static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28323 wxBitmap *arg2 = 0 ;
28324 PyObject * obj0 = 0 ;
28325 PyObject * obj1 = 0 ;
28326 char *kwnames[] = {
28327 (char *) "self",(char *) "bmpDisabled", NULL
28328 };
28329
28330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
28331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28333 if (arg2 == NULL) {
28334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28335 }
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
28339
28340 wxPyEndAllowThreads(__tstate);
28341 if (PyErr_Occurred()) SWIG_fail;
28342 }
28343 Py_INCREF(Py_None); resultobj = Py_None;
28344 return resultobj;
28345 fail:
28346 return NULL;
28347}
28348
28349
28350static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28351 PyObject *resultobj;
28352 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28353 wxBitmap *result;
28354 PyObject * obj0 = 0 ;
28355 char *kwnames[] = {
28356 (char *) "self", NULL
28357 };
28358
28359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
28360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28361 {
28362 PyThreadState* __tstate = wxPyBeginAllowThreads();
28363 {
28364 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
28365 result = (wxBitmap *) &_result_ref;
28366 }
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28372 return resultobj;
28373 fail:
28374 return NULL;
28375}
28376
28377
28378static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28379 PyObject *resultobj;
28380 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28381 int arg2 ;
28382 PyObject * obj0 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "self",(char *) "nWidth", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
28388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28389 {
28390 PyThreadState* __tstate = wxPyBeginAllowThreads();
28391 (arg1)->SetMarginWidth(arg2);
28392
28393 wxPyEndAllowThreads(__tstate);
28394 if (PyErr_Occurred()) SWIG_fail;
28395 }
28396 Py_INCREF(Py_None); resultobj = Py_None;
28397 return resultobj;
28398 fail:
28399 return NULL;
28400}
28401
28402
28403static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28404 PyObject *resultobj;
28405 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28406 int result;
28407 PyObject * obj0 = 0 ;
28408 char *kwnames[] = {
28409 (char *) "self", NULL
28410 };
28411
28412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
28413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28414 {
28415 PyThreadState* __tstate = wxPyBeginAllowThreads();
28416 result = (int)(arg1)->GetMarginWidth();
28417
28418 wxPyEndAllowThreads(__tstate);
28419 if (PyErr_Occurred()) SWIG_fail;
28420 }
28421 resultobj = PyInt_FromLong((long)result);
28422 return resultobj;
28423 fail:
28424 return NULL;
28425}
28426
28427
28428static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28429 PyObject *resultobj;
28430 int result;
28431 char *kwnames[] = {
28432 NULL
28433 };
28434
28435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28436 {
28437 PyThreadState* __tstate = wxPyBeginAllowThreads();
28438 result = (int)wxMenuItem::GetDefaultMarginWidth();
28439
28440 wxPyEndAllowThreads(__tstate);
28441 if (PyErr_Occurred()) SWIG_fail;
28442 }
28443 resultobj = PyInt_FromLong((long)result);
28444 return resultobj;
28445 fail:
28446 return NULL;
28447}
28448
28449
28450static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28451 PyObject *resultobj;
28452 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28453 bool result;
28454 PyObject * obj0 = 0 ;
28455 char *kwnames[] = {
28456 (char *) "self", NULL
28457 };
28458
28459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
28460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28461 {
28462 PyThreadState* __tstate = wxPyBeginAllowThreads();
28463 result = (bool)(arg1)->IsOwnerDrawn();
28464
28465 wxPyEndAllowThreads(__tstate);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 resultobj = PyInt_FromLong((long)result);
28469 return resultobj;
28470 fail:
28471 return NULL;
28472}
28473
28474
28475static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj;
28477 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 28478 bool arg2 = (bool) True ;
d14a1e28
RD
28479 PyObject * obj0 = 0 ;
28480 PyObject * obj1 = 0 ;
28481 char *kwnames[] = {
28482 (char *) "self",(char *) "ownerDrawn", NULL
28483 };
28484
28485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
28486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28487 if (obj1) {
28488 arg2 = PyInt_AsLong(obj1) ? true : false;
28489 if (PyErr_Occurred()) SWIG_fail;
28490 }
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
28493 (arg1)->SetOwnerDrawn(arg2);
28494
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 Py_INCREF(Py_None); resultobj = Py_None;
28499 return resultobj;
28500 fail:
28501 return NULL;
28502}
28503
28504
28505static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28506 PyObject *resultobj;
28507 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28508 PyObject * obj0 = 0 ;
28509 char *kwnames[] = {
28510 (char *) "self", NULL
28511 };
28512
28513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
28514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28515 {
28516 PyThreadState* __tstate = wxPyBeginAllowThreads();
28517 (arg1)->ResetOwnerDrawn();
28518
28519 wxPyEndAllowThreads(__tstate);
28520 if (PyErr_Occurred()) SWIG_fail;
28521 }
28522 Py_INCREF(Py_None); resultobj = Py_None;
28523 return resultobj;
28524 fail:
28525 return NULL;
28526}
28527
28528
28529static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28530 PyObject *resultobj;
28531 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28532 wxBitmap *arg2 = 0 ;
28533 PyObject * obj0 = 0 ;
28534 PyObject * obj1 = 0 ;
28535 char *kwnames[] = {
28536 (char *) "self",(char *) "bitmap", NULL
28537 };
28538
28539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28542 if (arg2 == NULL) {
28543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28544 }
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28548
28549 wxPyEndAllowThreads(__tstate);
28550 if (PyErr_Occurred()) SWIG_fail;
28551 }
28552 Py_INCREF(Py_None); resultobj = Py_None;
28553 return resultobj;
28554 fail:
28555 return NULL;
28556}
28557
28558
28559static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28560 PyObject *resultobj;
28561 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28562 wxBitmap *result;
28563 PyObject * obj0 = 0 ;
28564 char *kwnames[] = {
28565 (char *) "self", NULL
28566 };
28567
28568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28570 {
28571 PyThreadState* __tstate = wxPyBeginAllowThreads();
28572 {
28573 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28574 result = (wxBitmap *) &_result_ref;
28575 }
28576
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28581 return resultobj;
28582 fail:
28583 return NULL;
28584}
28585
28586
28587static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28588 PyObject *obj;
28589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28590 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28591 Py_INCREF(obj);
28592 return Py_BuildValue((char *)"");
28593}
28594static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28595 PyObject *resultobj;
28596 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 28597 int arg2 ;
d14a1e28
RD
28598 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28599 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28600 wxSize const &arg4_defvalue = wxDefaultSize ;
28601 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28602 long arg5 = (long) 0 ;
28603 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28604 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28605 wxString const &arg7_defvalue = wxPyControlNameStr ;
28606 wxString *arg7 = (wxString *) &arg7_defvalue ;
28607 wxControl *result;
28608 wxPoint temp3 ;
28609 wxSize temp4 ;
423f194a 28610 bool temp7 = False ;
d14a1e28
RD
28611 PyObject * obj0 = 0 ;
28612 PyObject * obj2 = 0 ;
28613 PyObject * obj3 = 0 ;
28614 PyObject * obj5 = 0 ;
28615 PyObject * obj6 = 0 ;
28616 char *kwnames[] = {
28617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28618 };
28619
28620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28622 if (obj2) {
28623 {
28624 arg3 = &temp3;
28625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28626 }
28627 }
28628 if (obj3) {
28629 {
28630 arg4 = &temp4;
28631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28632 }
28633 }
28634 if (obj5) {
28635 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28636 if (arg6 == NULL) {
28637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28638 }
28639 }
28640 if (obj6) {
28641 {
28642 arg7 = wxString_in_helper(obj6);
28643 if (arg7 == NULL) SWIG_fail;
423f194a 28644 temp7 = True;
d14a1e28
RD
28645 }
28646 }
28647 {
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28650
28651 wxPyEndAllowThreads(__tstate);
28652 if (PyErr_Occurred()) SWIG_fail;
28653 }
28654 {
28655 resultobj = wxPyMake_wxObject(result);
28656 }
28657 {
28658 if (temp7)
28659 delete arg7;
28660 }
28661 return resultobj;
28662 fail:
28663 {
28664 if (temp7)
28665 delete arg7;
28666 }
28667 return NULL;
28668}
28669
28670
28671static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28672 PyObject *resultobj;
28673 wxControl *result;
28674 char *kwnames[] = {
28675 NULL
28676 };
28677
28678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (wxControl *)new wxControl();
28682
28683 wxPyEndAllowThreads(__tstate);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
28686 {
28687 resultobj = wxPyMake_wxObject(result);
28688 }
28689 return resultobj;
28690 fail:
28691 return NULL;
28692}
28693
28694
28695static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28696 PyObject *resultobj;
28697 wxControl *arg1 = (wxControl *) 0 ;
28698 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 28699 int arg3 ;
d14a1e28
RD
28700 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28701 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28702 wxSize const &arg5_defvalue = wxDefaultSize ;
28703 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28704 long arg6 = (long) 0 ;
28705 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28706 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28707 wxString const &arg8_defvalue = wxPyControlNameStr ;
28708 wxString *arg8 = (wxString *) &arg8_defvalue ;
28709 bool result;
28710 wxPoint temp4 ;
28711 wxSize temp5 ;
423f194a 28712 bool temp8 = False ;
d14a1e28
RD
28713 PyObject * obj0 = 0 ;
28714 PyObject * obj1 = 0 ;
28715 PyObject * obj3 = 0 ;
28716 PyObject * obj4 = 0 ;
28717 PyObject * obj6 = 0 ;
28718 PyObject * obj7 = 0 ;
28719 char *kwnames[] = {
28720 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28721 };
28722
28723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28726 if (obj3) {
28727 {
28728 arg4 = &temp4;
28729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28730 }
28731 }
28732 if (obj4) {
28733 {
28734 arg5 = &temp5;
28735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28736 }
28737 }
28738 if (obj6) {
28739 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28740 if (arg7 == NULL) {
28741 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28742 }
28743 }
28744 if (obj7) {
28745 {
28746 arg8 = wxString_in_helper(obj7);
28747 if (arg8 == NULL) SWIG_fail;
423f194a 28748 temp8 = True;
d14a1e28
RD
28749 }
28750 }
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28754
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 resultobj = PyInt_FromLong((long)result);
28759 {
28760 if (temp8)
28761 delete arg8;
28762 }
28763 return resultobj;
28764 fail:
28765 {
28766 if (temp8)
28767 delete arg8;
28768 }
28769 return NULL;
28770}
28771
28772
28773static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28774 PyObject *resultobj;
28775 wxControl *arg1 = (wxControl *) 0 ;
28776 wxCommandEvent *arg2 = 0 ;
28777 PyObject * obj0 = 0 ;
28778 PyObject * obj1 = 0 ;
28779 char *kwnames[] = {
28780 (char *) "self",(char *) "event", NULL
28781 };
28782
28783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28786 if (arg2 == NULL) {
28787 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28788 }
28789 {
28790 PyThreadState* __tstate = wxPyBeginAllowThreads();
28791 (arg1)->Command(*arg2);
28792
28793 wxPyEndAllowThreads(__tstate);
28794 if (PyErr_Occurred()) SWIG_fail;
28795 }
28796 Py_INCREF(Py_None); resultobj = Py_None;
28797 return resultobj;
28798 fail:
28799 return NULL;
28800}
28801
28802
28803static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28804 PyObject *resultobj;
28805 wxControl *arg1 = (wxControl *) 0 ;
28806 wxString result;
28807 PyObject * obj0 = 0 ;
28808 char *kwnames[] = {
28809 (char *) "self", NULL
28810 };
28811
28812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 result = (arg1)->GetLabel();
28817
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 {
28822#if wxUSE_UNICODE
28823 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28824#else
28825 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28826#endif
28827 }
28828 return resultobj;
28829 fail:
28830 return NULL;
28831}
28832
28833
28834static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28835 PyObject *resultobj;
28836 wxControl *arg1 = (wxControl *) 0 ;
28837 wxString *arg2 = 0 ;
423f194a 28838 bool temp2 = False ;
d14a1e28
RD
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "label", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28847 {
28848 arg2 = wxString_in_helper(obj1);
28849 if (arg2 == NULL) SWIG_fail;
423f194a 28850 temp2 = True;
d14a1e28
RD
28851 }
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 (arg1)->SetLabel((wxString const &)*arg2);
28855
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 Py_INCREF(Py_None); resultobj = Py_None;
28860 {
28861 if (temp2)
28862 delete arg2;
28863 }
28864 return resultobj;
28865 fail:
28866 {
28867 if (temp2)
28868 delete arg2;
28869 }
28870 return NULL;
28871}
28872
28873
28874static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28875 PyObject *obj;
28876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28877 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28878 Py_INCREF(obj);
28879 return Py_BuildValue((char *)"");
28880}
28881static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28882 PyObject *resultobj;
28883 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28884 wxString *arg2 = 0 ;
28885 PyObject *arg3 = (PyObject *) NULL ;
28886 int result;
423f194a 28887 bool temp2 = False ;
d14a1e28
RD
28888 PyObject * obj0 = 0 ;
28889 PyObject * obj1 = 0 ;
28890 PyObject * obj2 = 0 ;
28891 char *kwnames[] = {
28892 (char *) "self",(char *) "item",(char *) "clientData", NULL
28893 };
28894
28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28897 {
28898 arg2 = wxString_in_helper(obj1);
28899 if (arg2 == NULL) SWIG_fail;
423f194a 28900 temp2 = True;
d14a1e28
RD
28901 }
28902 if (obj2) {
28903 arg3 = obj2;
28904 }
28905 {
28906 PyThreadState* __tstate = wxPyBeginAllowThreads();
28907 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28908
28909 wxPyEndAllowThreads(__tstate);
28910 if (PyErr_Occurred()) SWIG_fail;
28911 }
28912 resultobj = PyInt_FromLong((long)result);
28913 {
28914 if (temp2)
28915 delete arg2;
28916 }
28917 return resultobj;
28918 fail:
28919 {
28920 if (temp2)
28921 delete arg2;
28922 }
28923 return NULL;
28924}
28925
28926
28927static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28928 PyObject *resultobj;
28929 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28930 wxArrayString *arg2 = 0 ;
28931 PyObject * obj0 = 0 ;
28932 PyObject * obj1 = 0 ;
28933 char *kwnames[] = {
28934 (char *) "self",(char *) "strings", NULL
28935 };
28936
28937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28939 {
28940 if (! PySequence_Check(obj1)) {
28941 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28942 SWIG_fail;
28943 }
28944 arg2 = new wxArrayString;
28945 int i, len=PySequence_Length(obj1);
28946 for (i=0; i<len; i++) {
28947 PyObject* item = PySequence_GetItem(obj1, i);
28948#if wxUSE_UNICODE
28949 PyObject* str = PyObject_Unicode(item);
28950#else
28951 PyObject* str = PyObject_Str(item);
28952#endif
28953 arg2->Add(Py2wxString(str));
28954 Py_DECREF(item);
28955 Py_DECREF(str);
28956 }
28957 }
28958 {
28959 PyThreadState* __tstate = wxPyBeginAllowThreads();
28960 (arg1)->Append((wxArrayString const &)*arg2);
28961
28962 wxPyEndAllowThreads(__tstate);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 Py_INCREF(Py_None); resultobj = Py_None;
28966 {
28967 if (arg2) delete arg2;
28968 }
28969 return resultobj;
28970 fail:
28971 {
28972 if (arg2) delete arg2;
28973 }
28974 return NULL;
28975}
28976
28977
28978static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28979 PyObject *resultobj;
28980 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28981 wxString *arg2 = 0 ;
28982 int arg3 ;
28983 PyObject *arg4 = (PyObject *) NULL ;
28984 int result;
423f194a 28985 bool temp2 = False ;
d14a1e28
RD
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 PyObject * obj3 = 0 ;
28989 char *kwnames[] = {
28990 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28991 };
28992
28993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
28994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28995 {
28996 arg2 = wxString_in_helper(obj1);
28997 if (arg2 == NULL) SWIG_fail;
423f194a 28998 temp2 = True;
d14a1e28
RD
28999 }
29000 if (obj3) {
29001 arg4 = obj3;
29002 }
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 resultobj = PyInt_FromLong((long)result);
29011 {
29012 if (temp2)
29013 delete arg2;
29014 }
29015 return resultobj;
29016 fail:
29017 {
29018 if (temp2)
29019 delete arg2;
29020 }
29021 return NULL;
29022}
29023
29024
29025static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
29026 PyObject *resultobj;
29027 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29028 PyObject * obj0 = 0 ;
29029 char *kwnames[] = {
29030 (char *) "self", NULL
29031 };
29032
29033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
29034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29035 {
29036 PyThreadState* __tstate = wxPyBeginAllowThreads();
29037 (arg1)->Clear();
29038
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 Py_INCREF(Py_None); resultobj = Py_None;
29043 return resultobj;
29044 fail:
29045 return NULL;
29046}
29047
29048
29049static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29050 PyObject *resultobj;
29051 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29052 int arg2 ;
29053 PyObject * obj0 = 0 ;
29054 char *kwnames[] = {
29055 (char *) "self",(char *) "n", NULL
29056 };
29057
29058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
29059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 (arg1)->Delete(arg2);
29063
29064 wxPyEndAllowThreads(__tstate);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 }
29067 Py_INCREF(Py_None); resultobj = Py_None;
29068 return resultobj;
29069 fail:
29070 return NULL;
29071}
29072
29073
29074static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29075 PyObject *resultobj;
29076 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29077 int result;
29078 PyObject * obj0 = 0 ;
29079 char *kwnames[] = {
29080 (char *) "self", NULL
29081 };
29082
29083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
29084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29085 {
29086 PyThreadState* __tstate = wxPyBeginAllowThreads();
29087 result = (int)((wxItemContainer const *)arg1)->GetCount();
29088
29089 wxPyEndAllowThreads(__tstate);
29090 if (PyErr_Occurred()) SWIG_fail;
29091 }
29092 resultobj = PyInt_FromLong((long)result);
29093 return resultobj;
29094 fail:
29095 return NULL;
29096}
29097
29098
29099static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
29100 PyObject *resultobj;
29101 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29102 bool result;
29103 PyObject * obj0 = 0 ;
29104 char *kwnames[] = {
29105 (char *) "self", NULL
29106 };
29107
29108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
29109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
29113
29114 wxPyEndAllowThreads(__tstate);
29115 if (PyErr_Occurred()) SWIG_fail;
29116 }
29117 resultobj = PyInt_FromLong((long)result);
29118 return resultobj;
29119 fail:
29120 return NULL;
29121}
29122
29123
29124static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29125 PyObject *resultobj;
29126 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29127 int arg2 ;
29128 wxString result;
29129 PyObject * obj0 = 0 ;
29130 char *kwnames[] = {
29131 (char *) "self",(char *) "n", NULL
29132 };
29133
29134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
29135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29136 {
29137 PyThreadState* __tstate = wxPyBeginAllowThreads();
29138 result = ((wxItemContainer const *)arg1)->GetString(arg2);
29139
29140 wxPyEndAllowThreads(__tstate);
29141 if (PyErr_Occurred()) SWIG_fail;
29142 }
29143 {
29144#if wxUSE_UNICODE
29145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29146#else
29147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29148#endif
29149 }
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
29156static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
29157 PyObject *resultobj;
29158 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29159 wxArrayString result;
29160 PyObject * obj0 = 0 ;
29161 char *kwnames[] = {
29162 (char *) "self", NULL
29163 };
29164
29165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
29166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 result = ((wxItemContainer const *)arg1)->GetStrings();
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 {
29175 resultobj = wxArrayString2PyList_helper(result);
29176 }
29177 return resultobj;
29178 fail:
29179 return NULL;
29180}
29181
29182
29183static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29184 PyObject *resultobj;
29185 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29186 int arg2 ;
29187 wxString *arg3 = 0 ;
423f194a 29188 bool temp3 = False ;
d14a1e28
RD
29189 PyObject * obj0 = 0 ;
29190 PyObject * obj2 = 0 ;
29191 char *kwnames[] = {
29192 (char *) "self",(char *) "n",(char *) "s", NULL
29193 };
29194
29195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
29196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29197 {
29198 arg3 = wxString_in_helper(obj2);
29199 if (arg3 == NULL) SWIG_fail;
423f194a 29200 temp3 = True;
d14a1e28
RD
29201 }
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 (arg1)->SetString(arg2,(wxString const &)*arg3);
29205
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 Py_INCREF(Py_None); resultobj = Py_None;
29210 {
29211 if (temp3)
29212 delete arg3;
29213 }
29214 return resultobj;
29215 fail:
29216 {
29217 if (temp3)
29218 delete arg3;
29219 }
29220 return NULL;
29221}
29222
29223
29224static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
29225 PyObject *resultobj;
29226 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29227 wxString *arg2 = 0 ;
29228 int result;
423f194a 29229 bool temp2 = False ;
d14a1e28
RD
29230 PyObject * obj0 = 0 ;
29231 PyObject * obj1 = 0 ;
29232 char *kwnames[] = {
29233 (char *) "self",(char *) "s", NULL
29234 };
29235
29236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
29237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29238 {
29239 arg2 = wxString_in_helper(obj1);
29240 if (arg2 == NULL) SWIG_fail;
423f194a 29241 temp2 = True;
d14a1e28
RD
29242 }
29243 {
29244 PyThreadState* __tstate = wxPyBeginAllowThreads();
29245 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
29246
29247 wxPyEndAllowThreads(__tstate);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 }
29250 resultobj = PyInt_FromLong((long)result);
29251 {
29252 if (temp2)
29253 delete arg2;
29254 }
29255 return resultobj;
29256 fail:
29257 {
29258 if (temp2)
29259 delete arg2;
29260 }
29261 return NULL;
29262}
29263
29264
29265static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
29266 PyObject *resultobj;
29267 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29268 int arg2 ;
29269 PyObject * obj0 = 0 ;
29270 char *kwnames[] = {
29271 (char *) "self",(char *) "n", NULL
29272 };
29273
29274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
29275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29276 {
29277 PyThreadState* __tstate = wxPyBeginAllowThreads();
29278 (arg1)->Select(arg2);
29279
29280 wxPyEndAllowThreads(__tstate);
29281 if (PyErr_Occurred()) SWIG_fail;
29282 }
29283 Py_INCREF(Py_None); resultobj = Py_None;
29284 return resultobj;
29285 fail:
29286 return NULL;
29287}
29288
29289
29290static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29291 PyObject *resultobj;
29292 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29293 int result;
29294 PyObject * obj0 = 0 ;
29295 char *kwnames[] = {
29296 (char *) "self", NULL
29297 };
29298
29299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
29300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29301 {
29302 PyThreadState* __tstate = wxPyBeginAllowThreads();
29303 result = (int)((wxItemContainer const *)arg1)->GetSelection();
29304
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 resultobj = PyInt_FromLong((long)result);
29309 return resultobj;
29310 fail:
29311 return NULL;
29312}
29313
29314
29315static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29316 PyObject *resultobj;
29317 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29318 wxString result;
29319 PyObject * obj0 = 0 ;
29320 char *kwnames[] = {
29321 (char *) "self", NULL
29322 };
29323
29324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
29325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29326 {
29327 PyThreadState* __tstate = wxPyBeginAllowThreads();
29328 result = ((wxItemContainer const *)arg1)->GetStringSelection();
29329
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
29333 {
29334#if wxUSE_UNICODE
29335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29336#else
29337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29338#endif
29339 }
29340 return resultobj;
29341 fail:
29342 return NULL;
29343}
29344
29345
29346static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29347 PyObject *resultobj;
29348 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29349 int arg2 ;
29350 PyObject *result;
29351 PyObject * obj0 = 0 ;
29352 char *kwnames[] = {
29353 (char *) "self",(char *) "n", NULL
29354 };
29355
29356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
29357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29358 {
29359 PyThreadState* __tstate = wxPyBeginAllowThreads();
29360 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
29361
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 resultobj = result;
29366 return resultobj;
29367 fail:
29368 return NULL;
29369}
29370
29371
29372static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29373 PyObject *resultobj;
29374 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29375 int arg2 ;
29376 PyObject *arg3 = (PyObject *) 0 ;
29377 PyObject * obj0 = 0 ;
29378 PyObject * obj2 = 0 ;
29379 char *kwnames[] = {
29380 (char *) "self",(char *) "n",(char *) "clientData", NULL
29381 };
29382
29383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
29384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29385 arg3 = obj2;
29386 {
29387 PyThreadState* __tstate = wxPyBeginAllowThreads();
29388 wxItemContainer_SetClientData(arg1,arg2,arg3);
29389
29390 wxPyEndAllowThreads(__tstate);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 }
29393 Py_INCREF(Py_None); resultobj = Py_None;
29394 return resultobj;
29395 fail:
29396 return NULL;
29397}
29398
29399
29400static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
29401 PyObject *obj;
29402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29403 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
29404 Py_INCREF(obj);
29405 return Py_BuildValue((char *)"");
29406}
29407static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
29408 PyObject *obj;
29409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29410 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
29411 Py_INCREF(obj);
29412 return Py_BuildValue((char *)"");
29413}
29414static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj;
29416 wxSizerItem *result;
29417 char *kwnames[] = {
29418 NULL
29419 };
29420
29421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
29422 {
29423 PyThreadState* __tstate = wxPyBeginAllowThreads();
29424 result = (wxSizerItem *)new wxSizerItem();
29425
29426 wxPyEndAllowThreads(__tstate);
29427 if (PyErr_Occurred()) SWIG_fail;
29428 }
29429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29430 return resultobj;
29431 fail:
29432 return NULL;
29433}
29434
29435
29436static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29437 PyObject *resultobj;
29438 int arg1 ;
29439 int arg2 ;
29440 int arg3 ;
29441 int arg4 ;
29442 int arg5 ;
29443 wxObject *arg6 = (wxObject *) 0 ;
29444 wxSizerItem *result;
29445 PyObject * obj5 = 0 ;
29446 char *kwnames[] = {
29447 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29448 };
29449
29450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29451 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29452 {
29453 PyThreadState* __tstate = wxPyBeginAllowThreads();
29454 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29455
29456 wxPyEndAllowThreads(__tstate);
29457 if (PyErr_Occurred()) SWIG_fail;
29458 }
29459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29460 return resultobj;
29461 fail:
29462 return NULL;
29463}
29464
29465
29466static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29467 PyObject *resultobj;
29468 wxWindow *arg1 = (wxWindow *) 0 ;
29469 int arg2 ;
29470 int arg3 ;
29471 int arg4 ;
29472 wxObject *arg5 = (wxObject *) 0 ;
29473 wxSizerItem *result;
29474 PyObject * obj0 = 0 ;
29475 PyObject * obj4 = 0 ;
29476 char *kwnames[] = {
29477 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29478 };
29479
29480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29482 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29483 {
29484 PyThreadState* __tstate = wxPyBeginAllowThreads();
29485 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29486
29487 wxPyEndAllowThreads(__tstate);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 }
29490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29491 return resultobj;
29492 fail:
29493 return NULL;
29494}
29495
29496
29497static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29498 PyObject *resultobj;
29499 wxSizer *arg1 = (wxSizer *) 0 ;
29500 int arg2 ;
29501 int arg3 ;
29502 int arg4 ;
29503 wxObject *arg5 = (wxObject *) 0 ;
29504 wxSizerItem *result;
29505 PyObject * obj0 = 0 ;
29506 PyObject * obj4 = 0 ;
29507 char *kwnames[] = {
29508 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29509 };
29510
29511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29513 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29517
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29522 return resultobj;
29523 fail:
29524 return NULL;
29525}
29526
29527
29528static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29529 PyObject *resultobj;
29530 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29531 PyObject * obj0 = 0 ;
29532 char *kwnames[] = {
29533 (char *) "self", NULL
29534 };
29535
29536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 (arg1)->DeleteWindows();
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 Py_INCREF(Py_None); resultobj = Py_None;
29546 return resultobj;
29547 fail:
29548 return NULL;
29549}
29550
29551
29552static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29553 PyObject *resultobj;
29554 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29555 PyObject * obj0 = 0 ;
29556 char *kwnames[] = {
29557 (char *) "self", NULL
29558 };
29559
29560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 (arg1)->DetachSizer();
29565
29566 wxPyEndAllowThreads(__tstate);
29567 if (PyErr_Occurred()) SWIG_fail;
29568 }
29569 Py_INCREF(Py_None); resultobj = Py_None;
29570 return resultobj;
29571 fail:
29572 return NULL;
29573}
29574
29575
29576static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29577 PyObject *resultobj;
29578 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29579 wxSize result;
29580 PyObject * obj0 = 0 ;
29581 char *kwnames[] = {
29582 (char *) "self", NULL
29583 };
29584
29585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29587 {
29588 PyThreadState* __tstate = wxPyBeginAllowThreads();
29589 result = (arg1)->GetSize();
29590
29591 wxPyEndAllowThreads(__tstate);
29592 if (PyErr_Occurred()) SWIG_fail;
29593 }
29594 {
29595 wxSize * resultptr;
29596 resultptr = new wxSize((wxSize &) result);
29597 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29598 }
29599 return resultobj;
29600 fail:
29601 return NULL;
29602}
29603
29604
29605static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29606 PyObject *resultobj;
29607 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29608 wxSize result;
29609 PyObject * obj0 = 0 ;
29610 char *kwnames[] = {
29611 (char *) "self", NULL
29612 };
29613
29614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 result = (arg1)->CalcMin();
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
29623 {
29624 wxSize * resultptr;
29625 resultptr = new wxSize((wxSize &) result);
29626 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29627 }
29628 return resultobj;
29629 fail:
29630 return NULL;
29631}
29632
29633
29634static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29635 PyObject *resultobj;
29636 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29637 wxPoint arg2 ;
29638 wxSize arg3 ;
29639 wxPoint *argp2 ;
29640 wxSize *argp3 ;
29641 PyObject * obj0 = 0 ;
29642 PyObject * obj1 = 0 ;
29643 PyObject * obj2 = 0 ;
29644 char *kwnames[] = {
29645 (char *) "self",(char *) "pos",(char *) "size", NULL
29646 };
29647
29648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29650 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29651 arg2 = *argp2;
29652 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29653 arg3 = *argp3;
29654 {
29655 PyThreadState* __tstate = wxPyBeginAllowThreads();
29656 (arg1)->SetDimension(arg2,arg3);
29657
29658 wxPyEndAllowThreads(__tstate);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 }
29661 Py_INCREF(Py_None); resultobj = Py_None;
29662 return resultobj;
29663 fail:
29664 return NULL;
29665}
29666
29667
29668static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29669 PyObject *resultobj;
29670 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29671 wxSize result;
29672 PyObject * obj0 = 0 ;
29673 char *kwnames[] = {
29674 (char *) "self", NULL
29675 };
29676
29677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
29678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29679 {
29680 PyThreadState* __tstate = wxPyBeginAllowThreads();
29681 result = (arg1)->GetMinSize();
29682
29683 wxPyEndAllowThreads(__tstate);
29684 if (PyErr_Occurred()) SWIG_fail;
29685 }
29686 {
29687 wxSize * resultptr;
29688 resultptr = new wxSize((wxSize &) result);
29689 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29690 }
29691 return resultobj;
29692 fail:
29693 return NULL;
29694}
29695
29696
29697static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj;
29699 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29700 int arg2 ;
29701 int arg3 ;
29702 PyObject * obj0 = 0 ;
29703 char *kwnames[] = {
29704 (char *) "self",(char *) "x",(char *) "y", NULL
29705 };
29706
29707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 (arg1)->SetInitSize(arg2,arg3);
29712
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 Py_INCREF(Py_None); resultobj = Py_None;
29717 return resultobj;
29718 fail:
29719 return NULL;
29720}
29721
29722
29723static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj;
29725 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29726 int arg2 ;
29727 int arg3 ;
29728 PyObject * obj0 = 0 ;
29729 char *kwnames[] = {
29730 (char *) "self",(char *) "width",(char *) "height", NULL
29731 };
29732
29733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29735 {
29736 PyThreadState* __tstate = wxPyBeginAllowThreads();
29737 (arg1)->SetRatio(arg2,arg3);
29738
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 Py_INCREF(Py_None); resultobj = Py_None;
29743 return resultobj;
29744 fail:
29745 return NULL;
29746}
29747
29748
29749static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29750 PyObject *resultobj;
29751 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29752 wxSize arg2 ;
29753 wxSize *argp2 ;
29754 PyObject * obj0 = 0 ;
29755 PyObject * obj1 = 0 ;
29756 char *kwnames[] = {
29757 (char *) "self",(char *) "size", NULL
29758 };
29759
29760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29762 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29763 arg2 = *argp2;
29764 {
29765 PyThreadState* __tstate = wxPyBeginAllowThreads();
29766 (arg1)->SetRatio(arg2);
29767
29768 wxPyEndAllowThreads(__tstate);
29769 if (PyErr_Occurred()) SWIG_fail;
29770 }
29771 Py_INCREF(Py_None); resultobj = Py_None;
29772 return resultobj;
29773 fail:
29774 return NULL;
29775}
29776
29777
29778static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29779 PyObject *resultobj;
29780 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29781 float arg2 ;
29782 PyObject * obj0 = 0 ;
29783 char *kwnames[] = {
29784 (char *) "self",(char *) "ratio", NULL
29785 };
29786
29787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29789 {
29790 PyThreadState* __tstate = wxPyBeginAllowThreads();
29791 (arg1)->SetRatio(arg2);
29792
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 Py_INCREF(Py_None); resultobj = Py_None;
29797 return resultobj;
29798 fail:
29799 return NULL;
29800}
29801
29802
29803static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29804 PyObject *resultobj;
29805 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29806 float result;
29807 PyObject * obj0 = 0 ;
29808 char *kwnames[] = {
29809 (char *) "self", NULL
29810 };
29811
29812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29814 {
29815 PyThreadState* __tstate = wxPyBeginAllowThreads();
29816 result = (float)(arg1)->GetRatio();
29817
29818 wxPyEndAllowThreads(__tstate);
29819 if (PyErr_Occurred()) SWIG_fail;
29820 }
29821 resultobj = PyFloat_FromDouble(result);
29822 return resultobj;
29823 fail:
29824 return NULL;
29825}
29826
29827
29828static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29829 PyObject *resultobj;
29830 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29831 bool result;
29832 PyObject * obj0 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29839 {
29840 PyThreadState* __tstate = wxPyBeginAllowThreads();
29841 result = (bool)(arg1)->IsWindow();
29842
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 resultobj = PyInt_FromLong((long)result);
29847 return resultobj;
29848 fail:
29849 return NULL;
29850}
29851
29852
29853static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29854 PyObject *resultobj;
29855 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29856 bool result;
29857 PyObject * obj0 = 0 ;
29858 char *kwnames[] = {
29859 (char *) "self", NULL
29860 };
29861
29862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29864 {
29865 PyThreadState* __tstate = wxPyBeginAllowThreads();
29866 result = (bool)(arg1)->IsSizer();
29867
29868 wxPyEndAllowThreads(__tstate);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
29871 resultobj = PyInt_FromLong((long)result);
29872 return resultobj;
29873 fail:
29874 return NULL;
29875}
29876
29877
29878static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29879 PyObject *resultobj;
29880 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29881 bool result;
29882 PyObject * obj0 = 0 ;
29883 char *kwnames[] = {
29884 (char *) "self", NULL
29885 };
29886
29887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29889 {
29890 PyThreadState* __tstate = wxPyBeginAllowThreads();
29891 result = (bool)(arg1)->IsSpacer();
29892
29893 wxPyEndAllowThreads(__tstate);
29894 if (PyErr_Occurred()) SWIG_fail;
29895 }
29896 resultobj = PyInt_FromLong((long)result);
29897 return resultobj;
29898 fail:
29899 return NULL;
29900}
29901
29902
29903static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29904 PyObject *resultobj;
29905 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29906 int arg2 ;
29907 PyObject * obj0 = 0 ;
29908 char *kwnames[] = {
29909 (char *) "self",(char *) "proportion", NULL
29910 };
29911
29912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29914 {
29915 PyThreadState* __tstate = wxPyBeginAllowThreads();
29916 (arg1)->SetProportion(arg2);
29917
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 Py_INCREF(Py_None); resultobj = Py_None;
29922 return resultobj;
29923 fail:
29924 return NULL;
29925}
29926
29927
29928static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29929 PyObject *resultobj;
29930 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29931 int result;
29932 PyObject * obj0 = 0 ;
29933 char *kwnames[] = {
29934 (char *) "self", NULL
29935 };
29936
29937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29939 {
29940 PyThreadState* __tstate = wxPyBeginAllowThreads();
29941 result = (int)(arg1)->GetProportion();
29942
29943 wxPyEndAllowThreads(__tstate);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 }
29946 resultobj = PyInt_FromLong((long)result);
29947 return resultobj;
29948 fail:
29949 return NULL;
29950}
29951
29952
29953static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29954 PyObject *resultobj;
29955 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29956 int arg2 ;
29957 PyObject * obj0 = 0 ;
29958 char *kwnames[] = {
29959 (char *) "self",(char *) "flag", NULL
29960 };
29961
29962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29964 {
29965 PyThreadState* __tstate = wxPyBeginAllowThreads();
29966 (arg1)->SetFlag(arg2);
29967
29968 wxPyEndAllowThreads(__tstate);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 }
29971 Py_INCREF(Py_None); resultobj = Py_None;
29972 return resultobj;
29973 fail:
29974 return NULL;
29975}
29976
29977
29978static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29979 PyObject *resultobj;
29980 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29981 int result;
29982 PyObject * obj0 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
29988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29989 {
29990 PyThreadState* __tstate = wxPyBeginAllowThreads();
29991 result = (int)(arg1)->GetFlag();
29992
29993 wxPyEndAllowThreads(__tstate);
29994 if (PyErr_Occurred()) SWIG_fail;
29995 }
29996 resultobj = PyInt_FromLong((long)result);
29997 return resultobj;
29998 fail:
29999 return NULL;
30000}
30001
30002
30003static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30004 PyObject *resultobj;
30005 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30006 int arg2 ;
30007 PyObject * obj0 = 0 ;
30008 char *kwnames[] = {
30009 (char *) "self",(char *) "border", NULL
30010 };
30011
30012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
30013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30014 {
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 (arg1)->SetBorder(arg2);
30017
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 Py_INCREF(Py_None); resultobj = Py_None;
30022 return resultobj;
30023 fail:
30024 return NULL;
30025}
30026
30027
30028static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30029 PyObject *resultobj;
30030 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30031 int result;
30032 PyObject * obj0 = 0 ;
30033 char *kwnames[] = {
30034 (char *) "self", NULL
30035 };
30036
30037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
30038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30039 {
30040 PyThreadState* __tstate = wxPyBeginAllowThreads();
30041 result = (int)(arg1)->GetBorder();
30042
30043 wxPyEndAllowThreads(__tstate);
30044 if (PyErr_Occurred()) SWIG_fail;
30045 }
30046 resultobj = PyInt_FromLong((long)result);
30047 return resultobj;
30048 fail:
30049 return NULL;
30050}
30051
30052
30053static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30054 PyObject *resultobj;
30055 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30056 wxWindow *result;
30057 PyObject * obj0 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
30063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30064 {
30065 PyThreadState* __tstate = wxPyBeginAllowThreads();
30066 result = (wxWindow *)(arg1)->GetWindow();
30067
30068 wxPyEndAllowThreads(__tstate);
30069 if (PyErr_Occurred()) SWIG_fail;
30070 }
30071 {
30072 resultobj = wxPyMake_wxObject(result);
30073 }
30074 return resultobj;
30075 fail:
30076 return NULL;
30077}
30078
30079
30080static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30081 PyObject *resultobj;
30082 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30083 wxWindow *arg2 = (wxWindow *) 0 ;
30084 PyObject * obj0 = 0 ;
30085 PyObject * obj1 = 0 ;
30086 char *kwnames[] = {
30087 (char *) "self",(char *) "window", NULL
30088 };
30089
30090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
30091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30093 {
30094 PyThreadState* __tstate = wxPyBeginAllowThreads();
30095 (arg1)->SetWindow(arg2);
30096
30097 wxPyEndAllowThreads(__tstate);
30098 if (PyErr_Occurred()) SWIG_fail;
30099 }
30100 Py_INCREF(Py_None); resultobj = Py_None;
30101 return resultobj;
30102 fail:
30103 return NULL;
30104}
30105
30106
30107static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30108 PyObject *resultobj;
30109 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30110 wxSizer *result;
30111 PyObject * obj0 = 0 ;
30112 char *kwnames[] = {
30113 (char *) "self", NULL
30114 };
30115
30116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
30117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30118 {
30119 PyThreadState* __tstate = wxPyBeginAllowThreads();
30120 result = (wxSizer *)(arg1)->GetSizer();
30121
30122 wxPyEndAllowThreads(__tstate);
30123 if (PyErr_Occurred()) SWIG_fail;
30124 }
30125 {
30126 resultobj = wxPyMake_wxSizer(result);
30127 }
30128 return resultobj;
30129 fail:
30130 return NULL;
30131}
30132
30133
30134static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30135 PyObject *resultobj;
30136 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30137 wxSizer *arg2 = (wxSizer *) 0 ;
30138 PyObject * obj0 = 0 ;
30139 PyObject * obj1 = 0 ;
30140 char *kwnames[] = {
30141 (char *) "self",(char *) "sizer", NULL
30142 };
30143
30144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
30145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 (arg1)->SetSizer(arg2);
30150
30151 wxPyEndAllowThreads(__tstate);
30152 if (PyErr_Occurred()) SWIG_fail;
30153 }
30154 Py_INCREF(Py_None); resultobj = Py_None;
30155 return resultobj;
30156 fail:
30157 return NULL;
30158}
30159
30160
30161static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30162 PyObject *resultobj;
30163 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30164 wxSize *result;
30165 PyObject * obj0 = 0 ;
30166 char *kwnames[] = {
30167 (char *) "self", NULL
30168 };
30169
30170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
30171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30172 {
30173 PyThreadState* __tstate = wxPyBeginAllowThreads();
30174 {
30175 wxSize const &_result_ref = (arg1)->GetSpacer();
30176 result = (wxSize *) &_result_ref;
30177 }
30178
30179 wxPyEndAllowThreads(__tstate);
30180 if (PyErr_Occurred()) SWIG_fail;
30181 }
30182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
30183 return resultobj;
30184 fail:
30185 return NULL;
30186}
30187
30188
30189static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30190 PyObject *resultobj;
30191 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30192 wxSize *arg2 = 0 ;
30193 wxSize temp2 ;
30194 PyObject * obj0 = 0 ;
30195 PyObject * obj1 = 0 ;
30196 char *kwnames[] = {
30197 (char *) "self",(char *) "size", NULL
30198 };
30199
30200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
30201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30202 {
30203 arg2 = &temp2;
30204 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30205 }
30206 {
30207 PyThreadState* __tstate = wxPyBeginAllowThreads();
30208 (arg1)->SetSpacer((wxSize const &)*arg2);
30209
30210 wxPyEndAllowThreads(__tstate);
30211 if (PyErr_Occurred()) SWIG_fail;
30212 }
30213 Py_INCREF(Py_None); resultobj = Py_None;
30214 return resultobj;
30215 fail:
30216 return NULL;
30217}
30218
30219
30220static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30221 PyObject *resultobj;
30222 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30223 bool arg2 ;
30224 PyObject * obj0 = 0 ;
30225 PyObject * obj1 = 0 ;
30226 char *kwnames[] = {
30227 (char *) "self",(char *) "show", NULL
30228 };
30229
30230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
30231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30232 arg2 = PyInt_AsLong(obj1) ? true : false;
30233 if (PyErr_Occurred()) SWIG_fail;
30234 {
30235 PyThreadState* __tstate = wxPyBeginAllowThreads();
30236 (arg1)->Show(arg2);
30237
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 Py_INCREF(Py_None); resultobj = Py_None;
30242 return resultobj;
30243 fail:
30244 return NULL;
30245}
30246
30247
30248static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30249 PyObject *resultobj;
30250 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30251 bool result;
30252 PyObject * obj0 = 0 ;
30253 char *kwnames[] = {
30254 (char *) "self", NULL
30255 };
30256
30257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
30258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 result = (bool)(arg1)->IsShown();
30262
30263 wxPyEndAllowThreads(__tstate);
30264 if (PyErr_Occurred()) SWIG_fail;
30265 }
30266 resultobj = PyInt_FromLong((long)result);
30267 return resultobj;
30268 fail:
30269 return NULL;
30270}
30271
30272
30273static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30274 PyObject *resultobj;
30275 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30276 wxPoint result;
30277 PyObject * obj0 = 0 ;
30278 char *kwnames[] = {
30279 (char *) "self", NULL
30280 };
30281
30282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
30283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30284 {
30285 PyThreadState* __tstate = wxPyBeginAllowThreads();
30286 result = (arg1)->GetPosition();
30287
30288 wxPyEndAllowThreads(__tstate);
30289 if (PyErr_Occurred()) SWIG_fail;
30290 }
30291 {
30292 wxPoint * resultptr;
30293 resultptr = new wxPoint((wxPoint &) result);
30294 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30295 }
30296 return resultobj;
30297 fail:
30298 return NULL;
30299}
30300
30301
30302static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
30303 PyObject *resultobj;
30304 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30305 PyObject *result;
30306 PyObject * obj0 = 0 ;
30307 char *kwnames[] = {
30308 (char *) "self", NULL
30309 };
30310
30311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
30312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30313 {
30314 PyThreadState* __tstate = wxPyBeginAllowThreads();
30315 result = (PyObject *)wxSizerItem_GetUserData(arg1);
30316
30317 wxPyEndAllowThreads(__tstate);
30318 if (PyErr_Occurred()) SWIG_fail;
30319 }
30320 resultobj = result;
30321 return resultobj;
30322 fail:
30323 return NULL;
30324}
30325
30326
30327static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
30328 PyObject *obj;
30329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30330 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
30331 Py_INCREF(obj);
30332 return Py_BuildValue((char *)"");
30333}
30334static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30335 PyObject *resultobj;
30336 wxSizer *arg1 = (wxSizer *) 0 ;
30337 PyObject *arg2 = (PyObject *) 0 ;
30338 PyObject * obj0 = 0 ;
30339 PyObject * obj1 = 0 ;
30340 char *kwnames[] = {
30341 (char *) "self",(char *) "_self", NULL
30342 };
30343
30344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
30345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30346 arg2 = obj1;
30347 {
30348 PyThreadState* __tstate = wxPyBeginAllowThreads();
30349 wxSizer__setOORInfo(arg1,arg2);
30350
30351 wxPyEndAllowThreads(__tstate);
30352 if (PyErr_Occurred()) SWIG_fail;
30353 }
30354 Py_INCREF(Py_None); resultobj = Py_None;
30355 return resultobj;
30356 fail:
30357 return NULL;
30358}
30359
30360
30361static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
30362 PyObject *resultobj;
30363 wxSizer *arg1 = (wxSizer *) 0 ;
30364 PyObject *arg2 = (PyObject *) 0 ;
30365 int arg3 = (int) 0 ;
30366 int arg4 = (int) 0 ;
30367 int arg5 = (int) 0 ;
30368 PyObject *arg6 = (PyObject *) NULL ;
30369 PyObject * obj0 = 0 ;
30370 PyObject * obj1 = 0 ;
30371 PyObject * obj5 = 0 ;
30372 char *kwnames[] = {
30373 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30374 };
30375
30376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30378 arg2 = obj1;
30379 if (obj5) {
30380 arg6 = obj5;
30381 }
30382 {
30383 PyThreadState* __tstate = wxPyBeginAllowThreads();
30384 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
30385
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 Py_INCREF(Py_None); resultobj = Py_None;
30390 return resultobj;
30391 fail:
30392 return NULL;
30393}
30394
30395
30396static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30397 PyObject *resultobj;
30398 wxSizer *arg1 = (wxSizer *) 0 ;
30399 int arg2 ;
30400 PyObject *arg3 = (PyObject *) 0 ;
30401 int arg4 = (int) 0 ;
30402 int arg5 = (int) 0 ;
30403 int arg6 = (int) 0 ;
30404 PyObject *arg7 = (PyObject *) NULL ;
30405 PyObject * obj0 = 0 ;
30406 PyObject * obj2 = 0 ;
30407 PyObject * obj6 = 0 ;
30408 char *kwnames[] = {
30409 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30410 };
30411
30412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
30413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30414 arg3 = obj2;
30415 if (obj6) {
30416 arg7 = obj6;
30417 }
30418 {
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
30420 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
30421
30422 wxPyEndAllowThreads(__tstate);
30423 if (PyErr_Occurred()) SWIG_fail;
30424 }
30425 Py_INCREF(Py_None); resultobj = Py_None;
30426 return resultobj;
30427 fail:
30428 return NULL;
30429}
30430
30431
30432static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30433 PyObject *resultobj;
30434 wxSizer *arg1 = (wxSizer *) 0 ;
30435 PyObject *arg2 = (PyObject *) 0 ;
30436 int arg3 = (int) 0 ;
30437 int arg4 = (int) 0 ;
30438 int arg5 = (int) 0 ;
30439 PyObject *arg6 = (PyObject *) NULL ;
30440 PyObject * obj0 = 0 ;
30441 PyObject * obj1 = 0 ;
30442 PyObject * obj5 = 0 ;
30443 char *kwnames[] = {
30444 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30445 };
30446
30447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30449 arg2 = obj1;
30450 if (obj5) {
30451 arg6 = obj5;
30452 }
30453 {
30454 PyThreadState* __tstate = wxPyBeginAllowThreads();
30455 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30456
30457 wxPyEndAllowThreads(__tstate);
30458 if (PyErr_Occurred()) SWIG_fail;
30459 }
30460 Py_INCREF(Py_None); resultobj = Py_None;
30461 return resultobj;
30462 fail:
30463 return NULL;
30464}
30465
30466
30467static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30468 PyObject *resultobj;
30469 wxSizer *arg1 = (wxSizer *) 0 ;
30470 PyObject *arg2 = (PyObject *) 0 ;
30471 bool result;
30472 PyObject * obj0 = 0 ;
30473 PyObject * obj1 = 0 ;
30474 char *kwnames[] = {
30475 (char *) "self",(char *) "item", NULL
30476 };
30477
30478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30480 arg2 = obj1;
30481 {
30482 PyThreadState* __tstate = wxPyBeginAllowThreads();
30483 result = (bool)wxSizer_Remove(arg1,arg2);
30484
30485 wxPyEndAllowThreads(__tstate);
30486 if (PyErr_Occurred()) SWIG_fail;
30487 }
30488 resultobj = PyInt_FromLong((long)result);
30489 return resultobj;
30490 fail:
30491 return NULL;
30492}
30493
30494
30495static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30496 PyObject *resultobj;
30497 wxSizer *arg1 = (wxSizer *) 0 ;
30498 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
30499 wxSize *arg3 = 0 ;
30500 wxSize temp3 ;
d14a1e28
RD
30501 PyObject * obj0 = 0 ;
30502 PyObject * obj1 = 0 ;
30503 PyObject * obj2 = 0 ;
30504 char *kwnames[] = {
30505 (char *) "self",(char *) "item",(char *) "size", NULL
30506 };
30507
30508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30510 arg2 = obj1;
423f194a
RD
30511 {
30512 arg3 = &temp3;
30513 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30514 }
d14a1e28
RD
30515 {
30516 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 30517 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
30518
30519 wxPyEndAllowThreads(__tstate);
30520 if (PyErr_Occurred()) SWIG_fail;
30521 }
30522 Py_INCREF(Py_None); resultobj = Py_None;
30523 return resultobj;
30524 fail:
30525 return NULL;
30526}
30527
30528
30529static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30530 PyObject *resultobj;
30531 wxSizer *arg1 = (wxSizer *) 0 ;
30532 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30533 PyObject * obj0 = 0 ;
30534 PyObject * obj1 = 0 ;
30535 char *kwnames[] = {
30536 (char *) "self",(char *) "item", NULL
30537 };
30538
30539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 (arg1)->Add(arg2);
30545
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 Py_INCREF(Py_None); resultobj = Py_None;
30550 return resultobj;
30551 fail:
30552 return NULL;
30553}
30554
30555
30556static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30557 PyObject *resultobj;
30558 wxSizer *arg1 = (wxSizer *) 0 ;
30559 size_t arg2 ;
30560 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 PyObject * obj2 = 0 ;
30564 char *kwnames[] = {
30565 (char *) "self",(char *) "index",(char *) "item", NULL
30566 };
30567
30568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30570 arg2 = (size_t) PyInt_AsLong(obj1);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30573 {
30574 PyThreadState* __tstate = wxPyBeginAllowThreads();
30575 (arg1)->Insert(arg2,arg3);
30576
30577 wxPyEndAllowThreads(__tstate);
30578 if (PyErr_Occurred()) SWIG_fail;
30579 }
30580 Py_INCREF(Py_None); resultobj = Py_None;
30581 return resultobj;
30582 fail:
30583 return NULL;
30584}
30585
30586
30587static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30588 PyObject *resultobj;
30589 wxSizer *arg1 = (wxSizer *) 0 ;
30590 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30591 PyObject * obj0 = 0 ;
30592 PyObject * obj1 = 0 ;
30593 char *kwnames[] = {
30594 (char *) "self",(char *) "item", NULL
30595 };
30596
30597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30600 {
30601 PyThreadState* __tstate = wxPyBeginAllowThreads();
30602 (arg1)->Prepend(arg2);
30603
30604 wxPyEndAllowThreads(__tstate);
30605 if (PyErr_Occurred()) SWIG_fail;
30606 }
30607 Py_INCREF(Py_None); resultobj = Py_None;
30608 return resultobj;
30609 fail:
30610 return NULL;
30611}
30612
30613
30614static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30615 PyObject *resultobj;
30616 wxSizer *arg1 = (wxSizer *) 0 ;
30617 int arg2 ;
30618 int arg3 ;
30619 int arg4 ;
30620 int arg5 ;
30621 PyObject * obj0 = 0 ;
30622 char *kwnames[] = {
30623 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30624 };
30625
30626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
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_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30643 PyObject *resultobj;
30644 wxSizer *arg1 = (wxSizer *) 0 ;
30645 wxSize arg2 ;
30646 wxSize *argp2 ;
30647 PyObject * obj0 = 0 ;
30648 PyObject * obj1 = 0 ;
30649 char *kwnames[] = {
30650 (char *) "self",(char *) "size", NULL
30651 };
30652
30653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30655 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30656 arg2 = *argp2;
30657 {
30658 PyThreadState* __tstate = wxPyBeginAllowThreads();
30659 (arg1)->SetMinSize(arg2);
30660
30661 wxPyEndAllowThreads(__tstate);
30662 if (PyErr_Occurred()) SWIG_fail;
30663 }
30664 Py_INCREF(Py_None); resultobj = Py_None;
30665 return resultobj;
30666 fail:
30667 return NULL;
30668}
30669
30670
30671static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30672 PyObject *resultobj;
30673 wxSizer *arg1 = (wxSizer *) 0 ;
30674 wxSize result;
30675 PyObject * obj0 = 0 ;
30676 char *kwnames[] = {
30677 (char *) "self", NULL
30678 };
30679
30680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30682 {
30683 PyThreadState* __tstate = wxPyBeginAllowThreads();
30684 result = (arg1)->GetSize();
30685
30686 wxPyEndAllowThreads(__tstate);
30687 if (PyErr_Occurred()) SWIG_fail;
30688 }
30689 {
30690 wxSize * resultptr;
30691 resultptr = new wxSize((wxSize &) result);
30692 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30693 }
30694 return resultobj;
30695 fail:
30696 return NULL;
30697}
30698
30699
30700static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30701 PyObject *resultobj;
30702 wxSizer *arg1 = (wxSizer *) 0 ;
30703 wxPoint result;
30704 PyObject * obj0 = 0 ;
30705 char *kwnames[] = {
30706 (char *) "self", NULL
30707 };
30708
30709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30711 {
30712 PyThreadState* __tstate = wxPyBeginAllowThreads();
30713 result = (arg1)->GetPosition();
30714
30715 wxPyEndAllowThreads(__tstate);
30716 if (PyErr_Occurred()) SWIG_fail;
30717 }
30718 {
30719 wxPoint * resultptr;
30720 resultptr = new wxPoint((wxPoint &) result);
30721 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30722 }
30723 return resultobj;
30724 fail:
30725 return NULL;
30726}
30727
30728
30729static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30730 PyObject *resultobj;
30731 wxSizer *arg1 = (wxSizer *) 0 ;
30732 wxSize result;
30733 PyObject * obj0 = 0 ;
30734 char *kwnames[] = {
30735 (char *) "self", NULL
30736 };
30737
30738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30740 {
30741 PyThreadState* __tstate = wxPyBeginAllowThreads();
30742 result = (arg1)->GetMinSize();
30743
30744 wxPyEndAllowThreads(__tstate);
30745 if (PyErr_Occurred()) SWIG_fail;
30746 }
30747 {
30748 wxSize * resultptr;
30749 resultptr = new wxSize((wxSize &) result);
30750 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30751 }
30752 return resultobj;
30753 fail:
30754 return NULL;
30755}
30756
30757
30758static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30759 PyObject *resultobj;
30760 wxSizer *arg1 = (wxSizer *) 0 ;
30761 PyObject * obj0 = 0 ;
30762 char *kwnames[] = {
30763 (char *) "self", NULL
30764 };
30765
30766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30768 {
30769 PyThreadState* __tstate = wxPyBeginAllowThreads();
30770 (arg1)->RecalcSizes();
30771
30772 wxPyEndAllowThreads(__tstate);
30773 if (PyErr_Occurred()) SWIG_fail;
30774 }
30775 Py_INCREF(Py_None); resultobj = Py_None;
30776 return resultobj;
30777 fail:
30778 return NULL;
30779}
30780
30781
30782static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30783 PyObject *resultobj;
30784 wxSizer *arg1 = (wxSizer *) 0 ;
30785 wxSize result;
30786 PyObject * obj0 = 0 ;
30787 char *kwnames[] = {
30788 (char *) "self", NULL
30789 };
30790
30791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = (arg1)->CalcMin();
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 {
30801 wxSize * resultptr;
30802 resultptr = new wxSize((wxSize &) result);
30803 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30804 }
30805 return resultobj;
30806 fail:
30807 return NULL;
30808}
30809
30810
30811static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30812 PyObject *resultobj;
30813 wxSizer *arg1 = (wxSizer *) 0 ;
30814 PyObject * obj0 = 0 ;
30815 char *kwnames[] = {
30816 (char *) "self", NULL
30817 };
30818
30819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30821 {
30822 PyThreadState* __tstate = wxPyBeginAllowThreads();
30823 (arg1)->Layout();
30824
30825 wxPyEndAllowThreads(__tstate);
30826 if (PyErr_Occurred()) SWIG_fail;
30827 }
30828 Py_INCREF(Py_None); resultobj = Py_None;
30829 return resultobj;
30830 fail:
30831 return NULL;
30832}
30833
30834
30835static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30836 PyObject *resultobj;
30837 wxSizer *arg1 = (wxSizer *) 0 ;
30838 wxWindow *arg2 = (wxWindow *) 0 ;
30839 wxSize result;
30840 PyObject * obj0 = 0 ;
30841 PyObject * obj1 = 0 ;
30842 char *kwnames[] = {
30843 (char *) "self",(char *) "window", NULL
30844 };
30845
30846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30849 {
30850 PyThreadState* __tstate = wxPyBeginAllowThreads();
30851 result = (arg1)->Fit(arg2);
30852
30853 wxPyEndAllowThreads(__tstate);
30854 if (PyErr_Occurred()) SWIG_fail;
30855 }
30856 {
30857 wxSize * resultptr;
30858 resultptr = new wxSize((wxSize &) result);
30859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30860 }
30861 return resultobj;
30862 fail:
30863 return NULL;
30864}
30865
30866
30867static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30868 PyObject *resultobj;
30869 wxSizer *arg1 = (wxSizer *) 0 ;
30870 wxWindow *arg2 = (wxWindow *) 0 ;
30871 PyObject * obj0 = 0 ;
30872 PyObject * obj1 = 0 ;
30873 char *kwnames[] = {
30874 (char *) "self",(char *) "window", NULL
30875 };
30876
30877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 (arg1)->FitInside(arg2);
30883
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 Py_INCREF(Py_None); resultobj = Py_None;
30888 return resultobj;
30889 fail:
30890 return NULL;
30891}
30892
30893
30894static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30895 PyObject *resultobj;
30896 wxSizer *arg1 = (wxSizer *) 0 ;
30897 wxWindow *arg2 = (wxWindow *) 0 ;
30898 PyObject * obj0 = 0 ;
30899 PyObject * obj1 = 0 ;
30900 char *kwnames[] = {
30901 (char *) "self",(char *) "window", NULL
30902 };
30903
30904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30907 {
30908 PyThreadState* __tstate = wxPyBeginAllowThreads();
30909 (arg1)->SetSizeHints(arg2);
30910
30911 wxPyEndAllowThreads(__tstate);
30912 if (PyErr_Occurred()) SWIG_fail;
30913 }
30914 Py_INCREF(Py_None); resultobj = Py_None;
30915 return resultobj;
30916 fail:
30917 return NULL;
30918}
30919
30920
30921static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30922 PyObject *resultobj;
30923 wxSizer *arg1 = (wxSizer *) 0 ;
30924 wxWindow *arg2 = (wxWindow *) 0 ;
30925 PyObject * obj0 = 0 ;
30926 PyObject * obj1 = 0 ;
30927 char *kwnames[] = {
30928 (char *) "self",(char *) "window", NULL
30929 };
30930
30931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30934 {
30935 PyThreadState* __tstate = wxPyBeginAllowThreads();
30936 (arg1)->SetVirtualSizeHints(arg2);
30937
30938 wxPyEndAllowThreads(__tstate);
30939 if (PyErr_Occurred()) SWIG_fail;
30940 }
30941 Py_INCREF(Py_None); resultobj = Py_None;
30942 return resultobj;
30943 fail:
30944 return NULL;
30945}
30946
30947
30948static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30949 PyObject *resultobj;
30950 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 30951 bool arg2 = (bool) False ;
d14a1e28
RD
30952 PyObject * obj0 = 0 ;
30953 PyObject * obj1 = 0 ;
30954 char *kwnames[] = {
30955 (char *) "self",(char *) "delete_windows", NULL
30956 };
30957
30958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30960 if (obj1) {
30961 arg2 = PyInt_AsLong(obj1) ? true : false;
30962 if (PyErr_Occurred()) SWIG_fail;
30963 }
30964 {
30965 PyThreadState* __tstate = wxPyBeginAllowThreads();
30966 (arg1)->Clear(arg2);
30967
30968 wxPyEndAllowThreads(__tstate);
30969 if (PyErr_Occurred()) SWIG_fail;
30970 }
30971 Py_INCREF(Py_None); resultobj = Py_None;
30972 return resultobj;
30973 fail:
30974 return NULL;
30975}
30976
30977
30978static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
30979 PyObject *resultobj;
30980 wxSizer *arg1 = (wxSizer *) 0 ;
30981 PyObject * obj0 = 0 ;
30982 char *kwnames[] = {
30983 (char *) "self", NULL
30984 };
30985
30986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
30987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30988 {
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 (arg1)->DeleteWindows();
30991
30992 wxPyEndAllowThreads(__tstate);
30993 if (PyErr_Occurred()) SWIG_fail;
30994 }
30995 Py_INCREF(Py_None); resultobj = Py_None;
30996 return resultobj;
30997 fail:
30998 return NULL;
30999}
31000
31001
31002static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
31003 PyObject *resultobj;
31004 wxSizer *arg1 = (wxSizer *) 0 ;
31005 PyObject *result;
31006 PyObject * obj0 = 0 ;
31007 char *kwnames[] = {
31008 (char *) "self", NULL
31009 };
31010
31011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
31012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31013 {
31014 PyThreadState* __tstate = wxPyBeginAllowThreads();
31015 result = (PyObject *)wxSizer_GetChildren(arg1);
31016
31017 wxPyEndAllowThreads(__tstate);
31018 if (PyErr_Occurred()) SWIG_fail;
31019 }
31020 resultobj = result;
31021 return resultobj;
31022 fail:
31023 return NULL;
31024}
31025
31026
31027static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31028 PyObject *resultobj;
31029 wxSizer *arg1 = (wxSizer *) 0 ;
31030 PyObject *arg2 = (PyObject *) 0 ;
423f194a 31031 bool arg3 = (bool) True ;
d14a1e28
RD
31032 PyObject * obj0 = 0 ;
31033 PyObject * obj1 = 0 ;
31034 PyObject * obj2 = 0 ;
31035 char *kwnames[] = {
31036 (char *) "self",(char *) "item",(char *) "show", NULL
31037 };
31038
31039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
31040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31041 arg2 = obj1;
31042 if (obj2) {
31043 arg3 = PyInt_AsLong(obj2) ? true : false;
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 {
31047 PyThreadState* __tstate = wxPyBeginAllowThreads();
31048 wxSizer_Show(arg1,arg2,arg3);
31049
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 Py_INCREF(Py_None); resultobj = Py_None;
31054 return resultobj;
31055 fail:
31056 return NULL;
31057}
31058
31059
31060static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31061 PyObject *resultobj;
31062 wxSizer *arg1 = (wxSizer *) 0 ;
31063 PyObject *arg2 = (PyObject *) 0 ;
31064 PyObject * obj0 = 0 ;
31065 PyObject * obj1 = 0 ;
31066 char *kwnames[] = {
31067 (char *) "self",(char *) "item", NULL
31068 };
31069
31070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
31071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31072 arg2 = obj1;
31073 {
31074 PyThreadState* __tstate = wxPyBeginAllowThreads();
31075 wxSizer_Hide(arg1,arg2);
31076
31077 wxPyEndAllowThreads(__tstate);
31078 if (PyErr_Occurred()) SWIG_fail;
31079 }
31080 Py_INCREF(Py_None); resultobj = Py_None;
31081 return resultobj;
31082 fail:
31083 return NULL;
31084}
31085
31086
31087static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
31088 PyObject *resultobj;
31089 wxSizer *arg1 = (wxSizer *) 0 ;
31090 PyObject *arg2 = (PyObject *) 0 ;
31091 bool result;
31092 PyObject * obj0 = 0 ;
31093 PyObject * obj1 = 0 ;
31094 char *kwnames[] = {
31095 (char *) "self",(char *) "item", NULL
31096 };
31097
31098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
31099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31100 arg2 = obj1;
31101 {
31102 PyThreadState* __tstate = wxPyBeginAllowThreads();
31103 result = (bool)wxSizer_IsShown(arg1,arg2);
31104
31105 wxPyEndAllowThreads(__tstate);
31106 if (PyErr_Occurred()) SWIG_fail;
31107 }
31108 resultobj = PyInt_FromLong((long)result);
31109 return resultobj;
31110 fail:
31111 return NULL;
31112}
31113
31114
31115static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
31116 PyObject *resultobj;
31117 wxSizer *arg1 = (wxSizer *) 0 ;
31118 bool arg2 ;
31119 PyObject * obj0 = 0 ;
31120 PyObject * obj1 = 0 ;
31121 char *kwnames[] = {
31122 (char *) "self",(char *) "show", NULL
31123 };
31124
31125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
31126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31127 arg2 = PyInt_AsLong(obj1) ? true : false;
31128 if (PyErr_Occurred()) SWIG_fail;
31129 {
31130 PyThreadState* __tstate = wxPyBeginAllowThreads();
31131 (arg1)->ShowItems(arg2);
31132
31133 wxPyEndAllowThreads(__tstate);
31134 if (PyErr_Occurred()) SWIG_fail;
31135 }
31136 Py_INCREF(Py_None); resultobj = Py_None;
31137 return resultobj;
31138 fail:
31139 return NULL;
31140}
31141
31142
31143static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
31144 PyObject *obj;
31145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31146 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
31147 Py_INCREF(obj);
31148 return Py_BuildValue((char *)"");
31149}
31150static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31151 PyObject *resultobj;
31152 wxPySizer *result;
31153 char *kwnames[] = {
31154 NULL
31155 };
31156
31157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
31158 {
31159 PyThreadState* __tstate = wxPyBeginAllowThreads();
31160 result = (wxPySizer *)new wxPySizer();
31161
31162 wxPyEndAllowThreads(__tstate);
31163 if (PyErr_Occurred()) SWIG_fail;
31164 }
31165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
31166 return resultobj;
31167 fail:
31168 return NULL;
31169}
31170
31171
31172static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31173 PyObject *resultobj;
31174 wxPySizer *arg1 = (wxPySizer *) 0 ;
31175 PyObject *arg2 = (PyObject *) 0 ;
31176 PyObject *arg3 = (PyObject *) 0 ;
31177 PyObject * obj0 = 0 ;
31178 PyObject * obj1 = 0 ;
31179 PyObject * obj2 = 0 ;
31180 char *kwnames[] = {
31181 (char *) "self",(char *) "self",(char *) "_class", NULL
31182 };
31183
31184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31186 arg2 = obj1;
31187 arg3 = obj2;
31188 {
31189 PyThreadState* __tstate = wxPyBeginAllowThreads();
31190 (arg1)->_setCallbackInfo(arg2,arg3);
31191
31192 wxPyEndAllowThreads(__tstate);
31193 if (PyErr_Occurred()) SWIG_fail;
31194 }
31195 Py_INCREF(Py_None); resultobj = Py_None;
31196 return resultobj;
31197 fail:
31198 return NULL;
31199}
31200
31201
31202static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
31203 PyObject *obj;
31204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31205 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
31206 Py_INCREF(obj);
31207 return Py_BuildValue((char *)"");
31208}
31209static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31210 PyObject *resultobj;
31211 int arg1 = (int) wxHORIZONTAL ;
31212 wxBoxSizer *result;
31213 char *kwnames[] = {
31214 (char *) "orient", NULL
31215 };
31216
31217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
31218 {
31219 PyThreadState* __tstate = wxPyBeginAllowThreads();
31220 result = (wxBoxSizer *)new wxBoxSizer(arg1);
31221
31222 wxPyEndAllowThreads(__tstate);
31223 if (PyErr_Occurred()) SWIG_fail;
31224 }
31225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
31226 return resultobj;
31227 fail:
31228 return NULL;
31229}
31230
31231
31232static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31233 PyObject *resultobj;
31234 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31235 int result;
31236 PyObject * obj0 = 0 ;
31237 char *kwnames[] = {
31238 (char *) "self", NULL
31239 };
31240
31241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
31242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31243 {
31244 PyThreadState* __tstate = wxPyBeginAllowThreads();
31245 result = (int)(arg1)->GetOrientation();
31246
31247 wxPyEndAllowThreads(__tstate);
31248 if (PyErr_Occurred()) SWIG_fail;
31249 }
31250 resultobj = PyInt_FromLong((long)result);
31251 return resultobj;
31252 fail:
31253 return NULL;
31254}
31255
31256
31257static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31258 PyObject *resultobj;
31259 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31260 int arg2 ;
31261 PyObject * obj0 = 0 ;
31262 char *kwnames[] = {
31263 (char *) "self",(char *) "orient", NULL
31264 };
31265
31266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
31267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31268 {
31269 PyThreadState* __tstate = wxPyBeginAllowThreads();
31270 (arg1)->SetOrientation(arg2);
31271
31272 wxPyEndAllowThreads(__tstate);
31273 if (PyErr_Occurred()) SWIG_fail;
31274 }
31275 Py_INCREF(Py_None); resultobj = Py_None;
31276 return resultobj;
31277 fail:
31278 return NULL;
31279}
31280
31281
31282static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31283 PyObject *resultobj;
31284 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31285 PyObject * obj0 = 0 ;
31286 char *kwnames[] = {
31287 (char *) "self", NULL
31288 };
31289
31290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31292 {
31293 PyThreadState* __tstate = wxPyBeginAllowThreads();
31294 (arg1)->RecalcSizes();
31295
31296 wxPyEndAllowThreads(__tstate);
31297 if (PyErr_Occurred()) SWIG_fail;
31298 }
31299 Py_INCREF(Py_None); resultobj = Py_None;
31300 return resultobj;
31301 fail:
31302 return NULL;
31303}
31304
31305
31306static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31307 PyObject *resultobj;
31308 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31309 wxSize result;
31310 PyObject * obj0 = 0 ;
31311 char *kwnames[] = {
31312 (char *) "self", NULL
31313 };
31314
31315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31317 {
31318 PyThreadState* __tstate = wxPyBeginAllowThreads();
31319 result = (arg1)->CalcMin();
31320
31321 wxPyEndAllowThreads(__tstate);
31322 if (PyErr_Occurred()) SWIG_fail;
31323 }
31324 {
31325 wxSize * resultptr;
31326 resultptr = new wxSize((wxSize &) result);
31327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31328 }
31329 return resultobj;
31330 fail:
31331 return NULL;
31332}
31333
31334
31335static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
31336 PyObject *obj;
31337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31338 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
31339 Py_INCREF(obj);
31340 return Py_BuildValue((char *)"");
31341}
31342static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31343 PyObject *resultobj;
31344 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
31345 int arg2 = (int) wxHORIZONTAL ;
31346 wxStaticBoxSizer *result;
31347 PyObject * obj0 = 0 ;
31348 char *kwnames[] = {
31349 (char *) "box",(char *) "orient", NULL
31350 };
31351
31352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
31353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31354 {
31355 PyThreadState* __tstate = wxPyBeginAllowThreads();
31356 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
31357
31358 wxPyEndAllowThreads(__tstate);
31359 if (PyErr_Occurred()) SWIG_fail;
31360 }
31361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
31362 return resultobj;
31363 fail:
31364 return NULL;
31365}
31366
31367
31368static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
31369 PyObject *resultobj;
31370 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31371 wxStaticBox *result;
31372 PyObject * obj0 = 0 ;
31373 char *kwnames[] = {
31374 (char *) "self", NULL
31375 };
31376
31377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
31378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31379 {
31380 PyThreadState* __tstate = wxPyBeginAllowThreads();
31381 result = (wxStaticBox *)(arg1)->GetStaticBox();
31382
31383 wxPyEndAllowThreads(__tstate);
31384 if (PyErr_Occurred()) SWIG_fail;
31385 }
31386 {
31387 resultobj = wxPyMake_wxObject(result);
31388 }
31389 return resultobj;
31390 fail:
31391 return NULL;
31392}
31393
31394
31395static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31396 PyObject *resultobj;
31397 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31398 PyObject * obj0 = 0 ;
31399 char *kwnames[] = {
31400 (char *) "self", NULL
31401 };
31402
31403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31405 {
31406 PyThreadState* __tstate = wxPyBeginAllowThreads();
31407 (arg1)->RecalcSizes();
31408
31409 wxPyEndAllowThreads(__tstate);
31410 if (PyErr_Occurred()) SWIG_fail;
31411 }
31412 Py_INCREF(Py_None); resultobj = Py_None;
31413 return resultobj;
31414 fail:
31415 return NULL;
31416}
31417
31418
31419static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31420 PyObject *resultobj;
31421 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31422 wxSize result;
31423 PyObject * obj0 = 0 ;
31424 char *kwnames[] = {
31425 (char *) "self", NULL
31426 };
31427
31428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31430 {
31431 PyThreadState* __tstate = wxPyBeginAllowThreads();
31432 result = (arg1)->CalcMin();
31433
31434 wxPyEndAllowThreads(__tstate);
31435 if (PyErr_Occurred()) SWIG_fail;
31436 }
31437 {
31438 wxSize * resultptr;
31439 resultptr = new wxSize((wxSize &) result);
31440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31441 }
31442 return resultobj;
31443 fail:
31444 return NULL;
31445}
31446
31447
31448static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31449 PyObject *obj;
31450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31451 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31452 Py_INCREF(obj);
31453 return Py_BuildValue((char *)"");
31454}
31455static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31456 PyObject *resultobj;
31457 int arg1 = (int) 1 ;
31458 int arg2 = (int) 0 ;
31459 int arg3 = (int) 0 ;
31460 int arg4 = (int) 0 ;
31461 wxGridSizer *result;
31462 char *kwnames[] = {
31463 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31464 };
31465
31466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31467 {
31468 PyThreadState* __tstate = wxPyBeginAllowThreads();
31469 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31470
31471 wxPyEndAllowThreads(__tstate);
31472 if (PyErr_Occurred()) SWIG_fail;
31473 }
31474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31475 return resultobj;
31476 fail:
31477 return NULL;
31478}
31479
31480
31481static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31482 PyObject *resultobj;
31483 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31484 PyObject * obj0 = 0 ;
31485 char *kwnames[] = {
31486 (char *) "self", NULL
31487 };
31488
31489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31491 {
31492 PyThreadState* __tstate = wxPyBeginAllowThreads();
31493 (arg1)->RecalcSizes();
31494
31495 wxPyEndAllowThreads(__tstate);
31496 if (PyErr_Occurred()) SWIG_fail;
31497 }
31498 Py_INCREF(Py_None); resultobj = Py_None;
31499 return resultobj;
31500 fail:
31501 return NULL;
31502}
31503
31504
31505static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31506 PyObject *resultobj;
31507 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31508 wxSize result;
31509 PyObject * obj0 = 0 ;
31510 char *kwnames[] = {
31511 (char *) "self", NULL
31512 };
31513
31514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31516 {
31517 PyThreadState* __tstate = wxPyBeginAllowThreads();
31518 result = (arg1)->CalcMin();
31519
31520 wxPyEndAllowThreads(__tstate);
31521 if (PyErr_Occurred()) SWIG_fail;
31522 }
31523 {
31524 wxSize * resultptr;
31525 resultptr = new wxSize((wxSize &) result);
31526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31527 }
31528 return resultobj;
31529 fail:
31530 return NULL;
31531}
31532
31533
31534static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31535 PyObject *resultobj;
31536 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31537 int arg2 ;
31538 PyObject * obj0 = 0 ;
31539 char *kwnames[] = {
31540 (char *) "self",(char *) "cols", NULL
31541 };
31542
31543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31545 {
31546 PyThreadState* __tstate = wxPyBeginAllowThreads();
31547 (arg1)->SetCols(arg2);
31548
31549 wxPyEndAllowThreads(__tstate);
31550 if (PyErr_Occurred()) SWIG_fail;
31551 }
31552 Py_INCREF(Py_None); resultobj = Py_None;
31553 return resultobj;
31554 fail:
31555 return NULL;
31556}
31557
31558
31559static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31560 PyObject *resultobj;
31561 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31562 int arg2 ;
31563 PyObject * obj0 = 0 ;
31564 char *kwnames[] = {
31565 (char *) "self",(char *) "rows", NULL
31566 };
31567
31568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31570 {
31571 PyThreadState* __tstate = wxPyBeginAllowThreads();
31572 (arg1)->SetRows(arg2);
31573
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 Py_INCREF(Py_None); resultobj = Py_None;
31578 return resultobj;
31579 fail:
31580 return NULL;
31581}
31582
31583
31584static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31585 PyObject *resultobj;
31586 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31587 int arg2 ;
31588 PyObject * obj0 = 0 ;
31589 char *kwnames[] = {
31590 (char *) "self",(char *) "gap", NULL
31591 };
31592
31593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31595 {
31596 PyThreadState* __tstate = wxPyBeginAllowThreads();
31597 (arg1)->SetVGap(arg2);
31598
31599 wxPyEndAllowThreads(__tstate);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 }
31602 Py_INCREF(Py_None); resultobj = Py_None;
31603 return resultobj;
31604 fail:
31605 return NULL;
31606}
31607
31608
31609static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31610 PyObject *resultobj;
31611 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31612 int arg2 ;
31613 PyObject * obj0 = 0 ;
31614 char *kwnames[] = {
31615 (char *) "self",(char *) "gap", NULL
31616 };
31617
31618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31620 {
31621 PyThreadState* __tstate = wxPyBeginAllowThreads();
31622 (arg1)->SetHGap(arg2);
31623
31624 wxPyEndAllowThreads(__tstate);
31625 if (PyErr_Occurred()) SWIG_fail;
31626 }
31627 Py_INCREF(Py_None); resultobj = Py_None;
31628 return resultobj;
31629 fail:
31630 return NULL;
31631}
31632
31633
31634static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31635 PyObject *resultobj;
31636 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31637 int result;
31638 PyObject * obj0 = 0 ;
31639 char *kwnames[] = {
31640 (char *) "self", NULL
31641 };
31642
31643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31645 {
31646 PyThreadState* __tstate = wxPyBeginAllowThreads();
31647 result = (int)(arg1)->GetCols();
31648
31649 wxPyEndAllowThreads(__tstate);
31650 if (PyErr_Occurred()) SWIG_fail;
31651 }
31652 resultobj = PyInt_FromLong((long)result);
31653 return resultobj;
31654 fail:
31655 return NULL;
31656}
31657
31658
31659static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31660 PyObject *resultobj;
31661 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31662 int result;
31663 PyObject * obj0 = 0 ;
31664 char *kwnames[] = {
31665 (char *) "self", NULL
31666 };
31667
31668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31670 {
31671 PyThreadState* __tstate = wxPyBeginAllowThreads();
31672 result = (int)(arg1)->GetRows();
31673
31674 wxPyEndAllowThreads(__tstate);
31675 if (PyErr_Occurred()) SWIG_fail;
31676 }
31677 resultobj = PyInt_FromLong((long)result);
31678 return resultobj;
31679 fail:
31680 return NULL;
31681}
31682
31683
31684static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31685 PyObject *resultobj;
31686 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31687 int result;
31688 PyObject * obj0 = 0 ;
31689 char *kwnames[] = {
31690 (char *) "self", NULL
31691 };
31692
31693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31695 {
31696 PyThreadState* __tstate = wxPyBeginAllowThreads();
31697 result = (int)(arg1)->GetVGap();
31698
31699 wxPyEndAllowThreads(__tstate);
31700 if (PyErr_Occurred()) SWIG_fail;
31701 }
31702 resultobj = PyInt_FromLong((long)result);
31703 return resultobj;
31704 fail:
31705 return NULL;
31706}
31707
31708
31709static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31710 PyObject *resultobj;
31711 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31712 int result;
31713 PyObject * obj0 = 0 ;
31714 char *kwnames[] = {
31715 (char *) "self", NULL
31716 };
31717
31718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31720 {
31721 PyThreadState* __tstate = wxPyBeginAllowThreads();
31722 result = (int)(arg1)->GetHGap();
31723
31724 wxPyEndAllowThreads(__tstate);
31725 if (PyErr_Occurred()) SWIG_fail;
31726 }
31727 resultobj = PyInt_FromLong((long)result);
31728 return resultobj;
31729 fail:
31730 return NULL;
31731}
31732
31733
31734static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31735 PyObject *obj;
31736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31737 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31738 Py_INCREF(obj);
31739 return Py_BuildValue((char *)"");
31740}
31741static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31742 PyObject *resultobj;
31743 int arg1 = (int) 1 ;
31744 int arg2 = (int) 0 ;
31745 int arg3 = (int) 0 ;
31746 int arg4 = (int) 0 ;
31747 wxFlexGridSizer *result;
31748 char *kwnames[] = {
31749 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31750 };
31751
31752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31753 {
31754 PyThreadState* __tstate = wxPyBeginAllowThreads();
31755 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31756
31757 wxPyEndAllowThreads(__tstate);
31758 if (PyErr_Occurred()) SWIG_fail;
31759 }
31760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31761 return resultobj;
31762 fail:
31763 return NULL;
31764}
31765
31766
31767static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31768 PyObject *resultobj;
31769 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31770 PyObject * obj0 = 0 ;
31771 char *kwnames[] = {
31772 (char *) "self", NULL
31773 };
31774
31775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31777 {
31778 PyThreadState* __tstate = wxPyBeginAllowThreads();
31779 (arg1)->RecalcSizes();
31780
31781 wxPyEndAllowThreads(__tstate);
31782 if (PyErr_Occurred()) SWIG_fail;
31783 }
31784 Py_INCREF(Py_None); resultobj = Py_None;
31785 return resultobj;
31786 fail:
31787 return NULL;
31788}
31789
31790
31791static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31792 PyObject *resultobj;
31793 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31794 wxSize result;
31795 PyObject * obj0 = 0 ;
31796 char *kwnames[] = {
31797 (char *) "self", NULL
31798 };
31799
31800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31802 {
31803 PyThreadState* __tstate = wxPyBeginAllowThreads();
31804 result = (arg1)->CalcMin();
31805
31806 wxPyEndAllowThreads(__tstate);
31807 if (PyErr_Occurred()) SWIG_fail;
31808 }
31809 {
31810 wxSize * resultptr;
31811 resultptr = new wxSize((wxSize &) result);
31812 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31813 }
31814 return resultobj;
31815 fail:
31816 return NULL;
31817}
31818
31819
31820static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31821 PyObject *resultobj;
31822 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31823 size_t arg2 ;
31824 int arg3 = (int) 0 ;
31825 PyObject * obj0 = 0 ;
31826 PyObject * obj1 = 0 ;
31827 char *kwnames[] = {
31828 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31829 };
31830
31831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31833 arg2 = (size_t) PyInt_AsLong(obj1);
31834 if (PyErr_Occurred()) SWIG_fail;
31835 {
31836 PyThreadState* __tstate = wxPyBeginAllowThreads();
31837 (arg1)->AddGrowableRow(arg2,arg3);
31838
31839 wxPyEndAllowThreads(__tstate);
31840 if (PyErr_Occurred()) SWIG_fail;
31841 }
31842 Py_INCREF(Py_None); resultobj = Py_None;
31843 return resultobj;
31844 fail:
31845 return NULL;
31846}
31847
31848
31849static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31850 PyObject *resultobj;
31851 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31852 size_t arg2 ;
31853 PyObject * obj0 = 0 ;
31854 PyObject * obj1 = 0 ;
31855 char *kwnames[] = {
31856 (char *) "self",(char *) "idx", NULL
31857 };
31858
31859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31861 arg2 = (size_t) PyInt_AsLong(obj1);
31862 if (PyErr_Occurred()) SWIG_fail;
31863 {
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 (arg1)->RemoveGrowableRow(arg2);
31866
31867 wxPyEndAllowThreads(__tstate);
31868 if (PyErr_Occurred()) SWIG_fail;
31869 }
31870 Py_INCREF(Py_None); resultobj = Py_None;
31871 return resultobj;
31872 fail:
31873 return NULL;
31874}
31875
31876
31877static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31878 PyObject *resultobj;
31879 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31880 size_t arg2 ;
31881 int arg3 = (int) 0 ;
31882 PyObject * obj0 = 0 ;
31883 PyObject * obj1 = 0 ;
31884 char *kwnames[] = {
31885 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31886 };
31887
31888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31890 arg2 = (size_t) PyInt_AsLong(obj1);
31891 if (PyErr_Occurred()) SWIG_fail;
31892 {
31893 PyThreadState* __tstate = wxPyBeginAllowThreads();
31894 (arg1)->AddGrowableCol(arg2,arg3);
31895
31896 wxPyEndAllowThreads(__tstate);
31897 if (PyErr_Occurred()) SWIG_fail;
31898 }
31899 Py_INCREF(Py_None); resultobj = Py_None;
31900 return resultobj;
31901 fail:
31902 return NULL;
31903}
31904
31905
31906static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31907 PyObject *resultobj;
31908 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31909 size_t arg2 ;
31910 PyObject * obj0 = 0 ;
31911 PyObject * obj1 = 0 ;
31912 char *kwnames[] = {
31913 (char *) "self",(char *) "idx", NULL
31914 };
31915
31916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31918 arg2 = (size_t) PyInt_AsLong(obj1);
31919 if (PyErr_Occurred()) SWIG_fail;
31920 {
31921 PyThreadState* __tstate = wxPyBeginAllowThreads();
31922 (arg1)->RemoveGrowableCol(arg2);
31923
31924 wxPyEndAllowThreads(__tstate);
31925 if (PyErr_Occurred()) SWIG_fail;
31926 }
31927 Py_INCREF(Py_None); resultobj = Py_None;
31928 return resultobj;
31929 fail:
31930 return NULL;
31931}
31932
31933
31934static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31935 PyObject *resultobj;
31936 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31937 int arg2 ;
31938 PyObject * obj0 = 0 ;
31939 char *kwnames[] = {
31940 (char *) "self",(char *) "direction", NULL
31941 };
31942
31943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31945 {
31946 PyThreadState* __tstate = wxPyBeginAllowThreads();
31947 (arg1)->SetFlexibleDirection(arg2);
31948
31949 wxPyEndAllowThreads(__tstate);
31950 if (PyErr_Occurred()) SWIG_fail;
31951 }
31952 Py_INCREF(Py_None); resultobj = Py_None;
31953 return resultobj;
31954 fail:
31955 return NULL;
31956}
31957
31958
31959static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31960 PyObject *resultobj;
31961 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31962 int result;
31963 PyObject * obj0 = 0 ;
31964 char *kwnames[] = {
31965 (char *) "self", NULL
31966 };
31967
31968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31970 {
31971 PyThreadState* __tstate = wxPyBeginAllowThreads();
31972 result = (int)(arg1)->GetFlexibleDirection();
31973
31974 wxPyEndAllowThreads(__tstate);
31975 if (PyErr_Occurred()) SWIG_fail;
31976 }
31977 resultobj = PyInt_FromLong((long)result);
31978 return resultobj;
31979 fail:
31980 return NULL;
31981}
31982
31983
31984static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31985 PyObject *resultobj;
31986 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31987 int arg2 ;
31988 PyObject * obj0 = 0 ;
31989 char *kwnames[] = {
31990 (char *) "self",(char *) "mode", NULL
31991 };
31992
31993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
31994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31995 {
31996 PyThreadState* __tstate = wxPyBeginAllowThreads();
31997 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
31998
31999 wxPyEndAllowThreads(__tstate);
32000 if (PyErr_Occurred()) SWIG_fail;
32001 }
32002 Py_INCREF(Py_None); resultobj = Py_None;
32003 return resultobj;
32004 fail:
32005 return NULL;
32006}
32007
32008
32009static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32010 PyObject *resultobj;
32011 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32012 int result;
32013 PyObject * obj0 = 0 ;
32014 char *kwnames[] = {
32015 (char *) "self", NULL
32016 };
32017
32018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
32019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32020 {
32021 PyThreadState* __tstate = wxPyBeginAllowThreads();
32022 result = (int)(arg1)->GetNonFlexibleGrowMode();
32023
32024 wxPyEndAllowThreads(__tstate);
32025 if (PyErr_Occurred()) SWIG_fail;
32026 }
32027 resultobj = PyInt_FromLong((long)result);
32028 return resultobj;
32029 fail:
32030 return NULL;
32031}
32032
32033
423f194a
RD
32034static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
32035 PyObject *resultobj;
32036 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32037 wxArrayInt *result;
32038 PyObject * obj0 = 0 ;
32039 char *kwnames[] = {
32040 (char *) "self", NULL
32041 };
32042
32043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
32044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32045 {
32046 PyThreadState* __tstate = wxPyBeginAllowThreads();
32047 {
32048 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
32049 result = (wxArrayInt *) &_result_ref;
32050 }
32051
32052 wxPyEndAllowThreads(__tstate);
32053 if (PyErr_Occurred()) SWIG_fail;
32054 }
32055 {
32056 resultobj = PyList_New(0);
32057 size_t idx;
32058 for (idx = 0; idx < result->GetCount(); idx += 1) {
32059 PyObject* val = PyInt_FromLong( result->Item(idx) );
32060 PyList_Append(resultobj, val);
32061 Py_DECREF(val);
32062 }
32063 }
32064 return resultobj;
32065 fail:
32066 return NULL;
32067}
32068
32069
32070static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
32071 PyObject *resultobj;
32072 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32073 wxArrayInt *result;
32074 PyObject * obj0 = 0 ;
32075 char *kwnames[] = {
32076 (char *) "self", NULL
32077 };
32078
32079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
32080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32081 {
32082 PyThreadState* __tstate = wxPyBeginAllowThreads();
32083 {
32084 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
32085 result = (wxArrayInt *) &_result_ref;
32086 }
32087
32088 wxPyEndAllowThreads(__tstate);
32089 if (PyErr_Occurred()) SWIG_fail;
32090 }
32091 {
32092 resultobj = PyList_New(0);
32093 size_t idx;
32094 for (idx = 0; idx < result->GetCount(); idx += 1) {
32095 PyObject* val = PyInt_FromLong( result->Item(idx) );
32096 PyList_Append(resultobj, val);
32097 Py_DECREF(val);
32098 }
32099 }
32100 return resultobj;
32101 fail:
32102 return NULL;
32103}
32104
32105
d14a1e28
RD
32106static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
32107 PyObject *obj;
32108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32109 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
32110 Py_INCREF(obj);
32111 return Py_BuildValue((char *)"");
32112}
32113static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
32114 PyObject *resultobj;
32115 int arg1 = (int) 0 ;
32116 int arg2 = (int) 0 ;
32117 wxGBPosition *result;
32118 char *kwnames[] = {
32119 (char *) "row",(char *) "col", NULL
32120 };
32121
32122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
32123 {
32124 PyThreadState* __tstate = wxPyBeginAllowThreads();
32125 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
32126
32127 wxPyEndAllowThreads(__tstate);
32128 if (PyErr_Occurred()) SWIG_fail;
32129 }
32130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
32131 return resultobj;
32132 fail:
32133 return NULL;
32134}
32135
32136
32137static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32138 PyObject *resultobj;
32139 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32140 int result;
32141 PyObject * obj0 = 0 ;
32142 char *kwnames[] = {
32143 (char *) "self", NULL
32144 };
32145
32146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
32147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32148 {
32149 PyThreadState* __tstate = wxPyBeginAllowThreads();
32150 result = (int)((wxGBPosition const *)arg1)->GetRow();
32151
32152 wxPyEndAllowThreads(__tstate);
32153 if (PyErr_Occurred()) SWIG_fail;
32154 }
32155 resultobj = PyInt_FromLong((long)result);
32156 return resultobj;
32157 fail:
32158 return NULL;
32159}
32160
32161
32162static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32163 PyObject *resultobj;
32164 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32165 int result;
32166 PyObject * obj0 = 0 ;
32167 char *kwnames[] = {
32168 (char *) "self", NULL
32169 };
32170
32171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
32172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32173 {
32174 PyThreadState* __tstate = wxPyBeginAllowThreads();
32175 result = (int)((wxGBPosition const *)arg1)->GetCol();
32176
32177 wxPyEndAllowThreads(__tstate);
32178 if (PyErr_Occurred()) SWIG_fail;
32179 }
32180 resultobj = PyInt_FromLong((long)result);
32181 return resultobj;
32182 fail:
32183 return NULL;
32184}
32185
32186
32187static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32188 PyObject *resultobj;
32189 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32190 int arg2 ;
32191 PyObject * obj0 = 0 ;
32192 char *kwnames[] = {
32193 (char *) "self",(char *) "row", NULL
32194 };
32195
32196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
32197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32198 {
32199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32200 (arg1)->SetRow(arg2);
32201
32202 wxPyEndAllowThreads(__tstate);
32203 if (PyErr_Occurred()) SWIG_fail;
32204 }
32205 Py_INCREF(Py_None); resultobj = Py_None;
32206 return resultobj;
32207 fail:
32208 return NULL;
32209}
32210
32211
32212static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32213 PyObject *resultobj;
32214 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32215 int arg2 ;
32216 PyObject * obj0 = 0 ;
32217 char *kwnames[] = {
32218 (char *) "self",(char *) "col", NULL
32219 };
32220
32221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
32222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32223 {
32224 PyThreadState* __tstate = wxPyBeginAllowThreads();
32225 (arg1)->SetCol(arg2);
32226
32227 wxPyEndAllowThreads(__tstate);
32228 if (PyErr_Occurred()) SWIG_fail;
32229 }
32230 Py_INCREF(Py_None); resultobj = Py_None;
32231 return resultobj;
32232 fail:
32233 return NULL;
32234}
32235
32236
32237static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32238 PyObject *resultobj;
32239 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32240 wxGBPosition *arg2 = 0 ;
32241 bool result;
32242 wxGBPosition temp2 ;
32243 PyObject * obj0 = 0 ;
32244 PyObject * obj1 = 0 ;
32245 char *kwnames[] = {
32246 (char *) "self",(char *) "p", NULL
32247 };
32248
32249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
32250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32251 {
32252 arg2 = &temp2;
32253 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32254 }
32255 {
32256 PyThreadState* __tstate = wxPyBeginAllowThreads();
32257 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
32258
32259 wxPyEndAllowThreads(__tstate);
32260 if (PyErr_Occurred()) SWIG_fail;
32261 }
32262 resultobj = PyInt_FromLong((long)result);
32263 return resultobj;
32264 fail:
32265 return NULL;
32266}
32267
32268
32269static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32270 PyObject *resultobj;
32271 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32272 wxGBPosition *arg2 = 0 ;
32273 bool result;
32274 wxGBPosition temp2 ;
32275 PyObject * obj0 = 0 ;
32276 PyObject * obj1 = 0 ;
32277 char *kwnames[] = {
32278 (char *) "self",(char *) "p", NULL
32279 };
32280
32281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
32282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32283 {
32284 arg2 = &temp2;
32285 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32286 }
32287 {
32288 PyThreadState* __tstate = wxPyBeginAllowThreads();
32289 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
32290
32291 wxPyEndAllowThreads(__tstate);
32292 if (PyErr_Occurred()) SWIG_fail;
32293 }
32294 resultobj = PyInt_FromLong((long)result);
32295 return resultobj;
32296 fail:
32297 return NULL;
32298}
32299
32300
423f194a
RD
32301static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32302 PyObject *resultobj;
32303 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32304 int arg2 = (int) 0 ;
32305 int arg3 = (int) 0 ;
32306 PyObject * obj0 = 0 ;
32307 char *kwnames[] = {
32308 (char *) "self",(char *) "row",(char *) "col", NULL
32309 };
32310
32311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32313 {
32314 PyThreadState* __tstate = wxPyBeginAllowThreads();
32315 wxGBPosition_Set(arg1,arg2,arg3);
32316
32317 wxPyEndAllowThreads(__tstate);
32318 if (PyErr_Occurred()) SWIG_fail;
32319 }
32320 Py_INCREF(Py_None); resultobj = Py_None;
32321 return resultobj;
32322 fail:
32323 return NULL;
32324}
32325
32326
32327static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32328 PyObject *resultobj;
32329 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32330 PyObject *result;
32331 PyObject * obj0 = 0 ;
32332 char *kwnames[] = {
32333 (char *) "self", NULL
32334 };
32335
423f194a 32336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32338 {
32339 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 32340 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
32341
32342 wxPyEndAllowThreads(__tstate);
32343 if (PyErr_Occurred()) SWIG_fail;
32344 }
32345 resultobj = result;
32346 return resultobj;
32347 fail:
32348 return NULL;
32349}
32350
32351
32352static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
32353 PyObject *obj;
32354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32355 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
32356 Py_INCREF(obj);
32357 return Py_BuildValue((char *)"");
32358}
32359static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32360 PyObject *resultobj;
32361 int arg1 = (int) 1 ;
32362 int arg2 = (int) 1 ;
32363 wxGBSpan *result;
32364 char *kwnames[] = {
32365 (char *) "rowspan",(char *) "colspan", NULL
32366 };
32367
32368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
32369 {
32370 PyThreadState* __tstate = wxPyBeginAllowThreads();
32371 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
32372
32373 wxPyEndAllowThreads(__tstate);
32374 if (PyErr_Occurred()) SWIG_fail;
32375 }
32376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
32377 return resultobj;
32378 fail:
32379 return NULL;
32380}
32381
32382
32383static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32384 PyObject *resultobj;
32385 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32386 int result;
32387 PyObject * obj0 = 0 ;
32388 char *kwnames[] = {
32389 (char *) "self", NULL
32390 };
32391
32392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
32393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32394 {
32395 PyThreadState* __tstate = wxPyBeginAllowThreads();
32396 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
32397
32398 wxPyEndAllowThreads(__tstate);
32399 if (PyErr_Occurred()) SWIG_fail;
32400 }
32401 resultobj = PyInt_FromLong((long)result);
32402 return resultobj;
32403 fail:
32404 return NULL;
32405}
32406
32407
32408static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32409 PyObject *resultobj;
32410 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32411 int result;
32412 PyObject * obj0 = 0 ;
32413 char *kwnames[] = {
32414 (char *) "self", NULL
32415 };
32416
32417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
32418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32419 {
32420 PyThreadState* __tstate = wxPyBeginAllowThreads();
32421 result = (int)((wxGBSpan const *)arg1)->GetColspan();
32422
32423 wxPyEndAllowThreads(__tstate);
32424 if (PyErr_Occurred()) SWIG_fail;
32425 }
32426 resultobj = PyInt_FromLong((long)result);
32427 return resultobj;
32428 fail:
32429 return NULL;
32430}
32431
32432
32433static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32434 PyObject *resultobj;
32435 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32436 int arg2 ;
32437 PyObject * obj0 = 0 ;
32438 char *kwnames[] = {
32439 (char *) "self",(char *) "rowspan", NULL
32440 };
32441
32442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32444 {
32445 PyThreadState* __tstate = wxPyBeginAllowThreads();
32446 (arg1)->SetRowspan(arg2);
32447
32448 wxPyEndAllowThreads(__tstate);
32449 if (PyErr_Occurred()) SWIG_fail;
32450 }
32451 Py_INCREF(Py_None); resultobj = Py_None;
32452 return resultobj;
32453 fail:
32454 return NULL;
32455}
32456
32457
32458static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32459 PyObject *resultobj;
32460 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32461 int arg2 ;
32462 PyObject * obj0 = 0 ;
32463 char *kwnames[] = {
32464 (char *) "self",(char *) "colspan", NULL
32465 };
32466
32467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32469 {
32470 PyThreadState* __tstate = wxPyBeginAllowThreads();
32471 (arg1)->SetColspan(arg2);
32472
32473 wxPyEndAllowThreads(__tstate);
32474 if (PyErr_Occurred()) SWIG_fail;
32475 }
32476 Py_INCREF(Py_None); resultobj = Py_None;
32477 return resultobj;
32478 fail:
32479 return NULL;
32480}
32481
32482
32483static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32484 PyObject *resultobj;
32485 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32486 wxGBSpan *arg2 = 0 ;
32487 bool result;
32488 wxGBSpan temp2 ;
32489 PyObject * obj0 = 0 ;
32490 PyObject * obj1 = 0 ;
32491 char *kwnames[] = {
32492 (char *) "self",(char *) "o", NULL
32493 };
32494
32495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32497 {
32498 arg2 = &temp2;
32499 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32500 }
32501 {
32502 PyThreadState* __tstate = wxPyBeginAllowThreads();
32503 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32504
32505 wxPyEndAllowThreads(__tstate);
32506 if (PyErr_Occurred()) SWIG_fail;
32507 }
32508 resultobj = PyInt_FromLong((long)result);
32509 return resultobj;
32510 fail:
32511 return NULL;
32512}
32513
32514
32515static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32516 PyObject *resultobj;
32517 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32518 wxGBSpan *arg2 = 0 ;
32519 bool result;
32520 wxGBSpan temp2 ;
32521 PyObject * obj0 = 0 ;
32522 PyObject * obj1 = 0 ;
32523 char *kwnames[] = {
32524 (char *) "self",(char *) "o", NULL
32525 };
32526
32527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32529 {
32530 arg2 = &temp2;
32531 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32532 }
32533 {
32534 PyThreadState* __tstate = wxPyBeginAllowThreads();
32535 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32536
32537 wxPyEndAllowThreads(__tstate);
32538 if (PyErr_Occurred()) SWIG_fail;
32539 }
32540 resultobj = PyInt_FromLong((long)result);
32541 return resultobj;
32542 fail:
32543 return NULL;
32544}
32545
32546
423f194a
RD
32547static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32548 PyObject *resultobj;
32549 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32550 int arg2 = (int) 1 ;
32551 int arg3 = (int) 1 ;
32552 PyObject * obj0 = 0 ;
32553 char *kwnames[] = {
32554 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32555 };
32556
32557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32559 {
32560 PyThreadState* __tstate = wxPyBeginAllowThreads();
32561 wxGBSpan_Set(arg1,arg2,arg3);
32562
32563 wxPyEndAllowThreads(__tstate);
32564 if (PyErr_Occurred()) SWIG_fail;
32565 }
32566 Py_INCREF(Py_None); resultobj = Py_None;
32567 return resultobj;
32568 fail:
32569 return NULL;
32570}
32571
32572
32573static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32574 PyObject *resultobj;
32575 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32576 PyObject *result;
32577 PyObject * obj0 = 0 ;
32578 char *kwnames[] = {
32579 (char *) "self", NULL
32580 };
32581
423f194a 32582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32584 {
32585 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 32586 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
32587
32588 wxPyEndAllowThreads(__tstate);
32589 if (PyErr_Occurred()) SWIG_fail;
32590 }
32591 resultobj = result;
32592 return resultobj;
32593 fail:
32594 return NULL;
32595}
32596
32597
32598static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32599 PyObject *obj;
32600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32601 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32602 Py_INCREF(obj);
32603 return Py_BuildValue((char *)"");
32604}
32605static int _wrap_DefaultSpan_set(PyObject *_val) {
32606 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32607 return 1;
32608}
32609
32610
32611static PyObject *_wrap_DefaultSpan_get() {
32612 PyObject *pyobj;
32613
32614 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32615 return pyobj;
32616}
32617
32618
32619static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32620 PyObject *resultobj;
32621 wxGBSizerItem *result;
32622 char *kwnames[] = {
32623 NULL
32624 };
32625
32626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32627 {
32628 PyThreadState* __tstate = wxPyBeginAllowThreads();
32629 result = (wxGBSizerItem *)new wxGBSizerItem();
32630
32631 wxPyEndAllowThreads(__tstate);
32632 if (PyErr_Occurred()) SWIG_fail;
32633 }
32634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32635 return resultobj;
32636 fail:
32637 return NULL;
32638}
32639
32640
32641static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32642 PyObject *resultobj;
32643 wxWindow *arg1 = (wxWindow *) 0 ;
32644 wxGBPosition *arg2 = 0 ;
32645 wxGBSpan *arg3 = 0 ;
32646 int arg4 ;
32647 int arg5 ;
32648 wxObject *arg6 = (wxObject *) 0 ;
32649 wxGBSizerItem *result;
32650 wxGBPosition temp2 ;
32651 wxGBSpan temp3 ;
32652 PyObject * obj0 = 0 ;
32653 PyObject * obj1 = 0 ;
32654 PyObject * obj2 = 0 ;
32655 PyObject * obj5 = 0 ;
32656 char *kwnames[] = {
32657 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32658 };
32659
32660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32662 {
32663 arg2 = &temp2;
32664 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32665 }
32666 {
32667 arg3 = &temp3;
32668 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32669 }
32670 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32671 {
32672 PyThreadState* __tstate = wxPyBeginAllowThreads();
32673 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32674
32675 wxPyEndAllowThreads(__tstate);
32676 if (PyErr_Occurred()) SWIG_fail;
32677 }
32678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32679 return resultobj;
32680 fail:
32681 return NULL;
32682}
32683
32684
32685static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32686 PyObject *resultobj;
32687 wxSizer *arg1 = (wxSizer *) 0 ;
32688 wxGBPosition *arg2 = 0 ;
32689 wxGBSpan *arg3 = 0 ;
32690 int arg4 ;
32691 int arg5 ;
32692 wxObject *arg6 = (wxObject *) 0 ;
32693 wxGBSizerItem *result;
32694 wxGBPosition temp2 ;
32695 wxGBSpan temp3 ;
32696 PyObject * obj0 = 0 ;
32697 PyObject * obj1 = 0 ;
32698 PyObject * obj2 = 0 ;
32699 PyObject * obj5 = 0 ;
32700 char *kwnames[] = {
32701 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32702 };
32703
32704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32706 {
32707 arg2 = &temp2;
32708 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32709 }
32710 {
32711 arg3 = &temp3;
32712 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32713 }
32714 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
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_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32730 PyObject *resultobj;
32731 int arg1 ;
32732 int arg2 ;
32733 wxGBPosition *arg3 = 0 ;
32734 wxGBSpan *arg4 = 0 ;
32735 int arg5 ;
32736 int arg6 ;
32737 wxObject *arg7 = (wxObject *) 0 ;
32738 wxGBSizerItem *result;
32739 wxGBPosition temp3 ;
32740 wxGBSpan temp4 ;
32741 PyObject * obj2 = 0 ;
32742 PyObject * obj3 = 0 ;
32743 PyObject * obj6 = 0 ;
32744 char *kwnames[] = {
32745 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32746 };
32747
32748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32749 {
32750 arg3 = &temp3;
32751 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32752 }
32753 {
32754 arg4 = &temp4;
32755 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32756 }
32757 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32758 {
32759 PyThreadState* __tstate = wxPyBeginAllowThreads();
32760 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32761
32762 wxPyEndAllowThreads(__tstate);
32763 if (PyErr_Occurred()) SWIG_fail;
32764 }
32765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32766 return resultobj;
32767 fail:
32768 return NULL;
32769}
32770
32771
32772static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32773 PyObject *resultobj;
32774 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32775 wxGBPosition result;
32776 PyObject * obj0 = 0 ;
32777 char *kwnames[] = {
32778 (char *) "self", NULL
32779 };
32780
32781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32783 {
32784 PyThreadState* __tstate = wxPyBeginAllowThreads();
32785 result = ((wxGBSizerItem const *)arg1)->GetPos();
32786
32787 wxPyEndAllowThreads(__tstate);
32788 if (PyErr_Occurred()) SWIG_fail;
32789 }
32790 {
32791 wxGBPosition * resultptr;
32792 resultptr = new wxGBPosition((wxGBPosition &) result);
32793 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32794 }
32795 return resultobj;
32796 fail:
32797 return NULL;
32798}
32799
32800
32801static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32802 PyObject *resultobj;
32803 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32804 wxGBSpan result;
32805 PyObject * obj0 = 0 ;
32806 char *kwnames[] = {
32807 (char *) "self", NULL
32808 };
32809
32810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32815
32816 wxPyEndAllowThreads(__tstate);
32817 if (PyErr_Occurred()) SWIG_fail;
32818 }
32819 {
32820 wxGBSpan * resultptr;
32821 resultptr = new wxGBSpan((wxGBSpan &) result);
32822 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32823 }
32824 return resultobj;
32825 fail:
32826 return NULL;
32827}
32828
32829
32830static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32831 PyObject *resultobj;
32832 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32833 wxGBPosition *arg2 = 0 ;
32834 bool result;
32835 wxGBPosition temp2 ;
32836 PyObject * obj0 = 0 ;
32837 PyObject * obj1 = 0 ;
32838 char *kwnames[] = {
32839 (char *) "self",(char *) "pos", NULL
32840 };
32841
32842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32844 {
32845 arg2 = &temp2;
32846 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32847 }
32848 {
32849 PyThreadState* __tstate = wxPyBeginAllowThreads();
32850 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32851
32852 wxPyEndAllowThreads(__tstate);
32853 if (PyErr_Occurred()) SWIG_fail;
32854 }
32855 resultobj = PyInt_FromLong((long)result);
32856 return resultobj;
32857 fail:
32858 return NULL;
32859}
32860
32861
32862static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32863 PyObject *resultobj;
32864 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32865 wxGBSpan *arg2 = 0 ;
32866 bool result;
32867 wxGBSpan temp2 ;
32868 PyObject * obj0 = 0 ;
32869 PyObject * obj1 = 0 ;
32870 char *kwnames[] = {
32871 (char *) "self",(char *) "span", NULL
32872 };
32873
32874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32876 {
32877 arg2 = &temp2;
32878 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32879 }
32880 {
32881 PyThreadState* __tstate = wxPyBeginAllowThreads();
32882 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32883
32884 wxPyEndAllowThreads(__tstate);
32885 if (PyErr_Occurred()) SWIG_fail;
32886 }
32887 resultobj = PyInt_FromLong((long)result);
32888 return resultobj;
32889 fail:
32890 return NULL;
32891}
32892
32893
32894static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32895 PyObject *resultobj;
32896 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32897 wxGBSizerItem *arg2 = 0 ;
32898 bool result;
32899 PyObject * obj0 = 0 ;
32900 PyObject * obj1 = 0 ;
32901
32902 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32905 if (arg2 == NULL) {
32906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32907 }
32908 {
32909 PyThreadState* __tstate = wxPyBeginAllowThreads();
32910 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32911
32912 wxPyEndAllowThreads(__tstate);
32913 if (PyErr_Occurred()) SWIG_fail;
32914 }
32915 resultobj = PyInt_FromLong((long)result);
32916 return resultobj;
32917 fail:
32918 return NULL;
32919}
32920
32921
32922static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32923 PyObject *resultobj;
32924 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32925 wxGBPosition *arg2 = 0 ;
32926 wxGBSpan *arg3 = 0 ;
32927 bool result;
32928 wxGBPosition temp2 ;
32929 wxGBSpan temp3 ;
32930 PyObject * obj0 = 0 ;
32931 PyObject * obj1 = 0 ;
32932 PyObject * obj2 = 0 ;
32933
32934 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32936 {
32937 arg2 = &temp2;
32938 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32939 }
32940 {
32941 arg3 = &temp3;
32942 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32943 }
32944 {
32945 PyThreadState* __tstate = wxPyBeginAllowThreads();
32946 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32947
32948 wxPyEndAllowThreads(__tstate);
32949 if (PyErr_Occurred()) SWIG_fail;
32950 }
32951 resultobj = PyInt_FromLong((long)result);
32952 return resultobj;
32953 fail:
32954 return NULL;
32955}
32956
32957
32958static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32959 int argc;
32960 PyObject *argv[4];
32961 int ii;
32962
32963 argc = PyObject_Length(args);
32964 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32965 argv[ii] = PyTuple_GetItem(args,ii);
32966 }
32967 if (argc == 2) {
32968 int _v;
32969 {
32970 void *ptr;
32971 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32972 _v = 0;
32973 PyErr_Clear();
32974 } else {
32975 _v = 1;
32976 }
32977 }
32978 if (_v) {
32979 {
32980 void *ptr;
32981 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32982 _v = 0;
32983 PyErr_Clear();
32984 } else {
32985 _v = 1;
32986 }
32987 }
32988 if (_v) {
32989 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
32990 }
32991 }
32992 }
32993 if (argc == 3) {
32994 int _v;
32995 {
32996 void *ptr;
32997 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32998 _v = 0;
32999 PyErr_Clear();
33000 } else {
33001 _v = 1;
33002 }
33003 }
33004 if (_v) {
33005 {
33006 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33007 }
33008 if (_v) {
33009 {
33010 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33011 }
33012 if (_v) {
33013 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
33014 }
33015 }
33016 }
33017 }
33018
33019 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
33020 return NULL;
33021}
33022
33023
33024static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
33025 PyObject *resultobj;
33026 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33027 int *arg2 = 0 ;
33028 int *arg3 = 0 ;
33029 PyObject * obj0 = 0 ;
33030 PyObject * obj1 = 0 ;
33031 PyObject * obj2 = 0 ;
33032 char *kwnames[] = {
33033 (char *) "self",(char *) "row",(char *) "col", NULL
33034 };
33035
33036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
33037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33039 if (arg2 == NULL) {
33040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33041 }
33042 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33043 if (arg3 == NULL) {
33044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33045 }
33046 {
33047 PyThreadState* __tstate = wxPyBeginAllowThreads();
33048 (arg1)->GetEndPos(*arg2,*arg3);
33049
33050 wxPyEndAllowThreads(__tstate);
33051 if (PyErr_Occurred()) SWIG_fail;
33052 }
33053 Py_INCREF(Py_None); resultobj = Py_None;
33054 return resultobj;
33055 fail:
33056 return NULL;
33057}
33058
33059
33060static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33061 PyObject *resultobj;
33062 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33063 wxGridBagSizer *result;
33064 PyObject * obj0 = 0 ;
33065 char *kwnames[] = {
33066 (char *) "self", NULL
33067 };
33068
33069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
33070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33071 {
33072 PyThreadState* __tstate = wxPyBeginAllowThreads();
33073 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
33074
33075 wxPyEndAllowThreads(__tstate);
33076 if (PyErr_Occurred()) SWIG_fail;
33077 }
33078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
33079 return resultobj;
33080 fail:
33081 return NULL;
33082}
33083
33084
33085static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33086 PyObject *resultobj;
33087 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33088 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
33089 PyObject * obj0 = 0 ;
33090 PyObject * obj1 = 0 ;
33091 char *kwnames[] = {
33092 (char *) "self",(char *) "sizer", NULL
33093 };
33094
33095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
33096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33098 {
33099 PyThreadState* __tstate = wxPyBeginAllowThreads();
33100 (arg1)->SetGBSizer(arg2);
33101
33102 wxPyEndAllowThreads(__tstate);
33103 if (PyErr_Occurred()) SWIG_fail;
33104 }
33105 Py_INCREF(Py_None); resultobj = Py_None;
33106 return resultobj;
33107 fail:
33108 return NULL;
33109}
33110
33111
33112static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
33113 PyObject *obj;
33114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33115 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
33116 Py_INCREF(obj);
33117 return Py_BuildValue((char *)"");
33118}
33119static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33120 PyObject *resultobj;
33121 int arg1 = (int) 0 ;
33122 int arg2 = (int) 0 ;
33123 wxGridBagSizer *result;
33124 char *kwnames[] = {
33125 (char *) "vgap",(char *) "hgap", NULL
33126 };
33127
33128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
33129 {
33130 PyThreadState* __tstate = wxPyBeginAllowThreads();
33131 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
33132
33133 wxPyEndAllowThreads(__tstate);
33134 if (PyErr_Occurred()) SWIG_fail;
33135 }
33136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
33137 return resultobj;
33138 fail:
33139 return NULL;
33140}
33141
33142
33143static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33144 PyObject *resultobj;
33145 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33146 PyObject *arg2 = (PyObject *) 0 ;
33147 wxGBPosition *arg3 = 0 ;
33148 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
33149 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
33150 int arg5 = (int) 0 ;
33151 int arg6 = (int) 0 ;
33152 PyObject *arg7 = (PyObject *) NULL ;
33153 bool result;
33154 wxGBPosition temp3 ;
33155 wxGBSpan temp4 ;
33156 PyObject * obj0 = 0 ;
33157 PyObject * obj1 = 0 ;
33158 PyObject * obj2 = 0 ;
33159 PyObject * obj3 = 0 ;
33160 PyObject * obj6 = 0 ;
33161 char *kwnames[] = {
33162 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33163 };
33164
33165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
33166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33167 arg2 = obj1;
33168 {
33169 arg3 = &temp3;
33170 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33171 }
33172 if (obj3) {
33173 {
33174 arg4 = &temp4;
33175 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
33176 }
33177 }
33178 if (obj6) {
33179 arg7 = obj6;
33180 }
33181 {
33182 PyThreadState* __tstate = wxPyBeginAllowThreads();
33183 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
33184
33185 wxPyEndAllowThreads(__tstate);
33186 if (PyErr_Occurred()) SWIG_fail;
33187 }
33188 resultobj = PyInt_FromLong((long)result);
33189 return resultobj;
33190 fail:
33191 return NULL;
33192}
33193
33194
33195static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33196 PyObject *resultobj;
33197 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33198 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33199 bool result;
33200 PyObject * obj0 = 0 ;
33201 PyObject * obj1 = 0 ;
33202 char *kwnames[] = {
33203 (char *) "self",(char *) "item", NULL
33204 };
33205
33206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33209 {
33210 PyThreadState* __tstate = wxPyBeginAllowThreads();
33211 result = (bool)(arg1)->Add(arg2);
33212
33213 wxPyEndAllowThreads(__tstate);
33214 if (PyErr_Occurred()) SWIG_fail;
33215 }
33216 resultobj = PyInt_FromLong((long)result);
33217 return resultobj;
33218 fail:
33219 return NULL;
33220}
33221
33222
33223static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33224 PyObject *resultobj;
33225 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33226 wxSize result;
33227 PyObject * obj0 = 0 ;
33228 char *kwnames[] = {
33229 (char *) "self", NULL
33230 };
33231
33232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
33233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33234 {
33235 PyThreadState* __tstate = wxPyBeginAllowThreads();
33236 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
33237
33238 wxPyEndAllowThreads(__tstate);
33239 if (PyErr_Occurred()) SWIG_fail;
33240 }
33241 {
33242 wxSize * resultptr;
33243 resultptr = new wxSize((wxSize &) result);
33244 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33245 }
33246 return resultobj;
33247 fail:
33248 return NULL;
33249}
33250
33251
33252static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33253 PyObject *resultobj;
33254 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33255 wxSize *arg2 = 0 ;
33256 wxSize temp2 ;
33257 PyObject * obj0 = 0 ;
33258 PyObject * obj1 = 0 ;
33259 char *kwnames[] = {
33260 (char *) "self",(char *) "sz", NULL
33261 };
33262
33263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
33264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33265 {
33266 arg2 = &temp2;
33267 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33268 }
33269 {
33270 PyThreadState* __tstate = wxPyBeginAllowThreads();
33271 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
33272
33273 wxPyEndAllowThreads(__tstate);
33274 if (PyErr_Occurred()) SWIG_fail;
33275 }
33276 Py_INCREF(Py_None); resultobj = Py_None;
33277 return resultobj;
33278 fail:
33279 return NULL;
33280}
33281
33282
33283static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33284 PyObject *resultobj;
33285 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33286 wxWindow *arg2 = (wxWindow *) 0 ;
33287 wxGBPosition result;
33288 PyObject * obj0 = 0 ;
33289 PyObject * obj1 = 0 ;
33290
33291 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33294 {
33295 PyThreadState* __tstate = wxPyBeginAllowThreads();
33296 result = (arg1)->GetItemPosition(arg2);
33297
33298 wxPyEndAllowThreads(__tstate);
33299 if (PyErr_Occurred()) SWIG_fail;
33300 }
33301 {
33302 wxGBPosition * resultptr;
33303 resultptr = new wxGBPosition((wxGBPosition &) result);
33304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33305 }
33306 return resultobj;
33307 fail:
33308 return NULL;
33309}
33310
33311
33312static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33313 PyObject *resultobj;
33314 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33315 wxSizer *arg2 = (wxSizer *) 0 ;
33316 wxGBPosition result;
33317 PyObject * obj0 = 0 ;
33318 PyObject * obj1 = 0 ;
33319
33320 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33322 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33323 {
33324 PyThreadState* __tstate = wxPyBeginAllowThreads();
33325 result = (arg1)->GetItemPosition(arg2);
33326
33327 wxPyEndAllowThreads(__tstate);
33328 if (PyErr_Occurred()) SWIG_fail;
33329 }
33330 {
33331 wxGBPosition * resultptr;
33332 resultptr = new wxGBPosition((wxGBPosition &) result);
33333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33334 }
33335 return resultobj;
33336 fail:
33337 return NULL;
33338}
33339
33340
33341static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33342 PyObject *resultobj;
33343 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33344 size_t arg2 ;
33345 wxGBPosition result;
33346 PyObject * obj0 = 0 ;
33347 PyObject * obj1 = 0 ;
33348
33349 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33351 arg2 = (size_t) PyInt_AsLong(obj1);
33352 if (PyErr_Occurred()) SWIG_fail;
33353 {
33354 PyThreadState* __tstate = wxPyBeginAllowThreads();
33355 result = (arg1)->GetItemPosition(arg2);
33356
33357 wxPyEndAllowThreads(__tstate);
33358 if (PyErr_Occurred()) SWIG_fail;
33359 }
33360 {
33361 wxGBPosition * resultptr;
33362 resultptr = new wxGBPosition((wxGBPosition &) result);
33363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33364 }
33365 return resultobj;
33366 fail:
33367 return NULL;
33368}
33369
33370
33371static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
33372 int argc;
33373 PyObject *argv[3];
33374 int ii;
33375
33376 argc = PyObject_Length(args);
33377 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33378 argv[ii] = PyTuple_GetItem(args,ii);
33379 }
33380 if (argc == 2) {
33381 int _v;
33382 {
33383 void *ptr;
33384 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33385 _v = 0;
33386 PyErr_Clear();
33387 } else {
33388 _v = 1;
33389 }
33390 }
33391 if (_v) {
33392 {
33393 void *ptr;
33394 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33395 _v = 0;
33396 PyErr_Clear();
33397 } else {
33398 _v = 1;
33399 }
33400 }
33401 if (_v) {
33402 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
33403 }
33404 }
33405 }
33406 if (argc == 2) {
33407 int _v;
33408 {
33409 void *ptr;
33410 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33411 _v = 0;
33412 PyErr_Clear();
33413 } else {
33414 _v = 1;
33415 }
33416 }
33417 if (_v) {
33418 {
33419 void *ptr;
33420 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33421 _v = 0;
33422 PyErr_Clear();
33423 } else {
33424 _v = 1;
33425 }
33426 }
33427 if (_v) {
33428 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
33429 }
33430 }
33431 }
33432 if (argc == 2) {
33433 int _v;
33434 {
33435 void *ptr;
33436 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33437 _v = 0;
33438 PyErr_Clear();
33439 } else {
33440 _v = 1;
33441 }
33442 }
33443 if (_v) {
33444 {
33445 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33446 }
33447 if (_v) {
33448 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33449 }
33450 }
33451 }
33452
33453 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33454 return NULL;
33455}
33456
33457
33458static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33459 PyObject *resultobj;
33460 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33461 wxWindow *arg2 = (wxWindow *) 0 ;
33462 wxGBPosition *arg3 = 0 ;
33463 bool result;
33464 wxGBPosition temp3 ;
33465 PyObject * obj0 = 0 ;
33466 PyObject * obj1 = 0 ;
33467 PyObject * obj2 = 0 ;
33468
33469 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33472 {
33473 arg3 = &temp3;
33474 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33475 }
33476 {
33477 PyThreadState* __tstate = wxPyBeginAllowThreads();
33478 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33479
33480 wxPyEndAllowThreads(__tstate);
33481 if (PyErr_Occurred()) SWIG_fail;
33482 }
33483 resultobj = PyInt_FromLong((long)result);
33484 return resultobj;
33485 fail:
33486 return NULL;
33487}
33488
33489
33490static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33491 PyObject *resultobj;
33492 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33493 wxSizer *arg2 = (wxSizer *) 0 ;
33494 wxGBPosition *arg3 = 0 ;
33495 bool result;
33496 wxGBPosition temp3 ;
33497 PyObject * obj0 = 0 ;
33498 PyObject * obj1 = 0 ;
33499 PyObject * obj2 = 0 ;
33500
33501 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33504 {
33505 arg3 = &temp3;
33506 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33507 }
33508 {
33509 PyThreadState* __tstate = wxPyBeginAllowThreads();
33510 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33511
33512 wxPyEndAllowThreads(__tstate);
33513 if (PyErr_Occurred()) SWIG_fail;
33514 }
33515 resultobj = PyInt_FromLong((long)result);
33516 return resultobj;
33517 fail:
33518 return NULL;
33519}
33520
33521
33522static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33523 PyObject *resultobj;
33524 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33525 size_t arg2 ;
33526 wxGBPosition *arg3 = 0 ;
33527 bool result;
33528 wxGBPosition temp3 ;
33529 PyObject * obj0 = 0 ;
33530 PyObject * obj1 = 0 ;
33531 PyObject * obj2 = 0 ;
33532
33533 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33535 arg2 = (size_t) PyInt_AsLong(obj1);
33536 if (PyErr_Occurred()) SWIG_fail;
33537 {
33538 arg3 = &temp3;
33539 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33540 }
33541 {
33542 PyThreadState* __tstate = wxPyBeginAllowThreads();
33543 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33544
33545 wxPyEndAllowThreads(__tstate);
33546 if (PyErr_Occurred()) SWIG_fail;
33547 }
33548 resultobj = PyInt_FromLong((long)result);
33549 return resultobj;
33550 fail:
33551 return NULL;
33552}
33553
33554
33555static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33556 int argc;
33557 PyObject *argv[4];
33558 int ii;
33559
33560 argc = PyObject_Length(args);
33561 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33562 argv[ii] = PyTuple_GetItem(args,ii);
33563 }
33564 if (argc == 3) {
33565 int _v;
33566 {
33567 void *ptr;
33568 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33569 _v = 0;
33570 PyErr_Clear();
33571 } else {
33572 _v = 1;
33573 }
33574 }
33575 if (_v) {
33576 {
33577 void *ptr;
33578 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33579 _v = 0;
33580 PyErr_Clear();
33581 } else {
33582 _v = 1;
33583 }
33584 }
33585 if (_v) {
33586 {
33587 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33588 }
33589 if (_v) {
33590 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33591 }
33592 }
33593 }
33594 }
33595 if (argc == 3) {
33596 int _v;
33597 {
33598 void *ptr;
33599 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33600 _v = 0;
33601 PyErr_Clear();
33602 } else {
33603 _v = 1;
33604 }
33605 }
33606 if (_v) {
33607 {
33608 void *ptr;
33609 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33610 _v = 0;
33611 PyErr_Clear();
33612 } else {
33613 _v = 1;
33614 }
33615 }
33616 if (_v) {
33617 {
33618 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33619 }
33620 if (_v) {
33621 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33622 }
33623 }
33624 }
33625 }
33626 if (argc == 3) {
33627 int _v;
33628 {
33629 void *ptr;
33630 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33631 _v = 0;
33632 PyErr_Clear();
33633 } else {
33634 _v = 1;
33635 }
33636 }
33637 if (_v) {
33638 {
33639 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33640 }
33641 if (_v) {
33642 {
33643 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33644 }
33645 if (_v) {
33646 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33647 }
33648 }
33649 }
33650 }
33651
33652 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33653 return NULL;
33654}
33655
33656
33657static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33658 PyObject *resultobj;
33659 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33660 wxWindow *arg2 = (wxWindow *) 0 ;
33661 wxGBSpan result;
33662 PyObject * obj0 = 0 ;
33663 PyObject * obj1 = 0 ;
33664
33665 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33668 {
33669 PyThreadState* __tstate = wxPyBeginAllowThreads();
33670 result = (arg1)->GetItemSpan(arg2);
33671
33672 wxPyEndAllowThreads(__tstate);
33673 if (PyErr_Occurred()) SWIG_fail;
33674 }
33675 {
33676 wxGBSpan * resultptr;
33677 resultptr = new wxGBSpan((wxGBSpan &) result);
33678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33679 }
33680 return resultobj;
33681 fail:
33682 return NULL;
33683}
33684
33685
33686static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33687 PyObject *resultobj;
33688 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33689 wxSizer *arg2 = (wxSizer *) 0 ;
33690 wxGBSpan result;
33691 PyObject * obj0 = 0 ;
33692 PyObject * obj1 = 0 ;
33693
33694 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33697 {
33698 PyThreadState* __tstate = wxPyBeginAllowThreads();
33699 result = (arg1)->GetItemSpan(arg2);
33700
33701 wxPyEndAllowThreads(__tstate);
33702 if (PyErr_Occurred()) SWIG_fail;
33703 }
33704 {
33705 wxGBSpan * resultptr;
33706 resultptr = new wxGBSpan((wxGBSpan &) result);
33707 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33708 }
33709 return resultobj;
33710 fail:
33711 return NULL;
33712}
33713
33714
33715static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33716 PyObject *resultobj;
33717 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33718 size_t arg2 ;
33719 wxGBSpan result;
33720 PyObject * obj0 = 0 ;
33721 PyObject * obj1 = 0 ;
33722
33723 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33725 arg2 = (size_t) PyInt_AsLong(obj1);
33726 if (PyErr_Occurred()) SWIG_fail;
33727 {
33728 PyThreadState* __tstate = wxPyBeginAllowThreads();
33729 result = (arg1)->GetItemSpan(arg2);
33730
33731 wxPyEndAllowThreads(__tstate);
33732 if (PyErr_Occurred()) SWIG_fail;
33733 }
33734 {
33735 wxGBSpan * resultptr;
33736 resultptr = new wxGBSpan((wxGBSpan &) result);
33737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33738 }
33739 return resultobj;
33740 fail:
33741 return NULL;
33742}
33743
33744
33745static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33746 int argc;
33747 PyObject *argv[3];
33748 int ii;
33749
33750 argc = PyObject_Length(args);
33751 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33752 argv[ii] = PyTuple_GetItem(args,ii);
33753 }
33754 if (argc == 2) {
33755 int _v;
33756 {
33757 void *ptr;
33758 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33759 _v = 0;
33760 PyErr_Clear();
33761 } else {
33762 _v = 1;
33763 }
33764 }
33765 if (_v) {
33766 {
33767 void *ptr;
33768 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33769 _v = 0;
33770 PyErr_Clear();
33771 } else {
33772 _v = 1;
33773 }
33774 }
33775 if (_v) {
33776 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33777 }
33778 }
33779 }
33780 if (argc == 2) {
33781 int _v;
33782 {
33783 void *ptr;
33784 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33785 _v = 0;
33786 PyErr_Clear();
33787 } else {
33788 _v = 1;
33789 }
33790 }
33791 if (_v) {
33792 {
33793 void *ptr;
33794 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33795 _v = 0;
33796 PyErr_Clear();
33797 } else {
33798 _v = 1;
33799 }
33800 }
33801 if (_v) {
33802 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33803 }
33804 }
33805 }
33806 if (argc == 2) {
33807 int _v;
33808 {
33809 void *ptr;
33810 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33811 _v = 0;
33812 PyErr_Clear();
33813 } else {
33814 _v = 1;
33815 }
33816 }
33817 if (_v) {
33818 {
33819 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33820 }
33821 if (_v) {
33822 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33823 }
33824 }
33825 }
33826
33827 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33828 return NULL;
33829}
33830
33831
33832static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33833 PyObject *resultobj;
33834 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33835 wxWindow *arg2 = (wxWindow *) 0 ;
33836 wxGBSpan *arg3 = 0 ;
33837 bool result;
33838 wxGBSpan temp3 ;
33839 PyObject * obj0 = 0 ;
33840 PyObject * obj1 = 0 ;
33841 PyObject * obj2 = 0 ;
33842
33843 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33846 {
33847 arg3 = &temp3;
33848 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33849 }
33850 {
33851 PyThreadState* __tstate = wxPyBeginAllowThreads();
33852 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33853
33854 wxPyEndAllowThreads(__tstate);
33855 if (PyErr_Occurred()) SWIG_fail;
33856 }
33857 resultobj = PyInt_FromLong((long)result);
33858 return resultobj;
33859 fail:
33860 return NULL;
33861}
33862
33863
33864static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33865 PyObject *resultobj;
33866 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33867 wxSizer *arg2 = (wxSizer *) 0 ;
33868 wxGBSpan *arg3 = 0 ;
33869 bool result;
33870 wxGBSpan temp3 ;
33871 PyObject * obj0 = 0 ;
33872 PyObject * obj1 = 0 ;
33873 PyObject * obj2 = 0 ;
33874
33875 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33878 {
33879 arg3 = &temp3;
33880 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33881 }
33882 {
33883 PyThreadState* __tstate = wxPyBeginAllowThreads();
33884 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33885
33886 wxPyEndAllowThreads(__tstate);
33887 if (PyErr_Occurred()) SWIG_fail;
33888 }
33889 resultobj = PyInt_FromLong((long)result);
33890 return resultobj;
33891 fail:
33892 return NULL;
33893}
33894
33895
33896static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33897 PyObject *resultobj;
33898 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33899 size_t arg2 ;
33900 wxGBSpan *arg3 = 0 ;
33901 bool result;
33902 wxGBSpan temp3 ;
33903 PyObject * obj0 = 0 ;
33904 PyObject * obj1 = 0 ;
33905 PyObject * obj2 = 0 ;
33906
33907 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33909 arg2 = (size_t) PyInt_AsLong(obj1);
33910 if (PyErr_Occurred()) SWIG_fail;
33911 {
33912 arg3 = &temp3;
33913 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33914 }
33915 {
33916 PyThreadState* __tstate = wxPyBeginAllowThreads();
33917 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33918
33919 wxPyEndAllowThreads(__tstate);
33920 if (PyErr_Occurred()) SWIG_fail;
33921 }
33922 resultobj = PyInt_FromLong((long)result);
33923 return resultobj;
33924 fail:
33925 return NULL;
33926}
33927
33928
33929static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33930 int argc;
33931 PyObject *argv[4];
33932 int ii;
33933
33934 argc = PyObject_Length(args);
33935 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33936 argv[ii] = PyTuple_GetItem(args,ii);
33937 }
33938 if (argc == 3) {
33939 int _v;
33940 {
33941 void *ptr;
33942 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33943 _v = 0;
33944 PyErr_Clear();
33945 } else {
33946 _v = 1;
33947 }
33948 }
33949 if (_v) {
33950 {
33951 void *ptr;
33952 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33953 _v = 0;
33954 PyErr_Clear();
33955 } else {
33956 _v = 1;
33957 }
33958 }
33959 if (_v) {
33960 {
33961 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33962 }
33963 if (_v) {
33964 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33965 }
33966 }
33967 }
33968 }
33969 if (argc == 3) {
33970 int _v;
33971 {
33972 void *ptr;
33973 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33974 _v = 0;
33975 PyErr_Clear();
33976 } else {
33977 _v = 1;
33978 }
33979 }
33980 if (_v) {
33981 {
33982 void *ptr;
33983 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33984 _v = 0;
33985 PyErr_Clear();
33986 } else {
33987 _v = 1;
33988 }
33989 }
33990 if (_v) {
33991 {
33992 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33993 }
33994 if (_v) {
33995 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
33996 }
33997 }
33998 }
33999 }
34000 if (argc == 3) {
34001 int _v;
34002 {
34003 void *ptr;
34004 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34005 _v = 0;
34006 PyErr_Clear();
34007 } else {
34008 _v = 1;
34009 }
34010 }
34011 if (_v) {
34012 {
34013 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
34014 }
34015 if (_v) {
34016 {
34017 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34018 }
34019 if (_v) {
34020 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
34021 }
34022 }
34023 }
34024 }
34025
34026 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34027 return NULL;
34028}
34029
34030
34031static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
34032 PyObject *resultobj;
34033 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34034 wxWindow *arg2 = (wxWindow *) 0 ;
34035 wxGBSizerItem *result;
34036 PyObject * obj0 = 0 ;
34037 PyObject * obj1 = 0 ;
34038
34039 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34042 {
34043 PyThreadState* __tstate = wxPyBeginAllowThreads();
34044 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34045
34046 wxPyEndAllowThreads(__tstate);
34047 if (PyErr_Occurred()) SWIG_fail;
34048 }
34049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34050 return resultobj;
34051 fail:
34052 return NULL;
34053}
34054
34055
34056static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
34057 PyObject *resultobj;
34058 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34059 wxSizer *arg2 = (wxSizer *) 0 ;
34060 wxGBSizerItem *result;
34061 PyObject * obj0 = 0 ;
34062 PyObject * obj1 = 0 ;
34063
34064 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34067 {
34068 PyThreadState* __tstate = wxPyBeginAllowThreads();
34069 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34070
34071 wxPyEndAllowThreads(__tstate);
34072 if (PyErr_Occurred()) SWIG_fail;
34073 }
34074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34075 return resultobj;
34076 fail:
34077 return NULL;
34078}
34079
34080
34081static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
34082 int argc;
34083 PyObject *argv[3];
34084 int ii;
34085
34086 argc = PyObject_Length(args);
34087 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
34088 argv[ii] = PyTuple_GetItem(args,ii);
34089 }
34090 if (argc == 2) {
34091 int _v;
34092 {
34093 void *ptr;
34094 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34095 _v = 0;
34096 PyErr_Clear();
34097 } else {
34098 _v = 1;
34099 }
34100 }
34101 if (_v) {
34102 {
34103 void *ptr;
34104 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34105 _v = 0;
34106 PyErr_Clear();
34107 } else {
34108 _v = 1;
34109 }
34110 }
34111 if (_v) {
34112 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
34113 }
34114 }
34115 }
34116 if (argc == 2) {
34117 int _v;
34118 {
34119 void *ptr;
34120 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34121 _v = 0;
34122 PyErr_Clear();
34123 } else {
34124 _v = 1;
34125 }
34126 }
34127 if (_v) {
34128 {
34129 void *ptr;
34130 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34131 _v = 0;
34132 PyErr_Clear();
34133 } else {
34134 _v = 1;
34135 }
34136 }
34137 if (_v) {
34138 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
34139 }
34140 }
34141 }
34142
34143 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
34144 return NULL;
34145}
34146
34147
34148static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34149 PyObject *resultobj;
34150 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34151 wxGBPosition *arg2 = 0 ;
34152 wxGBSizerItem *result;
34153 wxGBPosition temp2 ;
34154 PyObject * obj0 = 0 ;
34155 PyObject * obj1 = 0 ;
34156 char *kwnames[] = {
34157 (char *) "self",(char *) "pos", NULL
34158 };
34159
34160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
34161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34162 {
34163 arg2 = &temp2;
34164 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34165 }
34166 {
34167 PyThreadState* __tstate = wxPyBeginAllowThreads();
34168 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
34169
34170 wxPyEndAllowThreads(__tstate);
34171 if (PyErr_Occurred()) SWIG_fail;
34172 }
34173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34174 return resultobj;
34175 fail:
34176 return NULL;
34177}
34178
34179
423f194a
RD
34180static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
34181 PyObject *resultobj;
34182 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34183 wxPoint *arg2 = 0 ;
34184 wxGBSizerItem *result;
34185 wxPoint temp2 ;
34186 PyObject * obj0 = 0 ;
34187 PyObject * obj1 = 0 ;
34188 char *kwnames[] = {
34189 (char *) "self",(char *) "pt", NULL
34190 };
34191
34192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
34193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34194 {
34195 arg2 = &temp2;
34196 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34197 }
34198 {
34199 PyThreadState* __tstate = wxPyBeginAllowThreads();
34200 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
34201
34202 wxPyEndAllowThreads(__tstate);
34203 if (PyErr_Occurred()) SWIG_fail;
34204 }
34205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34206 return resultobj;
34207 fail:
34208 return NULL;
34209}
34210
34211
d14a1e28
RD
34212static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
34213 PyObject *resultobj;
34214 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34215 wxObject *arg2 = (wxObject *) 0 ;
34216 wxGBSizerItem *result;
34217 PyObject * obj0 = 0 ;
34218 PyObject * obj1 = 0 ;
34219 char *kwnames[] = {
34220 (char *) "self",(char *) "userData", NULL
34221 };
34222
34223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
34224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34226 {
34227 PyThreadState* __tstate = wxPyBeginAllowThreads();
34228 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
34229
34230 wxPyEndAllowThreads(__tstate);
34231 if (PyErr_Occurred()) SWIG_fail;
34232 }
34233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34234 return resultobj;
34235 fail:
34236 return NULL;
34237}
34238
34239
34240static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34241 PyObject *resultobj;
34242 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34243 PyObject * obj0 = 0 ;
34244 char *kwnames[] = {
34245 (char *) "self", NULL
34246 };
34247
34248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34250 {
34251 PyThreadState* __tstate = wxPyBeginAllowThreads();
34252 (arg1)->RecalcSizes();
34253
34254 wxPyEndAllowThreads(__tstate);
34255 if (PyErr_Occurred()) SWIG_fail;
34256 }
34257 Py_INCREF(Py_None); resultobj = Py_None;
34258 return resultobj;
34259 fail:
34260 return NULL;
34261}
34262
34263
34264static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34265 PyObject *resultobj;
34266 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34267 wxSize result;
34268 PyObject * obj0 = 0 ;
34269 char *kwnames[] = {
34270 (char *) "self", NULL
34271 };
34272
34273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
34274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34275 {
34276 PyThreadState* __tstate = wxPyBeginAllowThreads();
34277 result = (arg1)->CalcMin();
34278
34279 wxPyEndAllowThreads(__tstate);
34280 if (PyErr_Occurred()) SWIG_fail;
34281 }
34282 {
34283 wxSize * resultptr;
34284 resultptr = new wxSize((wxSize &) result);
34285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34286 }
34287 return resultobj;
34288 fail:
34289 return NULL;
34290}
34291
34292
34293static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
34294 PyObject *resultobj;
34295 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34296 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
34297 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
34298 bool result;
34299 PyObject * obj0 = 0 ;
34300 PyObject * obj1 = 0 ;
34301 PyObject * obj2 = 0 ;
34302
34303 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
34304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34306 if (obj2) {
34307 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34308 }
34309 {
34310 PyThreadState* __tstate = wxPyBeginAllowThreads();
34311 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
34312
34313 wxPyEndAllowThreads(__tstate);
34314 if (PyErr_Occurred()) SWIG_fail;
34315 }
34316 resultobj = PyInt_FromLong((long)result);
34317 return resultobj;
34318 fail:
34319 return NULL;
34320}
34321
34322
34323static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
34324 PyObject *resultobj;
34325 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34326 wxGBPosition *arg2 = 0 ;
34327 wxGBSpan *arg3 = 0 ;
34328 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
34329 bool result;
34330 wxGBPosition temp2 ;
34331 wxGBSpan temp3 ;
34332 PyObject * obj0 = 0 ;
34333 PyObject * obj1 = 0 ;
34334 PyObject * obj2 = 0 ;
34335 PyObject * obj3 = 0 ;
34336
34337 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
34338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34339 {
34340 arg2 = &temp2;
34341 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34342 }
34343 {
34344 arg3 = &temp3;
34345 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34346 }
34347 if (obj3) {
34348 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34349 }
34350 {
34351 PyThreadState* __tstate = wxPyBeginAllowThreads();
34352 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
34353
34354 wxPyEndAllowThreads(__tstate);
34355 if (PyErr_Occurred()) SWIG_fail;
34356 }
34357 resultobj = PyInt_FromLong((long)result);
34358 return resultobj;
34359 fail:
34360 return NULL;
34361}
34362
34363
34364static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
34365 int argc;
34366 PyObject *argv[5];
34367 int ii;
34368
34369 argc = PyObject_Length(args);
34370 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
34371 argv[ii] = PyTuple_GetItem(args,ii);
34372 }
34373 if ((argc >= 2) && (argc <= 3)) {
34374 int _v;
34375 {
34376 void *ptr;
34377 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34378 _v = 0;
34379 PyErr_Clear();
34380 } else {
34381 _v = 1;
34382 }
34383 }
34384 if (_v) {
34385 {
34386 void *ptr;
34387 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34388 _v = 0;
34389 PyErr_Clear();
34390 } else {
34391 _v = 1;
34392 }
34393 }
34394 if (_v) {
34395 if (argc <= 2) {
34396 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34397 }
34398 {
34399 void *ptr;
34400 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34401 _v = 0;
34402 PyErr_Clear();
34403 } else {
34404 _v = 1;
34405 }
34406 }
34407 if (_v) {
34408 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34409 }
34410 }
34411 }
34412 }
34413 if ((argc >= 3) && (argc <= 4)) {
34414 int _v;
34415 {
34416 void *ptr;
34417 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34418 _v = 0;
34419 PyErr_Clear();
34420 } else {
34421 _v = 1;
34422 }
34423 }
34424 if (_v) {
34425 {
34426 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
34427 }
34428 if (_v) {
34429 {
34430 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34431 }
34432 if (_v) {
34433 if (argc <= 3) {
34434 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34435 }
34436 {
34437 void *ptr;
34438 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34439 _v = 0;
34440 PyErr_Clear();
34441 } else {
34442 _v = 1;
34443 }
34444 }
34445 if (_v) {
34446 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34447 }
34448 }
34449 }
34450 }
34451 }
34452
34453 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34454 return NULL;
34455}
34456
34457
34458static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34459 PyObject *obj;
34460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34461 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34462 Py_INCREF(obj);
34463 return Py_BuildValue((char *)"");
34464}
34465static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34466 PyObject *resultobj;
34467 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34468 int arg2 ;
34469 wxWindow *arg3 = (wxWindow *) 0 ;
34470 int arg4 ;
34471 int arg5 = (int) 0 ;
34472 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34473 PyObject * obj0 = 0 ;
34474 PyObject * obj2 = 0 ;
34475 char *kwnames[] = {
34476 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34477 };
34478
34479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34481 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34482 {
34483 PyThreadState* __tstate = wxPyBeginAllowThreads();
34484 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34485
34486 wxPyEndAllowThreads(__tstate);
34487 if (PyErr_Occurred()) SWIG_fail;
34488 }
34489 Py_INCREF(Py_None); resultobj = Py_None;
34490 return resultobj;
34491 fail:
34492 return NULL;
34493}
34494
34495
34496static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34497 PyObject *resultobj;
34498 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34499 wxWindow *arg2 = (wxWindow *) 0 ;
34500 int arg3 = (int) 0 ;
34501 PyObject * obj0 = 0 ;
34502 PyObject * obj1 = 0 ;
34503 char *kwnames[] = {
34504 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34505 };
34506
34507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34510 {
34511 PyThreadState* __tstate = wxPyBeginAllowThreads();
34512 (arg1)->LeftOf(arg2,arg3);
34513
34514 wxPyEndAllowThreads(__tstate);
34515 if (PyErr_Occurred()) SWIG_fail;
34516 }
34517 Py_INCREF(Py_None); resultobj = Py_None;
34518 return resultobj;
34519 fail:
34520 return NULL;
34521}
34522
34523
34524static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34525 PyObject *resultobj;
34526 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34527 wxWindow *arg2 = (wxWindow *) 0 ;
34528 int arg3 = (int) 0 ;
34529 PyObject * obj0 = 0 ;
34530 PyObject * obj1 = 0 ;
34531 char *kwnames[] = {
34532 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34533 };
34534
34535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34538 {
34539 PyThreadState* __tstate = wxPyBeginAllowThreads();
34540 (arg1)->RightOf(arg2,arg3);
34541
34542 wxPyEndAllowThreads(__tstate);
34543 if (PyErr_Occurred()) SWIG_fail;
34544 }
34545 Py_INCREF(Py_None); resultobj = Py_None;
34546 return resultobj;
34547 fail:
34548 return NULL;
34549}
34550
34551
34552static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34553 PyObject *resultobj;
34554 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34555 wxWindow *arg2 = (wxWindow *) 0 ;
34556 int arg3 = (int) 0 ;
34557 PyObject * obj0 = 0 ;
34558 PyObject * obj1 = 0 ;
34559 char *kwnames[] = {
34560 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34561 };
34562
34563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34566 {
34567 PyThreadState* __tstate = wxPyBeginAllowThreads();
34568 (arg1)->Above(arg2,arg3);
34569
34570 wxPyEndAllowThreads(__tstate);
34571 if (PyErr_Occurred()) SWIG_fail;
34572 }
34573 Py_INCREF(Py_None); resultobj = Py_None;
34574 return resultobj;
34575 fail:
34576 return NULL;
34577}
34578
34579
34580static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34581 PyObject *resultobj;
34582 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34583 wxWindow *arg2 = (wxWindow *) 0 ;
34584 int arg3 = (int) 0 ;
34585 PyObject * obj0 = 0 ;
34586 PyObject * obj1 = 0 ;
34587 char *kwnames[] = {
34588 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34589 };
34590
34591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34594 {
34595 PyThreadState* __tstate = wxPyBeginAllowThreads();
34596 (arg1)->Below(arg2,arg3);
34597
34598 wxPyEndAllowThreads(__tstate);
34599 if (PyErr_Occurred()) SWIG_fail;
34600 }
34601 Py_INCREF(Py_None); resultobj = Py_None;
34602 return resultobj;
34603 fail:
34604 return NULL;
34605}
34606
34607
34608static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34609 PyObject *resultobj;
34610 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34611 wxWindow *arg2 = (wxWindow *) 0 ;
34612 int arg3 ;
34613 int arg4 = (int) 0 ;
34614 PyObject * obj0 = 0 ;
34615 PyObject * obj1 = 0 ;
34616 char *kwnames[] = {
34617 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34618 };
34619
34620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34626
34627 wxPyEndAllowThreads(__tstate);
34628 if (PyErr_Occurred()) SWIG_fail;
34629 }
34630 Py_INCREF(Py_None); resultobj = Py_None;
34631 return resultobj;
34632 fail:
34633 return NULL;
34634}
34635
34636
34637static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34638 PyObject *resultobj;
34639 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34640 wxWindow *arg2 = (wxWindow *) 0 ;
34641 int arg3 ;
34642 int arg4 ;
34643 PyObject * obj0 = 0 ;
34644 PyObject * obj1 = 0 ;
34645 char *kwnames[] = {
34646 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34647 };
34648
34649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34652 {
34653 PyThreadState* __tstate = wxPyBeginAllowThreads();
34654 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 Py_INCREF(Py_None); resultobj = Py_None;
34660 return resultobj;
34661 fail:
34662 return NULL;
34663}
34664
34665
34666static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34667 PyObject *resultobj;
34668 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34669 int arg2 ;
34670 PyObject * obj0 = 0 ;
34671 char *kwnames[] = {
34672 (char *) "self",(char *) "val", NULL
34673 };
34674
34675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34677 {
34678 PyThreadState* __tstate = wxPyBeginAllowThreads();
34679 (arg1)->Absolute(arg2);
34680
34681 wxPyEndAllowThreads(__tstate);
34682 if (PyErr_Occurred()) SWIG_fail;
34683 }
34684 Py_INCREF(Py_None); resultobj = Py_None;
34685 return resultobj;
34686 fail:
34687 return NULL;
34688}
34689
34690
34691static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34692 PyObject *resultobj;
34693 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34694 PyObject * obj0 = 0 ;
34695 char *kwnames[] = {
34696 (char *) "self", NULL
34697 };
34698
34699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34701 {
34702 PyThreadState* __tstate = wxPyBeginAllowThreads();
34703 (arg1)->Unconstrained();
34704
34705 wxPyEndAllowThreads(__tstate);
34706 if (PyErr_Occurred()) SWIG_fail;
34707 }
34708 Py_INCREF(Py_None); resultobj = Py_None;
34709 return resultobj;
34710 fail:
34711 return NULL;
34712}
34713
34714
34715static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34716 PyObject *resultobj;
34717 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34718 PyObject * obj0 = 0 ;
34719 char *kwnames[] = {
34720 (char *) "self", NULL
34721 };
34722
34723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34725 {
34726 PyThreadState* __tstate = wxPyBeginAllowThreads();
34727 (arg1)->AsIs();
34728
34729 wxPyEndAllowThreads(__tstate);
34730 if (PyErr_Occurred()) SWIG_fail;
34731 }
34732 Py_INCREF(Py_None); resultobj = Py_None;
34733 return resultobj;
34734 fail:
34735 return NULL;
34736}
34737
34738
34739static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34740 PyObject *resultobj;
34741 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34742 wxWindow *result;
34743 PyObject * obj0 = 0 ;
34744 char *kwnames[] = {
34745 (char *) "self", NULL
34746 };
34747
34748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34750 {
34751 PyThreadState* __tstate = wxPyBeginAllowThreads();
34752 result = (wxWindow *)(arg1)->GetOtherWindow();
34753
34754 wxPyEndAllowThreads(__tstate);
34755 if (PyErr_Occurred()) SWIG_fail;
34756 }
34757 {
34758 resultobj = wxPyMake_wxObject(result);
34759 }
34760 return resultobj;
34761 fail:
34762 return NULL;
34763}
34764
34765
34766static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34767 PyObject *resultobj;
34768 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34769 int result;
34770 PyObject * obj0 = 0 ;
34771 char *kwnames[] = {
34772 (char *) "self", NULL
34773 };
34774
34775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34777 {
34778 PyThreadState* __tstate = wxPyBeginAllowThreads();
34779 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34780
34781 wxPyEndAllowThreads(__tstate);
34782 if (PyErr_Occurred()) SWIG_fail;
34783 }
34784 resultobj = PyInt_FromLong((long)result);
34785 return resultobj;
34786 fail:
34787 return NULL;
34788}
34789
34790
34791static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34792 PyObject *resultobj;
34793 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34794 int arg2 ;
34795 PyObject * obj0 = 0 ;
34796 char *kwnames[] = {
34797 (char *) "self",(char *) "which", NULL
34798 };
34799
34800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34802 {
34803 PyThreadState* __tstate = wxPyBeginAllowThreads();
34804 (arg1)->SetEdge((wxEdge )arg2);
34805
34806 wxPyEndAllowThreads(__tstate);
34807 if (PyErr_Occurred()) SWIG_fail;
34808 }
34809 Py_INCREF(Py_None); resultobj = Py_None;
34810 return resultobj;
34811 fail:
34812 return NULL;
34813}
34814
34815
34816static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34817 PyObject *resultobj;
34818 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34819 int arg2 ;
34820 PyObject * obj0 = 0 ;
34821 char *kwnames[] = {
34822 (char *) "self",(char *) "v", NULL
34823 };
34824
34825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34827 {
34828 PyThreadState* __tstate = wxPyBeginAllowThreads();
34829 (arg1)->SetValue(arg2);
34830
34831 wxPyEndAllowThreads(__tstate);
34832 if (PyErr_Occurred()) SWIG_fail;
34833 }
34834 Py_INCREF(Py_None); resultobj = Py_None;
34835 return resultobj;
34836 fail:
34837 return NULL;
34838}
34839
34840
34841static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34842 PyObject *resultobj;
34843 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34844 int result;
34845 PyObject * obj0 = 0 ;
34846 char *kwnames[] = {
34847 (char *) "self", NULL
34848 };
34849
34850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34852 {
34853 PyThreadState* __tstate = wxPyBeginAllowThreads();
34854 result = (int)(arg1)->GetMargin();
34855
34856 wxPyEndAllowThreads(__tstate);
34857 if (PyErr_Occurred()) SWIG_fail;
34858 }
34859 resultobj = PyInt_FromLong((long)result);
34860 return resultobj;
34861 fail:
34862 return NULL;
34863}
34864
34865
34866static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34867 PyObject *resultobj;
34868 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34869 int arg2 ;
34870 PyObject * obj0 = 0 ;
34871 char *kwnames[] = {
34872 (char *) "self",(char *) "m", NULL
34873 };
34874
34875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34877 {
34878 PyThreadState* __tstate = wxPyBeginAllowThreads();
34879 (arg1)->SetMargin(arg2);
34880
34881 wxPyEndAllowThreads(__tstate);
34882 if (PyErr_Occurred()) SWIG_fail;
34883 }
34884 Py_INCREF(Py_None); resultobj = Py_None;
34885 return resultobj;
34886 fail:
34887 return NULL;
34888}
34889
34890
34891static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34892 PyObject *resultobj;
34893 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34894 int result;
34895 PyObject * obj0 = 0 ;
34896 char *kwnames[] = {
34897 (char *) "self", NULL
34898 };
34899
34900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34902 {
34903 PyThreadState* __tstate = wxPyBeginAllowThreads();
34904 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34905
34906 wxPyEndAllowThreads(__tstate);
34907 if (PyErr_Occurred()) SWIG_fail;
34908 }
34909 resultobj = PyInt_FromLong((long)result);
34910 return resultobj;
34911 fail:
34912 return NULL;
34913}
34914
34915
34916static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34917 PyObject *resultobj;
34918 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34919 int result;
34920 PyObject * obj0 = 0 ;
34921 char *kwnames[] = {
34922 (char *) "self", NULL
34923 };
34924
34925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34927 {
34928 PyThreadState* __tstate = wxPyBeginAllowThreads();
34929 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34930
34931 wxPyEndAllowThreads(__tstate);
34932 if (PyErr_Occurred()) SWIG_fail;
34933 }
34934 resultobj = PyInt_FromLong((long)result);
34935 return resultobj;
34936 fail:
34937 return NULL;
34938}
34939
34940
34941static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34942 PyObject *resultobj;
34943 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34944 int result;
34945 PyObject * obj0 = 0 ;
34946 char *kwnames[] = {
34947 (char *) "self", NULL
34948 };
34949
34950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34952 {
34953 PyThreadState* __tstate = wxPyBeginAllowThreads();
34954 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34955
34956 wxPyEndAllowThreads(__tstate);
34957 if (PyErr_Occurred()) SWIG_fail;
34958 }
34959 resultobj = PyInt_FromLong((long)result);
34960 return resultobj;
34961 fail:
34962 return NULL;
34963}
34964
34965
34966static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34967 PyObject *resultobj;
34968 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34969 bool result;
34970 PyObject * obj0 = 0 ;
34971 char *kwnames[] = {
34972 (char *) "self", NULL
34973 };
34974
34975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
34976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34977 {
34978 PyThreadState* __tstate = wxPyBeginAllowThreads();
34979 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
34980
34981 wxPyEndAllowThreads(__tstate);
34982 if (PyErr_Occurred()) SWIG_fail;
34983 }
34984 resultobj = PyInt_FromLong((long)result);
34985 return resultobj;
34986 fail:
34987 return NULL;
34988}
34989
34990
34991static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34992 PyObject *resultobj;
34993 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34994 bool arg2 ;
34995 PyObject * obj0 = 0 ;
34996 PyObject * obj1 = 0 ;
34997 char *kwnames[] = {
34998 (char *) "self",(char *) "d", NULL
34999 };
35000
35001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
35002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35003 arg2 = PyInt_AsLong(obj1) ? true : false;
35004 if (PyErr_Occurred()) SWIG_fail;
35005 {
35006 PyThreadState* __tstate = wxPyBeginAllowThreads();
35007 (arg1)->SetDone(arg2);
35008
35009 wxPyEndAllowThreads(__tstate);
35010 if (PyErr_Occurred()) SWIG_fail;
35011 }
35012 Py_INCREF(Py_None); resultobj = Py_None;
35013 return resultobj;
35014 fail:
35015 return NULL;
35016}
35017
35018
35019static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35020 PyObject *resultobj;
35021 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35022 int result;
35023 PyObject * obj0 = 0 ;
35024 char *kwnames[] = {
35025 (char *) "self", NULL
35026 };
35027
35028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
35029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35030 {
35031 PyThreadState* __tstate = wxPyBeginAllowThreads();
35032 result = (int)(arg1)->GetRelationship();
35033
35034 wxPyEndAllowThreads(__tstate);
35035 if (PyErr_Occurred()) SWIG_fail;
35036 }
35037 resultobj = PyInt_FromLong((long)result);
35038 return resultobj;
35039 fail:
35040 return NULL;
35041}
35042
35043
35044static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35045 PyObject *resultobj;
35046 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35047 int arg2 ;
35048 PyObject * obj0 = 0 ;
35049 char *kwnames[] = {
35050 (char *) "self",(char *) "r", NULL
35051 };
35052
35053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
35054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35055 {
35056 PyThreadState* __tstate = wxPyBeginAllowThreads();
35057 (arg1)->SetRelationship((wxRelationship )arg2);
35058
35059 wxPyEndAllowThreads(__tstate);
35060 if (PyErr_Occurred()) SWIG_fail;
35061 }
35062 Py_INCREF(Py_None); resultobj = Py_None;
35063 return resultobj;
35064 fail:
35065 return NULL;
35066}
35067
35068
35069static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
35070 PyObject *resultobj;
35071 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35072 wxWindow *arg2 = (wxWindow *) 0 ;
35073 bool result;
35074 PyObject * obj0 = 0 ;
35075 PyObject * obj1 = 0 ;
35076 char *kwnames[] = {
35077 (char *) "self",(char *) "otherW", NULL
35078 };
35079
35080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
35081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35083 {
35084 PyThreadState* __tstate = wxPyBeginAllowThreads();
35085 result = (bool)(arg1)->ResetIfWin(arg2);
35086
35087 wxPyEndAllowThreads(__tstate);
35088 if (PyErr_Occurred()) SWIG_fail;
35089 }
35090 resultobj = PyInt_FromLong((long)result);
35091 return resultobj;
35092 fail:
35093 return NULL;
35094}
35095
35096
35097static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
35098 PyObject *resultobj;
35099 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35100 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
35101 wxWindow *arg3 = (wxWindow *) 0 ;
35102 bool result;
35103 PyObject * obj0 = 0 ;
35104 PyObject * obj1 = 0 ;
35105 PyObject * obj2 = 0 ;
35106 char *kwnames[] = {
35107 (char *) "self",(char *) "constraints",(char *) "win", NULL
35108 };
35109
35110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
35111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35113 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35114 {
35115 PyThreadState* __tstate = wxPyBeginAllowThreads();
35116 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
35117
35118 wxPyEndAllowThreads(__tstate);
35119 if (PyErr_Occurred()) SWIG_fail;
35120 }
35121 resultobj = PyInt_FromLong((long)result);
35122 return resultobj;
35123 fail:
35124 return NULL;
35125}
35126
35127
35128static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35129 PyObject *resultobj;
35130 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35131 int arg2 ;
35132 wxWindow *arg3 = (wxWindow *) 0 ;
35133 wxWindow *arg4 = (wxWindow *) 0 ;
35134 int result;
35135 PyObject * obj0 = 0 ;
35136 PyObject * obj2 = 0 ;
35137 PyObject * obj3 = 0 ;
35138 char *kwnames[] = {
35139 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35140 };
35141
35142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
35143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35144 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35145 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35146 {
35147 PyThreadState* __tstate = wxPyBeginAllowThreads();
35148 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
35149
35150 wxPyEndAllowThreads(__tstate);
35151 if (PyErr_Occurred()) SWIG_fail;
35152 }
35153 resultobj = PyInt_FromLong((long)result);
35154 return resultobj;
35155 fail:
35156 return NULL;
35157}
35158
35159
35160static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
35161 PyObject *obj;
35162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35163 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
35164 Py_INCREF(obj);
35165 return Py_BuildValue((char *)"");
35166}
35167static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35168 PyObject *resultobj;
35169 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35170 wxIndividualLayoutConstraint *result;
35171 PyObject * obj0 = 0 ;
35172 char *kwnames[] = {
35173 (char *) "self", NULL
35174 };
35175
35176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
35177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35178 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
35179
35180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35181 return resultobj;
35182 fail:
35183 return NULL;
35184}
35185
35186
35187static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35188 PyObject *resultobj;
35189 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35190 wxIndividualLayoutConstraint *result;
35191 PyObject * obj0 = 0 ;
35192 char *kwnames[] = {
35193 (char *) "self", NULL
35194 };
35195
35196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
35197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35198 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
35199
35200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35201 return resultobj;
35202 fail:
35203 return NULL;
35204}
35205
35206
35207static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35208 PyObject *resultobj;
35209 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35210 wxIndividualLayoutConstraint *result;
35211 PyObject * obj0 = 0 ;
35212 char *kwnames[] = {
35213 (char *) "self", NULL
35214 };
35215
35216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
35217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35218 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
35219
35220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35221 return resultobj;
35222 fail:
35223 return NULL;
35224}
35225
35226
35227static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35228 PyObject *resultobj;
35229 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35230 wxIndividualLayoutConstraint *result;
35231 PyObject * obj0 = 0 ;
35232 char *kwnames[] = {
35233 (char *) "self", NULL
35234 };
35235
35236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
35237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35238 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
35239
35240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35241 return resultobj;
35242 fail:
35243 return NULL;
35244}
35245
35246
35247static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35248 PyObject *resultobj;
35249 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35250 wxIndividualLayoutConstraint *result;
35251 PyObject * obj0 = 0 ;
35252 char *kwnames[] = {
35253 (char *) "self", NULL
35254 };
35255
35256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
35257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35258 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
35259
35260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35261 return resultobj;
35262 fail:
35263 return NULL;
35264}
35265
35266
35267static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35268 PyObject *resultobj;
35269 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35270 wxIndividualLayoutConstraint *result;
35271 PyObject * obj0 = 0 ;
35272 char *kwnames[] = {
35273 (char *) "self", NULL
35274 };
35275
35276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
35277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35278 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
35279
35280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35281 return resultobj;
35282 fail:
35283 return NULL;
35284}
35285
35286
35287static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35288 PyObject *resultobj;
35289 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35290 wxIndividualLayoutConstraint *result;
35291 PyObject * obj0 = 0 ;
35292 char *kwnames[] = {
35293 (char *) "self", NULL
35294 };
35295
35296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
35297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35298 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
35299
35300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35301 return resultobj;
35302 fail:
35303 return NULL;
35304}
35305
35306
35307static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35308 PyObject *resultobj;
35309 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35310 wxIndividualLayoutConstraint *result;
35311 PyObject * obj0 = 0 ;
35312 char *kwnames[] = {
35313 (char *) "self", NULL
35314 };
35315
35316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
35317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35318 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
35319
35320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35321 return resultobj;
35322 fail:
35323 return NULL;
35324}
35325
35326
35327static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35328 PyObject *resultobj;
35329 wxLayoutConstraints *result;
35330 char *kwnames[] = {
35331 NULL
35332 };
35333
35334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
35335 {
35336 PyThreadState* __tstate = wxPyBeginAllowThreads();
35337 result = (wxLayoutConstraints *)new wxLayoutConstraints();
35338
35339 wxPyEndAllowThreads(__tstate);
35340 if (PyErr_Occurred()) SWIG_fail;
35341 }
35342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
35343 return resultobj;
35344 fail:
35345 return NULL;
35346}
35347
35348
35349static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35350 PyObject *resultobj;
35351 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35352 wxWindow *arg2 = (wxWindow *) 0 ;
35353 int *arg3 = (int *) 0 ;
35354 bool result;
35355 int temp3 ;
35356 PyObject * obj0 = 0 ;
35357 PyObject * obj1 = 0 ;
35358 char *kwnames[] = {
35359 (char *) "self",(char *) "win", NULL
35360 };
35361
35362 arg3 = &temp3;
35363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
35364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35366 {
35367 PyThreadState* __tstate = wxPyBeginAllowThreads();
35368 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
35369
35370 wxPyEndAllowThreads(__tstate);
35371 if (PyErr_Occurred()) SWIG_fail;
35372 }
35373 resultobj = PyInt_FromLong((long)result);
35374 {
35375 PyObject *o = PyInt_FromLong((long) (*arg3));
35376 resultobj = t_output_helper(resultobj,o);
35377 }
35378 return resultobj;
35379 fail:
35380 return NULL;
35381}
35382
35383
35384static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
35385 PyObject *resultobj;
35386 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35387 bool result;
35388 PyObject * obj0 = 0 ;
35389 char *kwnames[] = {
35390 (char *) "self", NULL
35391 };
35392
35393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
35394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35395 {
35396 PyThreadState* __tstate = wxPyBeginAllowThreads();
35397 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
35398
35399 wxPyEndAllowThreads(__tstate);
35400 if (PyErr_Occurred()) SWIG_fail;
35401 }
35402 resultobj = PyInt_FromLong((long)result);
35403 return resultobj;
35404 fail:
35405 return NULL;
35406}
35407
35408
35409static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
35410 PyObject *obj;
35411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35412 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
35413 Py_INCREF(obj);
35414 return Py_BuildValue((char *)"");
35415}
35416static PyMethodDef SwigMethods[] = {
35417 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
35418 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
35419 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
35420 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
35421 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
35422 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
35423 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
35424 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
35425 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
35426 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
35427 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
35428 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
35429 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
35430 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35431 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35432 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35433 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35434 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35435 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35436 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35437 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
423f194a 35438 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35439 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35440 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35441 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35442 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35443 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35444 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35445 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35446 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35447 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
35448 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35449 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 35450 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35451 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35452 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35453 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35455 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35457 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35460 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35462 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35463 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35464 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35466 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35467 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35468 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35469 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35470 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35472 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35473 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35474 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35475 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35476 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35477 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35478 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35479 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35480 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35481 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35482 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35483 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35485 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35487 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35489 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35490 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35491 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35492 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35493 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35494 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35496 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35497 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35498 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35500 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35502 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35503 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35505 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35506 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35507 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35513 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35514 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35515 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35519 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35522 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35526 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35528 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35529 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35530 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35533 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35536 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35540 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35541 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35542 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35543 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35544 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35545 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35550 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35555 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35556 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35560 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35561 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35563 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35566 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35571 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35572 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35573 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35574 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35577 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35584 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35591 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35595 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35600 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35601 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35606 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35608 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35614 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35616 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35626 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35630 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35636 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35640 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35646 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35656 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35664 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35693 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35700 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35703 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35705 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35707 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35709 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35711 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35713 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35715 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35717 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35719 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35721 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35723 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35737 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35755 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35758 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35761 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35773 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35778 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35784 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35788 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35790 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35802 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35808 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35814 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35852 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35859 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35894 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35904 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35914 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35916 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35918 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35921 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35925 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35928 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35931 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35933 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35938 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35946 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35950 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35953 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35955 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35959 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
35976 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
35978 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
35981 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
35983 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
35987 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
35991 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
35999 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
36002 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
36005 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
36009 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
36016 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36019 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
36021 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
36026 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36046 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 36055 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
44127b65 36056 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36057 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36059 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
36070 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
36098 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
36100 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
36102 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
36129 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
36130 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
36136 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
36139 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
36140 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
36148 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36149 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36150 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
36151 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
36154 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
36163 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
36166 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
36167 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36171 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36173 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
36177 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36179 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36180 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
36181 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
36182 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
36183 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
36184 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
36185 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
36186 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
36187 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
36188 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
36189 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
36190 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
36191 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
36192 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
36193 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
36194 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
36195 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
36196 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
36197 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
36198 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
36199 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
36200 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
36201 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
36202 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
36203 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
36204 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
36205 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36206 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36207 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36208 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36209 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
36210 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
36211 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
36212 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
36213 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
36214 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
36215 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
36216 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
36217 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
36218 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
36219 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
36220 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
36221 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
36222 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
36223 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
36224 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
36225 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
36226 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
36227 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
36228 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
36229 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
36230 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
36231 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS },
36232 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
36233 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
36234 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
36235 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
36236 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
36237 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
36238 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
36239 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
36240 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
36241 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
36242 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
36243 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
36244 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
36245 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
36246 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
36247 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
36248 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
36249 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
36250 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
36251 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
36252 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
36253 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
36254 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
36255 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
36256 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36257 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36258 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
36259 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
36260 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
36261 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
36262 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36263 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36264 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
36265 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36266 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36267 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
36268 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
36269 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
36270 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
36271 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
36272 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
36273 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
36274 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
36275 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
36276 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
36277 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
36278 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
36279 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
36280 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36281 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
36282 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
36283 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
36284 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
36285 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
36286 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
36287 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
36288 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
36289 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
36290 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
36291 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
36292 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
36293 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
36294 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
36295 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
36296 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
36297 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
36298 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
36299 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
36300 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
36301 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
36302 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
36303 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
36304 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
36305 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
36306 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
36307 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
36308 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
36309 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
36310 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
36311 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
36312 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
36313 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
36314 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
36315 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36316 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
36317 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
36318 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
36319 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
36320 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36321 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36322 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
36323 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
36324 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36325 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36326 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36327 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36328 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
36329 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
36330 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
36331 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
36332 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
36333 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
36334 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
36335 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
36336 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
36337 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
36338 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
36339 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
36340 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
36341 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
36342 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
36343 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
36344 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
36345 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
36346 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
36347 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
36348 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
36349 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
36350 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
36351 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
36352 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
36353 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
36354 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36355 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
36356 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
36357 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36358 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36359 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
36360 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
36361 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
36362 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
36363 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
36364 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
36365 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
36366 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
36367 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
36368 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
36369 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
36370 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
36371 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
36372 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
36373 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
36374 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
36375 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
36376 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
36377 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
36378 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
36379 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
36380 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
36381 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36382 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
36383 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
36384 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
36385 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
36386 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
36387 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
36388 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
36389 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
36390 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
36391 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
36392 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
36393 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36394 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36395 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
36396 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
36397 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
36398 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
36399 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
36400 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
36401 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36402 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36403 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36404 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
36405 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
36406 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
36407 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
36408 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
36409 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
36410 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
36411 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
36412 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
36413 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
36414 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
36415 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
36416 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
36417 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
36418 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
36419 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
36420 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
36421 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
36422 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
36423 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
36424 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
36425 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
36426 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
36427 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
36428 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
36429 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
36430 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
36431 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
36432 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
36433 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36434 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36435 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36436 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36437 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
36438 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
36439 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
36440 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
36441 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36442 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
36443 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
36444 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
36445 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36446 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36447 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36448 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36449 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36450 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36451 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36452 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36453 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36454 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36455 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36456 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36457 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36458 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36459 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36460 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36461 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36462 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36463 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36464 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36465 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36466 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36467 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36468 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36469 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36470 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36471 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36472 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36473 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36474 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36475 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36476 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36477 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36478 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36479 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36480 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36481 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36482 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36483 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36484 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36485 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36486 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36487 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36488 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36489 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36490 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36491 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36492 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36493 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36494 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36495 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36496 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36497 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36498 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36499 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36500 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36501 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36502 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36503 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36504 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36505 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36506 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36507 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36508 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36509 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36510 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36511 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36512 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36513 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36514 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36515 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36516 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36517 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36518 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36519 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36520 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36521 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36522 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36523 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36524 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36525 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36526 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36527 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36528 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36529 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36530 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36531 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36532 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36533 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36534 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36535 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36536 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36537 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36538 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36539 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36540 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36541 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36542 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36543 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36544 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36545 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36546 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36547 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36548 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36549 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36550 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36551 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36552 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36553 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36554 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36555 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36556 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36557 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36558 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36559 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36560 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36561 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36562 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36563 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36564 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36565 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36566 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36567 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36568 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36569 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36570 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36571 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36572 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36573 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36574 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36575 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36576 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36577 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36578 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36579 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
423f194a 36580 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36581 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36582 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36583 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36584 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36585 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36586 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36587 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36588 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36589 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36590 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36591 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36592 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36593 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36594 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36595 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36596 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36597 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36598 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36599 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36600 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36601 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36602 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36603 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36604 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36605 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36606 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36607 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36608 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36609 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36610 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36611 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36612 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36613 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36614 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36615 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36616 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36617 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36618 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36619 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36620 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36621 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36622 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36623 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36624 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36625 { NULL, NULL }
36626};
36627
36628
36629/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36630
36631static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36632 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36633}
36634static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36635 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36636}
36637static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36638 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36639}
36640static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36641 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36642}
36643static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36644 return (void *)((wxSizer *) ((wxGridSizer *) x));
36645}
36646static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36647 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36648}
36649static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36650 return (void *)((wxSizer *) ((wxPySizer *) x));
36651}
36652static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36653 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36654}
36655static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36657}
36658static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36659 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36660}
36661static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36662 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36663}
36664static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36665 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36666}
36667static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36668 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36669}
36670static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36671 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36672}
36673static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36674 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36675}
36676static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36677 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36678}
36679static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36680 return (void *)((wxEvent *) ((wxPyEvent *) x));
36681}
36682static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36684}
36685static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36686 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36687}
36688static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36690}
36691static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36692 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36693}
36694static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36695 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36696}
36697static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36698 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36699}
36700static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36701 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36702}
36703static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36704 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36705}
36706static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36707 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36708}
36709static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36710 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36711}
36712static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36713 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36714}
36715static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36716 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36717}
36718static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36719 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36720}
36721static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36722 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36723}
36724static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36725 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36726}
36727static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36728 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36729}
36730static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36731 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36732}
36733static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36734 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36735}
36736static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36737 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36738}
36739static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36740 return (void *)((wxEvent *) ((wxShowEvent *) x));
36741}
36742static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36743 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36744}
36745static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36746 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36747}
36748static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36749 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36750}
36751static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36752 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36753}
36754static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36755 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36756}
36757static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36758 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36759}
36760static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36761 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36762}
36763static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36764 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36765}
36766static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36767 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36768}
36769static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36770 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36771}
36772static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36773 return (void *)((wxControl *) ((wxControlWithItems *) x));
36774}
36775static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36776 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36777}
36778static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36779 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36780}
36781static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36782 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36783}
36784static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36785 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36786}
36787static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36788 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36789}
36790static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36791 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36792}
36793static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36794 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36795}
36796static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36797 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36798}
36799static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36800 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36801}
36802static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36803 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36804}
36805static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36806 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36807}
36808static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36809 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36810}
36811static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36812 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36813}
36814static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36815 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36816}
36817static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36818 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36819}
36820static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36821 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36822}
36823static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36824 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36825}
36826static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36827 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36828}
36829static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36830 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36831}
36832static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36833 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36834}
36835static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36836 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36837}
36838static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36839 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36840}
36841static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36842 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36843}
36844static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36845 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36846}
36847static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36848 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36849}
36850static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36851 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36852}
36853static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36854 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36855}
36856static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36857 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36858}
36859static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36860 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36861}
36862static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36863 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36864}
36865static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36866 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36867}
36868static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36870}
36871static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36872 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36873}
36874static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36875 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36876}
36877static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36878 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36879}
36880static void *_p_wxValidatorTo_p_wxObject(void *x) {
36881 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36882}
36883static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36884 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36885}
36886static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36888}
36889static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36890 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36891}
36892static void *_p_wxSizerTo_p_wxObject(void *x) {
36893 return (void *)((wxObject *) ((wxSizer *) x));
36894}
36895static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36896 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36897}
36898static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36899 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36900}
36901static void *_p_wxMenuTo_p_wxObject(void *x) {
36902 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36903}
36904static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36905 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36906}
36907static void *_p_wxImageTo_p_wxObject(void *x) {
36908 return (void *)((wxObject *) ((wxImage *) x));
36909}
36910static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36912}
36913static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36914 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36915}
36916static void *_p_wxPyEventTo_p_wxObject(void *x) {
36917 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36918}
36919static void *_p_wxWindowTo_p_wxObject(void *x) {
36920 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36921}
36922static void *_p_wxControlTo_p_wxObject(void *x) {
36923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36924}
36925static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36926 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36927}
36928static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36929 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36930}
36931static void *_p_wxPyAppTo_p_wxObject(void *x) {
36932 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36933}
36934static void *_p_wxEventTo_p_wxObject(void *x) {
36935 return (void *)((wxObject *) ((wxEvent *) x));
36936}
36937static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36938 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36939}
36940static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36941 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36942}
36943static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36944 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36945}
36946static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36947 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36948}
36949static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36950 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36951}
36952static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36953 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36954}
36955static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36957}
36958static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36959 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36960}
36961static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36963}
36964static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36965 return (void *)((wxObject *) ((wxEvtHandler *) x));
36966}
36967static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36968 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36969}
36970static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36971 return (void *)((wxObject *) ((wxImageHandler *) x));
36972}
36973static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36974 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36975}
36976static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36977 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36978}
36979static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36980 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36981}
36982static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36983 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36984}
36985static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36986 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36987}
36988static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36989 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36990}
36991static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36992 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36993}
36994static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36995 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36996}
36997static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36998 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36999}
37000static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37001 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37002}
37003static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37004 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37005}
37006static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37007 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37008}
37009static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37011}
37012static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37013 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37014}
37015static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37016 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37017}
37018static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37019 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37020}
37021static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37022 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37023}
37024static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37025 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37026}
37027static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37028 return (void *)((wxObject *) ((wxFileSystem *) x));
37029}
37030static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
37031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
37032}
37033static void *_p_wxFocusEventTo_p_wxObject(void *x) {
37034 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
37035}
37036static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
37037 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
37038}
37039static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37040 return (void *)((wxObject *) ((wxSizerItem *) x));
37041}
37042static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37043 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37044}
37045static void *_p_wxShowEventTo_p_wxObject(void *x) {
37046 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37047}
37048static void *_p_wxFSFileTo_p_wxObject(void *x) {
37049 return (void *)((wxObject *) ((wxFSFile *) x));
37050}
37051static void *_p_wxCommandEventTo_p_wxObject(void *x) {
37052 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
37053}
37054static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
37055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
37056}
37057static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37058 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37059}
37060static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37061 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37062}
37063static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37064 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37065}
37066static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37067 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37068}
37069static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37070 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37071}
37072static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37073 return (void *)((wxObject *) ((wxMenuItem *) x));
37074}
37075static void *_p_wxPySizerTo_p_wxObject(void *x) {
37076 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37077}
37078static void *_p_wxControlTo_p_wxWindow(void *x) {
37079 return (void *)((wxWindow *) ((wxControl *) x));
37080}
37081static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
37082 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
37083}
37084static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37085 return (void *)((wxWindow *) ((wxMenuBar *) x));
37086}
37087static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
37088 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
37089}
37090static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
37091 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
37092}
37093static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
37094 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
37095}
37096static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37097 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37098}
37099static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
37100 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37101}
37102static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
37103 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
37104}
37105static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37106 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37107}
37108static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
37109 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
37110}
37111static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37112 return (void *)((wxValidator *) ((wxPyValidator *) x));
37113}
37114static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37115static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37116static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
37117static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37118static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37119static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37120static 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}};
37121static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
37122static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37123static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37124static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37125static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37126static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37127static 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}};
37128static 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}};
37129static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
37130static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37131static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
37132static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37133static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37134static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37135static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37136static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37137static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37138static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
37139static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37140static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37141static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37142static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37143static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37144static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37145static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37146static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37147static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37148static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37149static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37150static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37151static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37152static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37153static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37154static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37155static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37156static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37157static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37158static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37159static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37160static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37161static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37162static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37163static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37164static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37165static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37166static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37167static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37168static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37169static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37170static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37171static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37172static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37173static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37174static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37175static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37176static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37177static 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}};
37178static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
37179static 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}};
37180static 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}};
37181static 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}};
37182static 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}};
37183static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37184static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37185static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37186static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37187static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37188static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37189static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37190static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37191static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37192static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37193static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37194static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37195static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37196static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37197static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37198static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{0}};
37199static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37200static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37201static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37202static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37203static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37204static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37205static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37206static 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}};
37207static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37208static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37209static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37210static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37211static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37212static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37213static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37214static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37215static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37216static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37217static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37218static 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}};
37219static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
44127b65 37220static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
d14a1e28
RD
37221static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37222static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37223static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37224static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37225static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37226static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
37227static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37228
37229static swig_type_info *swig_types_initial[] = {
37230_swigt__p_wxLayoutConstraints,
37231_swigt__p_wxRealPoint,
37232_swigt__p_wxSizerItem,
37233_swigt__p_wxGBSizerItem,
37234_swigt__p_wxScrollEvent,
37235_swigt__p_wxIndividualLayoutConstraint,
37236_swigt__p_wxSizer,
37237_swigt__p_wxBoxSizer,
37238_swigt__p_wxStaticBoxSizer,
37239_swigt__p_wxGridBagSizer,
37240_swigt__p_wxAcceleratorEntry,
37241_swigt__p_wxUpdateUIEvent,
37242_swigt__p_wxMenu,
37243_swigt__p_wxEvent,
37244_swigt__p_wxGridSizer,
37245_swigt__p_wxFlexGridSizer,
37246_swigt__p_wxInitDialogEvent,
37247_swigt__p_wxItemContainer,
37248_swigt__p_wxNcPaintEvent,
37249_swigt__p_wxPaintEvent,
37250_swigt__p_wxSysColourChangedEvent,
37251_swigt__p_wxMouseCaptureChangedEvent,
37252_swigt__p_wxDisplayChangedEvent,
37253_swigt__p_wxPaletteChangedEvent,
37254_swigt__p_wxControl,
37255_swigt__p_wxFont,
37256_swigt__p_wxMenuBarBase,
37257_swigt__p_wxSetCursorEvent,
37258_swigt__p_wxFSFile,
37259_swigt__p_wxCaret,
37260_swigt__p_wxRegion,
37261_swigt__p_wxPoint2D,
37262_swigt__p_int,
37263_swigt__p_wxSize,
37264_swigt__p_wxDC,
37265_swigt__p_wxPySizer,
37266_swigt__p_wxNotifyEvent,
37267_swigt__p_wxPyEvent,
37268_swigt__p_wxPropagationDisabler,
37269_swigt__p_wxAppTraits,
37270_swigt__p_wxArrayString,
37271_swigt__p_wxShowEvent,
37272_swigt__p_wxToolTip,
37273_swigt__p_wxMaximizeEvent,
37274_swigt__p_wxIconizeEvent,
37275_swigt__p_wxActivateEvent,
37276_swigt__p_wxMoveEvent,
37277_swigt__p_wxSizeEvent,
37278_swigt__p_wxQueryNewPaletteEvent,
37279_swigt__p_wxWindowCreateEvent,
37280_swigt__p_wxIdleEvent,
37281_swigt__p_wxMenuItem,
37282_swigt__p_wxStaticBox,
37283_swigt__p_long,
37284_swigt__p_wxTIFFHandler,
37285_swigt__p_wxXPMHandler,
37286_swigt__p_wxPNMHandler,
37287_swigt__p_wxJPEGHandler,
37288_swigt__p_wxPCXHandler,
37289_swigt__p_wxGIFHandler,
37290_swigt__p_wxPNGHandler,
37291_swigt__p_wxANIHandler,
37292_swigt__p_wxMemoryFSHandler,
37293_swigt__p_wxEvtHandler,
37294_swigt__p_wxCURHandler,
37295_swigt__p_wxICOHandler,
37296_swigt__p_wxBMPHandler,
37297_swigt__p_wxImageHandler,
37298_swigt__p_wxFileSystemHandler,
37299_swigt__p_wxPyFileSystemHandler,
37300_swigt__p_wxInternetFSHandler,
37301_swigt__p_wxZipFSHandler,
37302_swigt__p_wxRect,
37303_swigt__p_wxGBSpan,
37304_swigt__p_wxPropagateOnce,
37305_swigt__p_wxAcceleratorTable,
37306_swigt__p_wxGBPosition,
37307_swigt__p_wxImage,
37308_swigt__p_wxFrame,
37309_swigt__p_wxScrollWinEvent,
37310_swigt__p_wxImageHistogram,
37311_swigt__p_byte,
37312_swigt__p_wxPoint,
37313_swigt__p_wxCursor,
37314_swigt__p_wxObject,
37315_swigt__p_wxPyInputStream,
37316_swigt__p_wxOutputStream,
37317_swigt__p_wxInputStream,
37318_swigt__p_wxDateTime,
37319_swigt__p_wxKeyEvent,
37320_swigt__p_wxNavigationKeyEvent,
37321_swigt__p_wxWindowDestroyEvent,
37322_swigt__p_wxWindow,
37323_swigt__p_wxMenuBar,
37324_swigt__p_wxString,
37325_swigt__p_wxFileSystem,
37326_swigt__p_wxBitmap,
37327_swigt__p_wxMenuEvent,
37328_swigt__p_wxContextMenuEvent,
37329_swigt__p_unsigned_char,
37330_swigt__p_wxCloseEvent,
37331_swigt__p_wxEraseEvent,
37332_swigt__p_wxMouseEvent,
37333_swigt__p_wxPyApp,
37334_swigt__p_wxCommandEvent,
37335_swigt__p_wxPyCommandEvent,
44127b65 37336_swigt__p_wxPyDropTarget,
d14a1e28
RD
37337_swigt__p_wxChildFocusEvent,
37338_swigt__p_wxFocusEvent,
37339_swigt__p_wxDropFilesEvent,
37340_swigt__p_wxControlWithItems,
37341_swigt__p_wxColour,
37342_swigt__p_wxValidator,
37343_swigt__p_wxPyValidator,
373440
37345};
37346
37347
37348/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37349
37350static swig_const_info swig_const_table[] = {
37351{ SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
37352{ SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
37353{ SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
37354{ SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
37355{ SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
37356{ SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
37357{ SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
37358{ SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
37359{ SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
37360{ SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
37361{ SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
37362{ SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
37363{ SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
37364{ SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
37365{ SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
37366{ SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
37367{ SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
37368{ SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
37369{ SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
37370{ SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
37371{ SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
37372{ SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
37373{ SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
37374{ SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
37375{ SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
37376{ SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
37377{ SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
37378{ SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
37379{ SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
37380{ SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
37381{ SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
37382{ SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
37383{ SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
37384{ SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
37385{ SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
37386{ SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
37387{ SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
37388{ SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
37389{ SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
37390{ SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
37391{ SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
37392{ SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
37393{ SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
37394{ SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
37395{ SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
37396{ SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
37397{ SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
37398{ SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
37399{ SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
37400{ SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
37401{ SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
37402{ SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
37403{ SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
37404{ SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
37405{ SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
37406{ SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
37407{ SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
37408{ SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
37409{ SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
37410{ SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
37411{ SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
37412{ SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
37413{ SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
37414{ SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
37415{ SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
37416{ SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
37417{ SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
37418{ SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
37419{ SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
37420{ SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
37421{ SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
37422{ SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
37423{ SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
37424{ SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
37425{ SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
37426{ SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
37427{ SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
37428{ SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
37429{ SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
37430{ SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
37431{ SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
37432{ SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
37433{ SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
37434{ SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
37435{ SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
37436{ SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
37437{ SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
37438{ SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
37439{ SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
37440{ SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
37441{ SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
37442{ SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
37443{ SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
37444{ SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
37445{ SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37446{ SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37447{ SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37448{ SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37449{ SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37450{ SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37451{ SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37452{ SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37453{ SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37454{ SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37455{ SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37456{ SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37457{ SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37458{ SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37459{ SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37460{ SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37461{ SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37462{ SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37463{ SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37464{ SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37465{ SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37466{ SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37467{ SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37468{ SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37469{ SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37470{ SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37471{ SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37472{ SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37473{ SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37474{ SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37475{ SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37476{ SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37477{ SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37478{ SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37479{ SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37480{ SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37481{ SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37482{ SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37483{ SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37484{ SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37485{ SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37486{ SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37487{ SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37488{ SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37489{ SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37490{ SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37491{ SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37492{ SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37493{ SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37494{ SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37495{ SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37496{ SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37497{ SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37498{ SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37499{ SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37500{ SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37501{ SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37502{ SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37503{ SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37504{ SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37505{ SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37506{ SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37507{ SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37508{ SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37509{ SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37510{ SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37511{ SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37512{ SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37513{ SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37514{ SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37515{ SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37516{ SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37517{ SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37518{ SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37519{ SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37520{ SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37521{ SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37522{ SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37523{ SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37524{ SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37525{ SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37526{ SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37527{ SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37528{ SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37529{ SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37530{ SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37531{ SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37532{ SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37533{ SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37534{ SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37535{ SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37536{ SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37537{ SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37538{ SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37539{ SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37540{ SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37541{ SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37542{ SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37543{ SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37544{ SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37545{ SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37546{ SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37547{ SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37548{ SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37549{ SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37550{ SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37551{ SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37552{ SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37553{ SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37554{ SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37555{ SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37556{ SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37557{ SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37558{ SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37559{ SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37560{ SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37561{ SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37562{ SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37563{ SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37564{ SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37565{ SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37566{ SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37567{ SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37568{ SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37569{ SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37570{ SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37571{ SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37572{ SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37573{ SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37574{ SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37575{ SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37576{ SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37577{ SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37578{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37579{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37580{ SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37581{ SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37582{ SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37583{ SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37584{ SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37585{ SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37586{ SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37587{ SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37588{ SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37589{ SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37590{ SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37591{ SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37592{ SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37593{ SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37594{ SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37595{ SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37596{ SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37597{ SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37598{ SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37599{ SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37600{ SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37601{ SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37602{ SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37603{ SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37604{ SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37605{ SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37606{ SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37607{ SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37608{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37609{ SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37610{ SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37611{ SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37612{ SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37613{ SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37614{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37615{ SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37616{ SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37617{ SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37618{ SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37619{ SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37620{ SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37621{ SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37622{ SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37623{ SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37624{ SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37625{ SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37626{ SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37627{ SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37628{ SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37629{ SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37630{ SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37631{ SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37632{ SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37633{ SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37634{ SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37635{ SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37636{ SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37637{ SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37638{ SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37639{ SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37640{ SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37641{ SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37642{ SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37643{ SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37644{ SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37645{ SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37646{ SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37647{ SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37648{ SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37649{ SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37650{ SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37651{ SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37652{ SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37653{ SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37654{ SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37655{ SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37656{ SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37657{ SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37658{ SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37659{ SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37660{ SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37661{ SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37662{ SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37663{ SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37664{ SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37665{ SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37666{ SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37667{ SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37668{ SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37669{ SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37670{ SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37671{ SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37672{ SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37673{ SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37674{ SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37675{ SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37676{ SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37677{ SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37678{ SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37679{ SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37680{ SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37681{ SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37682{ SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37683{ SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37684{ SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37685{ SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37686{ SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37687{ SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37688{ SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37689{ SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37690{ SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37691{ SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37692{ SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37693{ SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37694{ SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37695{ SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37696{ SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37697{ SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37698{ SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37699{ SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37700{ SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37701{ SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37702{ SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37703{ SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37704{ SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37705{ SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37706{ SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37707{ SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37708{ SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37709{ SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37710{ SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37711{ SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37712{ SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37713{ SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37714{ SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37715{ SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37716{ SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37717{ SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37718{ SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37719{ SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37720{ SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37721{ SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37722{ SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37723{ SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37724{ SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37725{ SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37726{ SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37727{ SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37728{ SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37729{ SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37730{ SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37731{ SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37732{ SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37733{ SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37734{ SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37735{ SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37736{ SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37737{ SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37738{ SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37739{ SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37740{ SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37741{ SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37742{ SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37743{ SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37744{ SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37745{ SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37746{ SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37747{ SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37748{ SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37749{ SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37750{ SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37751{ SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37752{ SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37753{ SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37754{ SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37755{ SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37756{ SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37757{ SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37758{ SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37759{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37760{ SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37761{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37762{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37763{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37764{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37765{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37766{ SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37767{ SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37768{ SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37769{ SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37770{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37771{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37772{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37773{ SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37774{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37775{ SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37776{ SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37777{ SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37778{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37779{ SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37780{ SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37781{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37782{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37783{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37784{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37785{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37786{ SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37787{ SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37788{ SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37789{ SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37790{ SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37791{ SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37792{ SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37793{ SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37794{ SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37795{ SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37796{ SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37797{ SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37798{ SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37799{ SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37800{ SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37801{ SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37802{ SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37803{ SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37804{ SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37805{ SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37806{ SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37807{ SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37808{ SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37809{ SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37810{ SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37811{ SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37812{ SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37813{ SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37814{ SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37815{ SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37816{ SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37817{ SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37818{ SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37819{ SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37820{ SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37821{ SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37822{ SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37823{ SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37824{ SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37825{ SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37826{ SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37827{ SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37828{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37829{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37830{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37831{ SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37832{ SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37833{ SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37834{ SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37835{ SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37836{ SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37837{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37838{ SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37839{ SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37840{ SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37841{ SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37842{ SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37843{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37844{ SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37845{ SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37846{ SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37847{ SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37848{ SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37849{ SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37850{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37851{ SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37852{ SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37853{ SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37854{ SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37855{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37856{ SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37857{ SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37858{ SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37859{ SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37860{ SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37861{ SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37862{ SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37863{ SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37864{ SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37865{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37866{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37867{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37868{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37869{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37870{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37871{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37872{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37873{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37874{ SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37875{ SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37876{ SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37877{ SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37878{ SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37879{ SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37880{ SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37881{ SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37882{ SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37883{ SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37884{ SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37885{ SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37886{ SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37887{ SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37888{ SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37889{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37890{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37891{ SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37892{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37893{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37894{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37895{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37896{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37897{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37898{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37899{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37900{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37901{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37902{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37903{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37904{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37905{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37906{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37907{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37908{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37909{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37910{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37911{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37912{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37913{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37914{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37915{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37916{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37917{ SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37918{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37919{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37920{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37921{ SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37922{ SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37923{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37924{ SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37925{ SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37926{ SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37927{ SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37928{ SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37929{ SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37930{ SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37931{ SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37932{ SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37933{ SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37934{ SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37935{ SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37936{ SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37937{ SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37938{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37939{ SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37940{ SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37941{ SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37942{ SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37943{ SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37944{ SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37945{ SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37946{ SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37947{ SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37948{ SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37949{ SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37950{ SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37951{ SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37952{ SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37953{ SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37954{ SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37955{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37956{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37957{ SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37958{ SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37959{ SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37960{ SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37961{ SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37962{ SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37963{ SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37964{ SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37965{ SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37966{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37967{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37968{ SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
37969{ SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
37970{ SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
37971{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
37972{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
37973{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
37974{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
37975{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
37976{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
37977{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
37978{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
37979{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
37980{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
37981{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
37982{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
37983{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
37984{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
37985{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
37986{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
37987{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
37988{ SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
37989{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
37990{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
37991{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
37992{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
37993{ SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
37994{ SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
37995{ SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
37996{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
37997{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
37998{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
37999{ SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
38000{ SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
38001{ SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
38002{ SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
38003{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
38004{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
38005{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
38006{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
38007{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
38008{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
38009{ SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
38010{ SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
38011{ SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
38012{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
38013{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
38014{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
38015{ SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
38016{ SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
38017{ SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
38018{ SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
38019{ SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
38020{ SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
38021{ SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
38022{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
38023{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
38024{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
38025{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
38026{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
38027{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
38028{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
38029{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
38030{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
38031{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
38032{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
38033{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
38034{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
38035{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
38036{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
38037{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
38038{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
38039{ SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
38040{ SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
38041{ SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
38042{ SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
38043{ SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
38044{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
38045{ SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
38046{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
38047{ SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
38048{ SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
38049{ SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
38050{ SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
38051{ SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
38052{ SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
38053{ SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
38054{ SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
38055{ SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
38056{ SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
38057{ SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
38058{ SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
38059{ SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
38060{ SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
38061{ SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
38062{ SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
38063{ SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
38064{ SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
38065{ SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
38066{ SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
38067{ SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
38068{ SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
38069{ SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
38070{ SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
38071{ SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
38072{ SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
38073{ SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
38074{ SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
38075{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
38076{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
38077{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
38078{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
38079{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
38080{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
38081{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
38082{ SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
38083{ SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
38084{ SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
38085{ SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
38086{ SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
38087{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
38088{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
38089{ SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
38090{ SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
38091{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
38092{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
38093{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
38094{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
38095{ SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
38096{ SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
38097{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
38098{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
38099{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
38100{ SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
38101{ SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
38102{ SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
38103{ SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
38104{ SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
38105{ SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
38106{ SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
38107{ SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
38108{ SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
38109{ SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
38110{ SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
38111{ SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
38112{ SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
38113{ SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
38114{ SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
38115{ SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
38116{ SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
38117{ SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
38118{ SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
38119{0}};
38120
38121#ifdef __cplusplus
38122}
38123#endif
38124
38125#ifdef __cplusplus
38126extern "C"
38127#endif
38128SWIGEXPORT(void) SWIG_init(void) {
38129 static PyObject *SWIG_globals = 0;
38130 static int typeinit = 0;
38131 PyObject *m, *d;
38132 int i;
38133 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
38134 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38135 d = PyModule_GetDict(m);
38136
38137 if (!typeinit) {
38138 for (i = 0; swig_types_initial[i]; i++) {
38139 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
38140 }
38141 typeinit = 1;
38142 }
38143 SWIG_InstallConstants(d,swig_const_table);
38144
38145
38146#ifndef wxPyUSE_EXPORT
38147 // Make our API structure a CObject so other modules can import it
38148 // from this module.
38149 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
38150 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
38151 Py_XDECREF(cobj);
38152#endif
38153
38154 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
38155 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
38156 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
38157
38158 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38159
38160
38161 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38162
38163 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
38164 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
38165 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
38166 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
38167 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
38168 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
38169 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
38170 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
38171 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
38172 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
38173 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
38174 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
38175 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
38176 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
38177 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
38178 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
38179 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
38180 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
38181 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
38182 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
38183 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
38184 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
38185 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
38186 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
38187 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
38188 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
38189 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
38190 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
38191 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
38192 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
38193 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
38194 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
38195 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
38196 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
38197 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
38198 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
38199 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
38200 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
38201 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
38202 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
38203 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
38204 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
38205 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
38206 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
38207 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
38208 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
38209 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
38210 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
38211 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
38212 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
38213 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
38214 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
38215 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
38216 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
38217 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
38218 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
38219 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
38220 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
38221 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
38222 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
38223 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
38224 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
38225 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
38226 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
38227 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
38228 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
38229 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
38230 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
38231 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
38232 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
38233 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
38234 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
38235 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
38236 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
38237 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
38238 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
38239 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
38240 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
38241 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
38242 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
38243 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
38244 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
38245 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
38246 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
38247 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
38248 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
38249 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
38250 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
38251 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
38252 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
38253 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
38254 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
38255 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
38256 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
38257 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
38258 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
38259 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
38260 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
38261 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
38262 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
38263 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
38264 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
38265 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
38266 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
38267 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
38268 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
38269 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
38270 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
38271 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
38272 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
38273 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
38274 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
38275 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
38276 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
38277 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
38278 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
38279 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
38280 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
38281 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
38282 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
423f194a 38283 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
d14a1e28
RD
38284 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
38285 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
38286
38287 // Initialize threading, some globals and such
38288 __wxPyPreStart(d);
38289
38290
38291 // Although these are defined in __version__ they need to be here too so
38292 // that an assert can be done to ensure that the wxPython and the wxWindows
38293 // versions match.
38294 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
38295 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
38296 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
38297
38298}
38299