]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/core_wrap.cpp
Because of some differences in class heirarchy there are a few
[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]
324#define SWIGTYPE_p_wxDropTarget swig_types[106]
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
17741static PyObject *_wrap_PyApp_OnIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxPyApp *arg1 = (wxPyApp *) 0 ;
17744 wxIdleEvent *arg2 = 0 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "event", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_OnIdle",kwnames,&obj0,&obj1)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17754 if (arg2 == NULL) {
17755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17756 }
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 (arg1)->OnIdle(*arg2);
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 Py_INCREF(Py_None); resultobj = Py_None;
17765 return resultobj;
17766 fail:
17767 return NULL;
17768}
17769
17770
17771static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxPyApp *arg1 = (wxPyApp *) 0 ;
17774 bool result;
17775 PyObject * obj0 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = (bool)((wxPyApp const *)arg1)->IsActive();
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 resultobj = PyInt_FromLong((long)result);
17790 return resultobj;
17791 fail:
17792 return NULL;
17793}
17794
17795
17796static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17797 PyObject *resultobj;
17798 wxPyApp *arg1 = (wxPyApp *) 0 ;
17799 wxWindow *arg2 = (wxWindow *) 0 ;
17800 PyObject * obj0 = 0 ;
17801 PyObject * obj1 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self",(char *) "win", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17809 {
17810 PyThreadState* __tstate = wxPyBeginAllowThreads();
17811 (arg1)->SetTopWindow(arg2);
17812
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 Py_INCREF(Py_None); resultobj = Py_None;
17817 return resultobj;
17818 fail:
17819 return NULL;
17820}
17821
17822
17823static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17824 PyObject *resultobj;
17825 wxPyApp *arg1 = (wxPyApp *) 0 ;
17826 wxWindow *result;
17827 PyObject * obj0 = 0 ;
17828 char *kwnames[] = {
17829 (char *) "self", NULL
17830 };
17831
17832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 {
17842 resultobj = wxPyMake_wxObject(result);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
17850static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyApp *arg1 = (wxPyApp *) 0 ;
17853 bool arg2 ;
17854 PyObject * obj0 = 0 ;
17855 PyObject * obj1 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "self",(char *) "flag", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17862 arg2 = PyInt_AsLong(obj1) ? true : false;
17863 if (PyErr_Occurred()) SWIG_fail;
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 (arg1)->SetExitOnFrameDelete(arg2);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 Py_INCREF(Py_None); resultobj = Py_None;
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
17878static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxPyApp *arg1 = (wxPyApp *) 0 ;
17881 bool result;
17882 PyObject * obj0 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 resultobj = PyInt_FromLong((long)result);
17897 return resultobj;
17898 fail:
17899 return NULL;
17900}
17901
17902
17903static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPyApp *arg1 = (wxPyApp *) 0 ;
17906 bool arg2 ;
17907 PyObject * obj0 = 0 ;
17908 PyObject * obj1 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self",(char *) "flag", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17915 arg2 = PyInt_AsLong(obj1) ? true : false;
17916 if (PyErr_Occurred()) SWIG_fail;
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 (arg1)->SetUseBestVisual(arg2);
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 Py_INCREF(Py_None); resultobj = Py_None;
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
17931static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxPyApp *arg1 = (wxPyApp *) 0 ;
17934 bool result;
17935 PyObject * obj0 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "self", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 resultobj = PyInt_FromLong((long)result);
17950 return resultobj;
17951 fail:
17952 return NULL;
17953}
17954
17955
17956static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17957 PyObject *resultobj;
17958 wxPyApp *arg1 = (wxPyApp *) 0 ;
17959 int arg2 ;
17960 PyObject * obj0 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self",(char *) "mode", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 (arg1)->SetPrintMode(arg2);
17970
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 Py_INCREF(Py_None); resultobj = Py_None;
17975 return resultobj;
17976 fail:
17977 return NULL;
17978}
17979
17980
17981static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17982 PyObject *resultobj;
17983 wxPyApp *arg1 = (wxPyApp *) 0 ;
17984 int result;
17985 PyObject * obj0 = 0 ;
17986 char *kwnames[] = {
17987 (char *) "self", NULL
17988 };
17989
17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 resultobj = PyInt_FromLong((long)result);
18000 return resultobj;
18001 fail:
18002 return NULL;
18003}
18004
18005
18006static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxPyApp *arg1 = (wxPyApp *) 0 ;
18009 int result;
18010 PyObject * obj0 = 0 ;
18011 char *kwnames[] = {
18012 (char *) "self", NULL
18013 };
18014
18015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = (int)(arg1)->GetAssertMode();
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = PyInt_FromLong((long)result);
18025 return resultobj;
18026 fail:
18027 return NULL;
18028}
18029
18030
18031static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPyApp *arg1 = (wxPyApp *) 0 ;
18034 int arg2 ;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self",(char *) "mode", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 (arg1)->SetAssertMode(arg2);
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 Py_INCREF(Py_None); resultobj = Py_None;
18050 return resultobj;
18051 fail:
18052 return NULL;
18053}
18054
18055
18056static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 bool result;
18059 char *kwnames[] = {
18060 NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 resultobj = PyInt_FromLong((long)result);
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
18078static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 long result;
18081 char *kwnames[] = {
18082 NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 result = (long)wxPyApp::GetMacAboutMenuItemId();
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 resultobj = PyInt_FromLong((long)result);
18094 return resultobj;
18095 fail:
18096 return NULL;
18097}
18098
18099
18100static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18101 PyObject *resultobj;
18102 long result;
18103 char *kwnames[] = {
18104 NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18111
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 resultobj = PyInt_FromLong((long)result);
18116 return resultobj;
18117 fail:
18118 return NULL;
18119}
18120
18121
18122static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj;
18124 long result;
18125 char *kwnames[] = {
18126 NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (long)wxPyApp::GetMacExitMenuItemId();
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 resultobj = PyInt_FromLong((long)result);
18138 return resultobj;
18139 fail:
18140 return NULL;
18141}
18142
18143
18144static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxString result;
18147 char *kwnames[] = {
18148 NULL
18149 };
18150
18151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = wxPyApp::GetMacHelpMenuTitleName();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 {
18160#if wxUSE_UNICODE
18161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18162#else
18163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18164#endif
18165 }
18166 return resultobj;
18167 fail:
18168 return NULL;
18169}
18170
18171
18172static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 bool arg1 ;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "val", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18181 arg1 = PyInt_AsLong(obj0) ? true : false;
18182 if (PyErr_Occurred()) SWIG_fail;
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 Py_INCREF(Py_None); resultobj = Py_None;
18191 return resultobj;
18192 fail:
18193 return NULL;
18194}
18195
18196
18197static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 long arg1 ;
18200 char *kwnames[] = {
18201 (char *) "val", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 wxPyApp::SetMacAboutMenuItemId(arg1);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 Py_INCREF(Py_None); resultobj = Py_None;
18213 return resultobj;
18214 fail:
18215 return NULL;
18216}
18217
18218
18219static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 long arg1 ;
18222 char *kwnames[] = {
18223 (char *) "val", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 Py_INCREF(Py_None); resultobj = Py_None;
18235 return resultobj;
18236 fail:
18237 return NULL;
18238}
18239
18240
18241static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18242 PyObject *resultobj;
18243 long arg1 ;
18244 char *kwnames[] = {
18245 (char *) "val", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18249 {
18250 PyThreadState* __tstate = wxPyBeginAllowThreads();
18251 wxPyApp::SetMacExitMenuItemId(arg1);
18252
18253 wxPyEndAllowThreads(__tstate);
18254 if (PyErr_Occurred()) SWIG_fail;
18255 }
18256 Py_INCREF(Py_None); resultobj = Py_None;
18257 return resultobj;
18258 fail:
18259 return NULL;
18260}
18261
18262
18263static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxString *arg1 = 0 ;
423f194a 18266 bool temp1 = False ;
d14a1e28
RD
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "val", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18273 {
18274 arg1 = wxString_in_helper(obj0);
18275 if (arg1 == NULL) SWIG_fail;
423f194a 18276 temp1 = True;
d14a1e28
RD
18277 }
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 Py_INCREF(Py_None); resultobj = Py_None;
18286 {
18287 if (temp1)
18288 delete arg1;
18289 }
18290 return resultobj;
18291 fail:
18292 {
18293 if (temp1)
18294 delete arg1;
18295 }
18296 return NULL;
18297}
18298
18299
18300static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxPyApp *arg1 = (wxPyApp *) 0 ;
18303 PyObject * obj0 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 (arg1)->_BootstrapApp();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 Py_INCREF(Py_None); resultobj = Py_None;
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
18324static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 int result;
18327 char *kwnames[] = {
18328 NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (int)wxPyApp::GetComCtl32Version();
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 resultobj = PyInt_FromLong((long)result);
18340 return resultobj;
18341 fail:
18342 return NULL;
18343}
18344
18345
18346static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18347 PyObject *obj;
18348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18349 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18350 Py_INCREF(obj);
18351 return Py_BuildValue((char *)"");
18352}
18353static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 char *kwnames[] = {
18356 NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 wxExit();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 Py_INCREF(Py_None); resultobj = Py_None;
18368 return resultobj;
18369 fail:
18370 return NULL;
18371}
18372
18373
18374static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18375 PyObject *resultobj;
18376 bool result;
18377 char *kwnames[] = {
18378 NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (bool)wxYield();
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 resultobj = PyInt_FromLong((long)result);
18390 return resultobj;
18391 fail:
18392 return NULL;
18393}
18394
18395
18396static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 bool result;
18399 char *kwnames[] = {
18400 NULL
18401 };
18402
18403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (bool)wxYieldIfNeeded();
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 resultobj = PyInt_FromLong((long)result);
18412 return resultobj;
18413 fail:
18414 return NULL;
18415}
18416
18417
18418static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj;
18420 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 18421 bool arg2 = (bool) False ;
d14a1e28
RD
18422 bool result;
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "win",(char *) "onlyIfNeeded", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18430 if (obj0) {
18431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18432 }
18433 if (obj1) {
18434 arg2 = PyInt_AsLong(obj1) ? true : false;
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (bool)wxSafeYield(arg1,arg2);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 resultobj = PyInt_FromLong((long)result);
18445 return resultobj;
18446 fail:
18447 return NULL;
18448}
18449
18450
18451static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 char *kwnames[] = {
18454 NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 wxWakeUpIdle();
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_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18475 wxEvent *arg2 = 0 ;
18476 PyObject * obj0 = 0 ;
18477 PyObject * obj1 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "dest",(char *) "event", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18485 if (arg2 == NULL) {
18486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18487 }
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 wxPostEvent(arg1,*arg2);
18491
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 Py_INCREF(Py_None); resultobj = Py_None;
18496 return resultobj;
18497 fail:
18498 return NULL;
18499}
18500
18501
18502static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18503 PyObject *resultobj;
18504 char *kwnames[] = {
18505 NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 wxApp_CleanUp();
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 Py_INCREF(Py_None); resultobj = Py_None;
18517 return resultobj;
18518 fail:
18519 return NULL;
18520}
18521
18522
18523static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxPyApp *result;
18526 char *kwnames[] = {
18527 NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (wxPyApp *)wxGetApp();
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 {
18539 resultobj = wxPyMake_wxObject(result);
18540 }
18541 return resultobj;
18542 fail:
18543 return NULL;
18544}
18545
18546
423f194a
RD
18547static int _wrap_PanelNameStr_set(PyObject *_val) {
18548 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18549 return 1;
18550}
18551
18552
18553static PyObject *_wrap_PanelNameStr_get() {
18554 PyObject *pyobj;
18555
18556 {
18557#if wxUSE_UNICODE
18558 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18559#else
18560 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18561#endif
18562 }
18563 return pyobj;
18564}
18565
18566
d14a1e28
RD
18567static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj;
18569 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 18570 int arg2 ;
d14a1e28
RD
18571 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18572 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18573 wxSize const &arg4_defvalue = wxDefaultSize ;
18574 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18575 long arg5 = (long) 0 ;
18576 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18577 wxString *arg6 = (wxString *) &arg6_defvalue ;
18578 wxWindow *result;
18579 wxPoint temp3 ;
18580 wxSize temp4 ;
423f194a 18581 bool temp6 = False ;
d14a1e28
RD
18582 PyObject * obj0 = 0 ;
18583 PyObject * obj2 = 0 ;
18584 PyObject * obj3 = 0 ;
18585 PyObject * obj5 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18592 if (obj2) {
18593 {
18594 arg3 = &temp3;
18595 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18596 }
18597 }
18598 if (obj3) {
18599 {
18600 arg4 = &temp4;
18601 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18602 }
18603 }
18604 if (obj5) {
18605 {
18606 arg6 = wxString_in_helper(obj5);
18607 if (arg6 == NULL) SWIG_fail;
423f194a 18608 temp6 = True;
d14a1e28
RD
18609 }
18610 }
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 {
18619 resultobj = wxPyMake_wxObject(result);
18620 }
18621 {
18622 if (temp6)
18623 delete arg6;
18624 }
18625 return resultobj;
18626 fail:
18627 {
18628 if (temp6)
18629 delete arg6;
18630 }
18631 return NULL;
18632}
18633
18634
18635static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj;
18637 wxWindow *result;
18638 char *kwnames[] = {
18639 NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (wxWindow *)new wxWindow();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 {
18651 resultobj = wxPyMake_wxObject(result);
18652 }
18653 return resultobj;
18654 fail:
18655 return NULL;
18656}
18657
18658
18659static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxWindow *arg1 = (wxWindow *) 0 ;
18662 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 18663 int arg3 ;
d14a1e28
RD
18664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18666 wxSize const &arg5_defvalue = wxDefaultSize ;
18667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18668 long arg6 = (long) 0 ;
18669 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18670 wxString *arg7 = (wxString *) &arg7_defvalue ;
18671 bool result;
18672 wxPoint temp4 ;
18673 wxSize temp5 ;
423f194a 18674 bool temp7 = False ;
d14a1e28
RD
18675 PyObject * obj0 = 0 ;
18676 PyObject * obj1 = 0 ;
18677 PyObject * obj3 = 0 ;
18678 PyObject * obj4 = 0 ;
18679 PyObject * obj6 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 if (obj3) {
18688 {
18689 arg4 = &temp4;
18690 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18691 }
18692 }
18693 if (obj4) {
18694 {
18695 arg5 = &temp5;
18696 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18697 }
18698 }
18699 if (obj6) {
18700 {
18701 arg7 = wxString_in_helper(obj6);
18702 if (arg7 == NULL) SWIG_fail;
423f194a 18703 temp7 = True;
d14a1e28
RD
18704 }
18705 }
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = PyInt_FromLong((long)result);
18714 {
18715 if (temp7)
18716 delete arg7;
18717 }
18718 return resultobj;
18719 fail:
18720 {
18721 if (temp7)
18722 delete arg7;
18723 }
18724 return NULL;
18725}
18726
18727
18728static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 18731 bool arg2 = (bool) False ;
d14a1e28
RD
18732 bool result;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self",(char *) "force", NULL
18737 };
18738
18739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18741 if (obj1) {
18742 arg2 = PyInt_AsLong(obj1) ? true : false;
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (bool)(arg1)->Close(arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = PyInt_FromLong((long)result);
18753 return resultobj;
18754 fail:
18755 return NULL;
18756}
18757
18758
18759static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxWindow *arg1 = (wxWindow *) 0 ;
18762 bool result;
18763 PyObject * obj0 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
18769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 result = (bool)(arg1)->Destroy();
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 resultobj = PyInt_FromLong((long)result);
18778 return resultobj;
18779 fail:
18780 return NULL;
18781}
18782
18783
18784static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxWindow *arg1 = (wxWindow *) 0 ;
18787 bool result;
18788 PyObject * obj0 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 result = (bool)(arg1)->DestroyChildren();
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 resultobj = PyInt_FromLong((long)result);
18803 return resultobj;
18804 fail:
18805 return NULL;
18806}
18807
18808
18809static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxWindow *arg1 = (wxWindow *) 0 ;
18812 bool result;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 resultobj = PyInt_FromLong((long)result);
18828 return resultobj;
18829 fail:
18830 return NULL;
18831}
18832
18833
18834static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxWindow *arg1 = (wxWindow *) 0 ;
18837 wxString *arg2 = 0 ;
423f194a 18838 bool temp2 = False ;
d14a1e28
RD
18839 PyObject * obj0 = 0 ;
18840 PyObject * obj1 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self",(char *) "title", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
18846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18847 {
18848 arg2 = wxString_in_helper(obj1);
18849 if (arg2 == NULL) SWIG_fail;
423f194a 18850 temp2 = True;
d14a1e28
RD
18851 }
18852 {
18853 PyThreadState* __tstate = wxPyBeginAllowThreads();
18854 (arg1)->SetTitle((wxString const &)*arg2);
18855
18856 wxPyEndAllowThreads(__tstate);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 }
18859 Py_INCREF(Py_None); resultobj = Py_None;
18860 {
18861 if (temp2)
18862 delete arg2;
18863 }
18864 return resultobj;
18865 fail:
18866 {
18867 if (temp2)
18868 delete arg2;
18869 }
18870 return NULL;
18871}
18872
18873
18874static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxWindow *arg1 = (wxWindow *) 0 ;
18877 wxString result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = ((wxWindow const *)arg1)->GetTitle();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 {
18893#if wxUSE_UNICODE
18894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18895#else
18896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18897#endif
18898 }
18899 return resultobj;
18900 fail:
18901 return NULL;
18902}
18903
18904
18905static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxWindow *arg1 = (wxWindow *) 0 ;
18908 wxString *arg2 = 0 ;
423f194a 18909 bool temp2 = False ;
d14a1e28
RD
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "label", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18918 {
18919 arg2 = wxString_in_helper(obj1);
18920 if (arg2 == NULL) SWIG_fail;
423f194a 18921 temp2 = True;
d14a1e28
RD
18922 }
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 (arg1)->SetLabel((wxString const &)*arg2);
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 Py_INCREF(Py_None); resultobj = Py_None;
18931 {
18932 if (temp2)
18933 delete arg2;
18934 }
18935 return resultobj;
18936 fail:
18937 {
18938 if (temp2)
18939 delete arg2;
18940 }
18941 return NULL;
18942}
18943
18944
18945static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18946 PyObject *resultobj;
18947 wxWindow *arg1 = (wxWindow *) 0 ;
18948 wxString result;
18949 PyObject * obj0 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18956 {
18957 PyThreadState* __tstate = wxPyBeginAllowThreads();
18958 result = ((wxWindow const *)arg1)->GetLabel();
18959
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 {
18964#if wxUSE_UNICODE
18965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18966#else
18967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18968#endif
18969 }
18970 return resultobj;
18971 fail:
18972 return NULL;
18973}
18974
18975
18976static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxWindow *arg1 = (wxWindow *) 0 ;
18979 wxString *arg2 = 0 ;
423f194a 18980 bool temp2 = False ;
d14a1e28
RD
18981 PyObject * obj0 = 0 ;
18982 PyObject * obj1 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self",(char *) "name", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
18988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18989 {
18990 arg2 = wxString_in_helper(obj1);
18991 if (arg2 == NULL) SWIG_fail;
423f194a 18992 temp2 = True;
d14a1e28
RD
18993 }
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 (arg1)->SetName((wxString const &)*arg2);
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 Py_INCREF(Py_None); resultobj = Py_None;
19002 {
19003 if (temp2)
19004 delete arg2;
19005 }
19006 return resultobj;
19007 fail:
19008 {
19009 if (temp2)
19010 delete arg2;
19011 }
19012 return NULL;
19013}
19014
19015
19016static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj;
19018 wxWindow *arg1 = (wxWindow *) 0 ;
19019 wxString result;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 result = ((wxWindow const *)arg1)->GetName();
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 {
19035#if wxUSE_UNICODE
19036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19037#else
19038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19039#endif
19040 }
19041 return resultobj;
19042 fail:
19043 return NULL;
19044}
19045
19046
19047static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj;
19049 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19050 int arg2 ;
d14a1e28
RD
19051 PyObject * obj0 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "winid", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->SetId(arg2);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069}
19070
19071
19072static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 19075 int result;
d14a1e28
RD
19076 PyObject * obj0 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19085 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 resultobj = PyInt_FromLong((long)result);
19091 return resultobj;
19092 fail:
19093 return NULL;
19094}
19095
19096
19097static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 int result;
19100 char *kwnames[] = {
19101 NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19105 {
19106 PyThreadState* __tstate = wxPyBeginAllowThreads();
19107 result = (int)wxWindow::NewControlId();
19108
19109 wxPyEndAllowThreads(__tstate);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 }
19112 resultobj = PyInt_FromLong((long)result);
19113 return resultobj;
19114 fail:
19115 return NULL;
19116}
19117
19118
19119static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 int arg1 ;
19122 int result;
19123 char *kwnames[] = {
19124 (char *) "winid", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (int)wxWindow::NextControlId(arg1);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = PyInt_FromLong((long)result);
19136 return resultobj;
19137 fail:
19138 return NULL;
19139}
19140
19141
19142static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj;
19144 int arg1 ;
19145 int result;
19146 char *kwnames[] = {
19147 (char *) "winid", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (int)wxWindow::PrevControlId(arg1);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 resultobj = PyInt_FromLong((long)result);
19159 return resultobj;
19160 fail:
19161 return NULL;
19162}
19163
19164
19165static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxWindow *arg1 = (wxWindow *) 0 ;
19168 wxSize *arg2 = 0 ;
19169 wxSize temp2 ;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self",(char *) "size", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19178 {
19179 arg2 = &temp2;
19180 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19181 }
19182 {
19183 PyThreadState* __tstate = wxPyBeginAllowThreads();
19184 (arg1)->SetSize((wxSize const &)*arg2);
19185
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 Py_INCREF(Py_None); resultobj = Py_None;
19190 return resultobj;
19191 fail:
19192 return NULL;
19193}
19194
19195
19196static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19197 PyObject *resultobj;
19198 wxWindow *arg1 = (wxWindow *) 0 ;
19199 int arg2 ;
19200 int arg3 ;
19201 int arg4 ;
19202 int arg5 ;
19203 int arg6 = (int) wxSIZE_AUTO ;
19204 PyObject * obj0 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 return resultobj;
19220 fail:
19221 return NULL;
19222}
19223
19224
19225static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxWindow *arg1 = (wxWindow *) 0 ;
19228 wxRect *arg2 = 0 ;
19229 int arg3 = (int) wxSIZE_AUTO ;
19230 wxRect temp2 ;
19231 PyObject * obj0 = 0 ;
19232 PyObject * obj1 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19239 {
19240 arg2 = &temp2;
19241 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19242 }
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 Py_INCREF(Py_None); resultobj = Py_None;
19251 return resultobj;
19252 fail:
19253 return NULL;
19254}
19255
19256
19257static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxWindow *arg1 = (wxWindow *) 0 ;
19260 int arg2 ;
19261 int arg3 ;
19262 PyObject * obj0 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self",(char *) "width",(char *) "height", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 (arg1)->SetSize(arg2,arg3);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 Py_INCREF(Py_None); resultobj = Py_None;
19277 return resultobj;
19278 fail:
19279 return NULL;
19280}
19281
19282
19283static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxWindow *arg1 = (wxWindow *) 0 ;
19286 wxPoint *arg2 = 0 ;
19287 int arg3 = (int) wxSIZE_USE_EXISTING ;
19288 wxPoint temp2 ;
19289 PyObject * obj0 = 0 ;
19290 PyObject * obj1 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self",(char *) "pt",(char *) "flags", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19297 {
19298 arg2 = &temp2;
19299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19300 }
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->Move((wxPoint const &)*arg2,arg3);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312}
19313
19314
19315static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxWindow *arg1 = (wxWindow *) 0 ;
19318 int arg2 ;
19319 int arg3 ;
19320 int arg4 = (int) wxSIZE_USE_EXISTING ;
19321 PyObject * obj0 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 (arg1)->Move(arg2,arg3,arg4);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 Py_INCREF(Py_None); resultobj = Py_None;
19336 return resultobj;
19337 fail:
19338 return NULL;
19339}
19340
19341
19342static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxWindow *arg1 = (wxWindow *) 0 ;
19345 PyObject * obj0 = 0 ;
19346 char *kwnames[] = {
19347 (char *) "self", NULL
19348 };
19349
19350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 (arg1)->Raise();
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 Py_INCREF(Py_None); resultobj = Py_None;
19360 return resultobj;
19361 fail:
19362 return NULL;
19363}
19364
19365
19366static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxWindow *arg1 = (wxWindow *) 0 ;
19369 PyObject * obj0 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 (arg1)->Lower();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 Py_INCREF(Py_None); resultobj = Py_None;
19384 return resultobj;
19385 fail:
19386 return NULL;
19387}
19388
19389
19390static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxWindow *arg1 = (wxWindow *) 0 ;
19393 wxSize *arg2 = 0 ;
19394 wxSize temp2 ;
19395 PyObject * obj0 = 0 ;
19396 PyObject * obj1 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "size", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19403 {
19404 arg2 = &temp2;
19405 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19406 }
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 (arg1)->SetClientSize((wxSize const &)*arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418}
19419
19420
19421static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxWindow *arg1 = (wxWindow *) 0 ;
19424 int arg2 ;
19425 int arg3 ;
19426 PyObject * obj0 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "width",(char *) "height", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 (arg1)->SetClientSize(arg2,arg3);
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 Py_INCREF(Py_None); resultobj = Py_None;
19441 return resultobj;
19442 fail:
19443 return NULL;
19444}
19445
19446
19447static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxWindow *arg1 = (wxWindow *) 0 ;
19450 wxRect *arg2 = 0 ;
19451 wxRect temp2 ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 char *kwnames[] = {
19455 (char *) "self",(char *) "rect", NULL
19456 };
19457
19458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19460 {
19461 arg2 = &temp2;
19462 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19463 }
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 (arg1)->SetClientSize((wxRect const &)*arg2);
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 Py_INCREF(Py_None); resultobj = Py_None;
19472 return resultobj;
19473 fail:
19474 return NULL;
19475}
19476
19477
19478static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19479 PyObject *resultobj;
19480 wxWindow *arg1 = (wxWindow *) 0 ;
19481 wxPoint result;
19482 PyObject * obj0 = 0 ;
19483 char *kwnames[] = {
19484 (char *) "self", NULL
19485 };
19486
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19489 {
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19491 result = (arg1)->GetPosition();
d14a1e28
RD
19492
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 {
19497 wxPoint * resultptr;
19498 resultptr = new wxPoint((wxPoint &) result);
19499 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19500 }
19501 return resultobj;
19502 fail:
19503 return NULL;
19504}
19505
19506
19507static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxWindow *arg1 = (wxWindow *) 0 ;
19510 int *arg2 = (int *) 0 ;
19511 int *arg3 = (int *) 0 ;
19512 int temp2 ;
19513 int temp3 ;
19514 PyObject * obj0 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "self", NULL
19517 };
19518
19519 arg2 = &temp2;
19520 arg3 = &temp3;
19521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 19525 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 Py_INCREF(Py_None); resultobj = Py_None;
19531 {
19532 PyObject *o = PyInt_FromLong((long) (*arg2));
19533 resultobj = t_output_helper(resultobj,o);
19534 }
19535 {
19536 PyObject *o = PyInt_FromLong((long) (*arg3));
19537 resultobj = t_output_helper(resultobj,o);
19538 }
19539 return resultobj;
19540 fail:
19541 return NULL;
19542}
19543
19544
19545static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxWindow *arg1 = (wxWindow *) 0 ;
19548 wxSize result;
19549 PyObject * obj0 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 result = ((wxWindow const *)arg1)->GetSize();
19559
19560 wxPyEndAllowThreads(__tstate);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 }
19563 {
19564 wxSize * resultptr;
19565 resultptr = new wxSize((wxSize &) result);
19566 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19567 }
19568 return resultobj;
19569 fail:
19570 return NULL;
19571}
19572
19573
19574static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxWindow *arg1 = (wxWindow *) 0 ;
19577 int *arg2 = (int *) 0 ;
19578 int *arg3 = (int *) 0 ;
19579 int temp2 ;
19580 int temp3 ;
19581 PyObject * obj0 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self", NULL
19584 };
19585
19586 arg2 = &temp2;
19587 arg3 = &temp3;
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 Py_INCREF(Py_None); resultobj = Py_None;
19598 {
19599 PyObject *o = PyInt_FromLong((long) (*arg2));
19600 resultobj = t_output_helper(resultobj,o);
19601 }
19602 {
19603 PyObject *o = PyInt_FromLong((long) (*arg3));
19604 resultobj = t_output_helper(resultobj,o);
19605 }
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
19612static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxWindow *arg1 = (wxWindow *) 0 ;
19615 wxRect result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = ((wxWindow const *)arg1)->GetRect();
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 wxRect * resultptr;
19632 resultptr = new wxRect((wxRect &) result);
19633 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19634 }
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
19641static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxWindow *arg1 = (wxWindow *) 0 ;
19644 wxSize result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = ((wxWindow const *)arg1)->GetClientSize();
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 {
19660 wxSize * resultptr;
19661 resultptr = new wxSize((wxSize &) result);
19662 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19663 }
19664 return resultobj;
19665 fail:
19666 return NULL;
19667}
19668
19669
19670static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19671 PyObject *resultobj;
19672 wxWindow *arg1 = (wxWindow *) 0 ;
19673 int *arg2 = (int *) 0 ;
19674 int *arg3 = (int *) 0 ;
19675 int temp2 ;
19676 int temp3 ;
19677 PyObject * obj0 = 0 ;
19678 char *kwnames[] = {
19679 (char *) "self", NULL
19680 };
19681
19682 arg2 = &temp2;
19683 arg3 = &temp3;
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 Py_INCREF(Py_None); resultobj = Py_None;
19694 {
19695 PyObject *o = PyInt_FromLong((long) (*arg2));
19696 resultobj = t_output_helper(resultobj,o);
19697 }
19698 {
19699 PyObject *o = PyInt_FromLong((long) (*arg3));
19700 resultobj = t_output_helper(resultobj,o);
19701 }
19702 return resultobj;
19703 fail:
19704 return NULL;
19705}
19706
19707
19708static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxWindow *arg1 = (wxWindow *) 0 ;
19711 wxPoint result;
19712 PyObject * obj0 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self", NULL
19715 };
19716
19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
19718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
19722
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 {
19727 wxPoint * resultptr;
19728 resultptr = new wxPoint((wxPoint &) result);
19729 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19730 }
19731 return resultobj;
19732 fail:
19733 return NULL;
19734}
19735
19736
19737static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19738 PyObject *resultobj;
19739 wxWindow *arg1 = (wxWindow *) 0 ;
19740 wxRect result;
19741 PyObject * obj0 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = ((wxWindow const *)arg1)->GetClientRect();
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 {
19756 wxRect * resultptr;
19757 resultptr = new wxRect((wxRect &) result);
19758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19759 }
19760 return resultobj;
19761 fail:
19762 return NULL;
19763}
19764
19765
19766static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19767 PyObject *resultobj;
19768 wxWindow *arg1 = (wxWindow *) 0 ;
19769 wxSize result;
19770 PyObject * obj0 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 result = ((wxWindow const *)arg1)->GetBestSize();
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 {
19785 wxSize * resultptr;
19786 resultptr = new wxSize((wxSize &) result);
19787 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19788 }
19789 return resultobj;
19790 fail:
19791 return NULL;
19792}
19793
19794
19795static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19796 PyObject *resultobj;
19797 wxWindow *arg1 = (wxWindow *) 0 ;
19798 int *arg2 = (int *) 0 ;
19799 int *arg3 = (int *) 0 ;
19800 int temp2 ;
19801 int temp3 ;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 arg2 = &temp2;
19808 arg3 = &temp3;
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 Py_INCREF(Py_None); resultobj = Py_None;
19819 {
19820 PyObject *o = PyInt_FromLong((long) (*arg2));
19821 resultobj = t_output_helper(resultobj,o);
19822 }
19823 {
19824 PyObject *o = PyInt_FromLong((long) (*arg3));
19825 resultobj = t_output_helper(resultobj,o);
19826 }
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
19833static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxWindow *arg1 = (wxWindow *) 0 ;
19836 wxSize result;
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
19843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
19847
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 {
19852 wxSize * resultptr;
19853 resultptr = new wxSize((wxSize &) result);
19854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19855 }
19856 return resultobj;
19857 fail:
19858 return NULL;
19859}
19860
19861
19862static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxWindow *arg1 = (wxWindow *) 0 ;
19865 int arg2 = (int) wxBOTH ;
19866 PyObject * obj0 = 0 ;
19867 char *kwnames[] = {
19868 (char *) "self",(char *) "direction", NULL
19869 };
19870
19871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
19872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 (arg1)->Center(arg2);
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 Py_INCREF(Py_None); resultobj = Py_None;
19881 return resultobj;
19882 fail:
19883 return NULL;
19884}
19885
19886
19887static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 wxWindow *arg1 = (wxWindow *) 0 ;
19890 int arg2 = (int) wxBOTH ;
19891 PyObject * obj0 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self",(char *) "dir", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 (arg1)->CenterOnScreen(arg2);
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 Py_INCREF(Py_None); resultobj = Py_None;
19906 return resultobj;
19907 fail:
19908 return NULL;
19909}
19910
19911
19912static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxWindow *arg1 = (wxWindow *) 0 ;
19915 int arg2 = (int) wxBOTH ;
19916 PyObject * obj0 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self",(char *) "dir", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 (arg1)->CenterOnParent(arg2);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 Py_INCREF(Py_None); resultobj = Py_None;
19931 return resultobj;
19932 fail:
19933 return NULL;
19934}
19935
19936
19937static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxWindow *arg1 = (wxWindow *) 0 ;
19940 PyObject * obj0 = 0 ;
19941 char *kwnames[] = {
19942 (char *) "self", NULL
19943 };
19944
19945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
19946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 (arg1)->Fit();
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 Py_INCREF(Py_None); resultobj = Py_None;
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
19961static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxWindow *arg1 = (wxWindow *) 0 ;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) 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)->FitInside();
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_SetSizeHints(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 int arg6 = (int) -1 ;
19993 int arg7 = (int) -1 ;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 Py_INCREF(Py_None); resultobj = Py_None;
20009 return resultobj;
20010 fail:
20011 return NULL;
20012}
20013
20014
20015static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20016 PyObject *resultobj;
20017 wxWindow *arg1 = (wxWindow *) 0 ;
20018 int arg2 ;
20019 int arg3 ;
20020 int arg4 = (int) -1 ;
20021 int arg5 = (int) -1 ;
20022 PyObject * obj0 = 0 ;
20023 char *kwnames[] = {
20024 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20025 };
20026
20027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 Py_INCREF(Py_None); resultobj = Py_None;
20037 return resultobj;
20038 fail:
20039 return NULL;
20040}
20041
20042
20043static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20044 PyObject *resultobj;
20045 wxWindow *arg1 = (wxWindow *) 0 ;
20046 int result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20054 {
20055 PyThreadState* __tstate = wxPyBeginAllowThreads();
20056 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20057
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 resultobj = PyInt_FromLong((long)result);
20062 return resultobj;
20063 fail:
20064 return NULL;
20065}
20066
20067
20068static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj;
20070 wxWindow *arg1 = (wxWindow *) 0 ;
20071 int result;
20072 PyObject * obj0 = 0 ;
20073 char *kwnames[] = {
20074 (char *) "self", NULL
20075 };
20076
20077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 resultobj = PyInt_FromLong((long)result);
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
20093static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj;
20095 wxWindow *arg1 = (wxWindow *) 0 ;
20096 int result;
20097 PyObject * obj0 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 resultobj = PyInt_FromLong((long)result);
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
20118static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxWindow *arg1 = (wxWindow *) 0 ;
20121 int result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 resultobj = PyInt_FromLong((long)result);
20137 return resultobj;
20138 fail:
20139 return NULL;
20140}
20141
20142
20143static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxWindow *arg1 = (wxWindow *) 0 ;
20146 wxSize result;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20154 {
20155 PyThreadState* __tstate = wxPyBeginAllowThreads();
20156 result = ((wxWindow const *)arg1)->GetMaxSize();
20157
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 {
20162 wxSize * resultptr;
20163 resultptr = new wxSize((wxSize &) result);
20164 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20165 }
20166 return resultobj;
20167 fail:
20168 return NULL;
20169}
20170
20171
20172static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxWindow *arg1 = (wxWindow *) 0 ;
20175 wxSize *arg2 = 0 ;
20176 wxSize temp2 ;
20177 PyObject * obj0 = 0 ;
20178 PyObject * obj1 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "size", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20185 {
20186 arg2 = &temp2;
20187 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20188 }
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 Py_INCREF(Py_None); resultobj = Py_None;
20197 return resultobj;
20198 fail:
20199 return NULL;
20200}
20201
20202
20203static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxWindow *arg1 = (wxWindow *) 0 ;
20206 int arg2 ;
20207 int arg3 ;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self",(char *) "w",(char *) "h", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 (arg1)->SetVirtualSize(arg2,arg3);
20218
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 Py_INCREF(Py_None); resultobj = Py_None;
20223 return resultobj;
20224 fail:
20225 return NULL;
20226}
20227
20228
20229static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj;
20231 wxWindow *arg1 = (wxWindow *) 0 ;
20232 wxSize result;
20233 PyObject * obj0 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = ((wxWindow const *)arg1)->GetVirtualSize();
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 {
20248 wxSize * resultptr;
20249 resultptr = new wxSize((wxSize &) result);
20250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20251 }
20252 return resultobj;
20253 fail:
20254 return NULL;
20255}
20256
20257
20258static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxWindow *arg1 = (wxWindow *) 0 ;
20261 int *arg2 = (int *) 0 ;
20262 int *arg3 = (int *) 0 ;
20263 int temp2 ;
20264 int temp3 ;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 arg2 = &temp2;
20271 arg3 = &temp3;
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 Py_INCREF(Py_None); resultobj = Py_None;
20282 {
20283 PyObject *o = PyInt_FromLong((long) (*arg2));
20284 resultobj = t_output_helper(resultobj,o);
20285 }
20286 {
20287 PyObject *o = PyInt_FromLong((long) (*arg3));
20288 resultobj = t_output_helper(resultobj,o);
20289 }
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
20296static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxWindow *arg1 = (wxWindow *) 0 ;
20299 wxSize result;
20300 PyObject * obj0 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 {
20315 wxSize * resultptr;
20316 resultptr = new wxSize((wxSize &) result);
20317 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20318 }
20319 return resultobj;
20320 fail:
20321 return NULL;
20322}
20323
20324
20325static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20328 bool arg2 = (bool) True ;
d14a1e28
RD
20329 bool result;
20330 PyObject * obj0 = 0 ;
20331 PyObject * obj1 = 0 ;
20332 char *kwnames[] = {
20333 (char *) "self",(char *) "show", NULL
20334 };
20335
20336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20338 if (obj1) {
20339 arg2 = PyInt_AsLong(obj1) ? true : false;
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = (bool)(arg1)->Show(arg2);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 resultobj = PyInt_FromLong((long)result);
20350 return resultobj;
20351 fail:
20352 return NULL;
20353}
20354
20355
20356static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 wxWindow *arg1 = (wxWindow *) 0 ;
20359 bool result;
20360 PyObject * obj0 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (bool)(arg1)->Hide();
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 resultobj = PyInt_FromLong((long)result);
20375 return resultobj;
20376 fail:
20377 return NULL;
20378}
20379
20380
20381static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20384 bool arg2 = (bool) True ;
d14a1e28
RD
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 PyObject * obj1 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self",(char *) "enable", NULL
20390 };
20391
20392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20394 if (obj1) {
20395 arg2 = PyInt_AsLong(obj1) ? true : false;
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = (bool)(arg1)->Enable(arg2);
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = PyInt_FromLong((long)result);
20406 return resultobj;
20407 fail:
20408 return NULL;
20409}
20410
20411
20412static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxWindow *arg1 = (wxWindow *) 0 ;
20415 bool result;
20416 PyObject * obj0 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 result = (bool)(arg1)->Disable();
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 resultobj = PyInt_FromLong((long)result);
20431 return resultobj;
20432 fail:
20433 return NULL;
20434}
20435
20436
20437static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj;
20439 wxWindow *arg1 = (wxWindow *) 0 ;
20440 bool result;
20441 PyObject * obj0 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self", NULL
20444 };
20445
20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (bool)((wxWindow const *)arg1)->IsShown();
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 resultobj = PyInt_FromLong((long)result);
20456 return resultobj;
20457 fail:
20458 return NULL;
20459}
20460
20461
20462static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxWindow *arg1 = (wxWindow *) 0 ;
20465 bool result;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 resultobj = PyInt_FromLong((long)result);
20481 return resultobj;
20482 fail:
20483 return NULL;
20484}
20485
20486
20487static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 wxWindow *arg1 = (wxWindow *) 0 ;
20490 long arg2 ;
20491 PyObject * obj0 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self",(char *) "style", NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 (arg1)->SetWindowStyleFlag(arg2);
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 Py_INCREF(Py_None); resultobj = Py_None;
20506 return resultobj;
20507 fail:
20508 return NULL;
20509}
20510
20511
20512static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj;
20514 wxWindow *arg1 = (wxWindow *) 0 ;
20515 long result;
20516 PyObject * obj0 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "self", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 resultobj = PyInt_FromLong((long)result);
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
20537static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20538 PyObject *resultobj;
20539 wxWindow *arg1 = (wxWindow *) 0 ;
20540 long arg2 ;
20541 PyObject * obj0 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self",(char *) "style", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20548 {
20549 PyThreadState* __tstate = wxPyBeginAllowThreads();
20550 (arg1)->SetWindowStyle(arg2);
20551
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 Py_INCREF(Py_None); resultobj = Py_None;
20556 return resultobj;
20557 fail:
20558 return NULL;
20559}
20560
20561
20562static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20563 PyObject *resultobj;
20564 wxWindow *arg1 = (wxWindow *) 0 ;
20565 long result;
20566 PyObject * obj0 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "self", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 resultobj = PyInt_FromLong((long)result);
20581 return resultobj;
20582 fail:
20583 return NULL;
20584}
20585
20586
20587static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 wxWindow *arg1 = (wxWindow *) 0 ;
20590 int arg2 ;
20591 bool result;
20592 PyObject * obj0 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "flag", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 resultobj = PyInt_FromLong((long)result);
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
20613static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxWindow *arg1 = (wxWindow *) 0 ;
20616 bool result;
20617 PyObject * obj0 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (bool)((wxWindow const *)arg1)->IsRetained();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 resultobj = PyInt_FromLong((long)result);
20632 return resultobj;
20633 fail:
20634 return NULL;
20635}
20636
20637
20638static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxWindow *arg1 = (wxWindow *) 0 ;
20641 long arg2 ;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "exStyle", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 (arg1)->SetExtraStyle(arg2);
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 Py_INCREF(Py_None); resultobj = Py_None;
20657 return resultobj;
20658 fail:
20659 return NULL;
20660}
20661
20662
20663static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxWindow *arg1 = (wxWindow *) 0 ;
20666 long result;
20667 PyObject * obj0 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 resultobj = PyInt_FromLong((long)result);
20682 return resultobj;
20683 fail:
20684 return NULL;
20685}
20686
20687
20688static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20689 PyObject *resultobj;
20690 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20691 bool arg2 = (bool) True ;
d14a1e28
RD
20692 PyObject * obj0 = 0 ;
20693 PyObject * obj1 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self",(char *) "modal", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20700 if (obj1) {
20701 arg2 = PyInt_AsLong(obj1) ? true : false;
20702 if (PyErr_Occurred()) SWIG_fail;
20703 }
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 (arg1)->MakeModal(arg2);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
20718static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxWindow *arg1 = (wxWindow *) 0 ;
20721 bool arg2 ;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724 char *kwnames[] = {
20725 (char *) "self",(char *) "enableTheme", NULL
20726 };
20727
20728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
20729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20730 arg2 = PyInt_AsLong(obj1) ? true : false;
20731 if (PyErr_Occurred()) SWIG_fail;
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 (arg1)->SetThemeEnabled(arg2);
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 Py_INCREF(Py_None); resultobj = Py_None;
20740 return resultobj;
20741 fail:
20742 return NULL;
20743}
20744
20745
20746static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20747 PyObject *resultobj;
20748 wxWindow *arg1 = (wxWindow *) 0 ;
20749 bool result;
20750 PyObject * obj0 = 0 ;
20751 char *kwnames[] = {
20752 (char *) "self", NULL
20753 };
20754
20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
20756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
20760
20761 wxPyEndAllowThreads(__tstate);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 resultobj = PyInt_FromLong((long)result);
20765 return resultobj;
20766 fail:
20767 return NULL;
20768}
20769
20770
20771static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj;
20773 wxWindow *arg1 = (wxWindow *) 0 ;
20774 bool result;
20775 PyObject * obj0 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20782 {
20783 PyThreadState* __tstate = wxPyBeginAllowThreads();
20784 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 resultobj = PyInt_FromLong((long)result);
20790 return resultobj;
20791 fail:
20792 return NULL;
20793}
20794
20795
20796static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxWindow *arg1 = (wxWindow *) 0 ;
20799 PyObject * obj0 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
20805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 (arg1)->SetFocus();
20809
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 Py_INCREF(Py_None); resultobj = Py_None;
20814 return resultobj;
20815 fail:
20816 return NULL;
20817}
20818
20819
20820static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxWindow *arg1 = (wxWindow *) 0 ;
20823 PyObject * obj0 = 0 ;
20824 char *kwnames[] = {
20825 (char *) "self", NULL
20826 };
20827
20828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
20829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20830 {
20831 PyThreadState* __tstate = wxPyBeginAllowThreads();
20832 (arg1)->SetFocusFromKbd();
20833
20834 wxPyEndAllowThreads(__tstate);
20835 if (PyErr_Occurred()) SWIG_fail;
20836 }
20837 Py_INCREF(Py_None); resultobj = Py_None;
20838 return resultobj;
20839 fail:
20840 return NULL;
20841}
20842
20843
20844static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20845 PyObject *resultobj;
20846 wxWindow *result;
20847 char *kwnames[] = {
20848 NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (wxWindow *)wxWindow::FindFocus();
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 {
20860 resultobj = wxPyMake_wxObject(result);
20861 }
20862 return resultobj;
20863 fail:
20864 return NULL;
20865}
20866
20867
20868static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxWindow *arg1 = (wxWindow *) 0 ;
20871 bool result;
20872 PyObject * obj0 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
20882
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 resultobj = PyInt_FromLong((long)result);
20887 return resultobj;
20888 fail:
20889 return NULL;
20890}
20891
20892
20893static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
20894 PyObject *resultobj;
20895 wxWindow *arg1 = (wxWindow *) 0 ;
20896 bool result;
20897 PyObject * obj0 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 resultobj = PyInt_FromLong((long)result);
20912 return resultobj;
20913 fail:
20914 return NULL;
20915}
20916
20917
20918static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxWindow *arg1 = (wxWindow *) 0 ;
20921 wxWindow *result;
20922 PyObject * obj0 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
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_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20946 PyObject *resultobj;
20947 wxWindow *arg1 = (wxWindow *) 0 ;
20948 wxWindow *arg2 = (wxWindow *) 0 ;
20949 wxWindow *result;
20950 PyObject * obj0 = 0 ;
20951 PyObject * obj1 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self",(char *) "child", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20959 {
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
20962
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 {
20967 resultobj = wxPyMake_wxObject(result);
20968 }
20969 return resultobj;
20970 fail:
20971 return NULL;
20972}
20973
20974
20975static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxWindow *arg1 = (wxWindow *) 0 ;
20978 wxWindow *arg2 = (wxWindow *) 0 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "win", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 (arg1)->SetTmpDefaultItem(arg2);
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 Py_INCREF(Py_None); resultobj = Py_None;
20996 return resultobj;
20997 fail:
20998 return NULL;
20999}
21000
21001
21002static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj;
21004 wxWindow *arg1 = (wxWindow *) 0 ;
21005 PyObject *result;
21006 PyObject * obj0 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 result = (PyObject *)wxWindow_GetChildren(arg1);
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 resultobj = result;
21021 return resultobj;
21022 fail:
21023 return NULL;
21024}
21025
21026
21027static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxWindow *arg1 = (wxWindow *) 0 ;
21030 wxWindow *result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 {
21046 resultobj = wxPyMake_wxObject(result);
21047 }
21048 return resultobj;
21049 fail:
21050 return NULL;
21051}
21052
21053
21054static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxWindow *arg1 = (wxWindow *) 0 ;
21057 wxWindow *result;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 {
21073 resultobj = wxPyMake_wxObject(result);
21074 }
21075 return resultobj;
21076 fail:
21077 return NULL;
21078}
21079
21080
21081static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxWindow *arg1 = (wxWindow *) 0 ;
21084 bool result;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 resultobj = PyInt_FromLong((long)result);
21100 return resultobj;
21101 fail:
21102 return NULL;
21103}
21104
21105
21106static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxWindow *arg1 = (wxWindow *) 0 ;
21109 wxWindow *arg2 = (wxWindow *) 0 ;
21110 bool result;
21111 PyObject * obj0 = 0 ;
21112 PyObject * obj1 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self",(char *) "newParent", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (bool)(arg1)->Reparent(arg2);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 resultobj = PyInt_FromLong((long)result);
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
21134static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxWindow *arg1 = (wxWindow *) 0 ;
21137 wxWindow *arg2 = (wxWindow *) 0 ;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self",(char *) "child", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 (arg1)->AddChild(arg2);
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 Py_INCREF(Py_None); resultobj = Py_None;
21155 return resultobj;
21156 fail:
21157 return NULL;
21158}
21159
21160
21161static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21162 PyObject *resultobj;
21163 wxWindow *arg1 = (wxWindow *) 0 ;
21164 wxWindow *arg2 = (wxWindow *) 0 ;
21165 PyObject * obj0 = 0 ;
21166 PyObject * obj1 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self",(char *) "child", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 (arg1)->RemoveChild(arg2);
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 Py_INCREF(Py_None); resultobj = Py_None;
21182 return resultobj;
21183 fail:
21184 return NULL;
21185}
21186
21187
21188static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxWindow *arg1 = (wxWindow *) 0 ;
21191 long arg2 ;
21192 wxWindow *result;
21193 PyObject * obj0 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self",(char *) "winid", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 result = (wxWindow *)(arg1)->FindWindow(arg2);
21203
21204 wxPyEndAllowThreads(__tstate);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 }
21207 {
21208 resultobj = wxPyMake_wxObject(result);
21209 }
21210 return resultobj;
21211 fail:
21212 return NULL;
21213}
21214
21215
21216static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxWindow *arg1 = (wxWindow *) 0 ;
21219 wxString *arg2 = 0 ;
21220 wxWindow *result;
423f194a 21221 bool temp2 = False ;
d14a1e28
RD
21222 PyObject * obj0 = 0 ;
21223 PyObject * obj1 = 0 ;
21224 char *kwnames[] = {
21225 (char *) "self",(char *) "name", NULL
21226 };
21227
21228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 {
21231 arg2 = wxString_in_helper(obj1);
21232 if (arg2 == NULL) SWIG_fail;
423f194a 21233 temp2 = True;
d14a1e28
RD
21234 }
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 {
21243 resultobj = wxPyMake_wxObject(result);
21244 }
21245 {
21246 if (temp2)
21247 delete arg2;
21248 }
21249 return resultobj;
21250 fail:
21251 {
21252 if (temp2)
21253 delete arg2;
21254 }
21255 return NULL;
21256}
21257
21258
21259static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21260 PyObject *resultobj;
21261 wxWindow *arg1 = (wxWindow *) 0 ;
21262 wxEvtHandler *result;
21263 PyObject * obj0 = 0 ;
21264 char *kwnames[] = {
21265 (char *) "self", NULL
21266 };
21267
21268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 {
21278 resultobj = wxPyMake_wxObject(result);
21279 }
21280 return resultobj;
21281 fail:
21282 return NULL;
21283}
21284
21285
21286static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxWindow *arg1 = (wxWindow *) 0 ;
21289 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21290 PyObject * obj0 = 0 ;
21291 PyObject * obj1 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self",(char *) "handler", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 (arg1)->SetEventHandler(arg2);
21302
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 Py_INCREF(Py_None); resultobj = Py_None;
21307 return resultobj;
21308 fail:
21309 return NULL;
21310}
21311
21312
21313static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj;
21315 wxWindow *arg1 = (wxWindow *) 0 ;
21316 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self",(char *) "handler", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 (arg1)->PushEventHandler(arg2);
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 Py_INCREF(Py_None); resultobj = Py_None;
21334 return resultobj;
21335 fail:
21336 return NULL;
21337}
21338
21339
21340static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21343 bool arg2 = (bool) False ;
d14a1e28
RD
21344 wxEvtHandler *result;
21345 PyObject * obj0 = 0 ;
21346 PyObject * obj1 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self",(char *) "deleteHandler", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21353 if (obj1) {
21354 arg2 = PyInt_AsLong(obj1) ? true : false;
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 {
21365 resultobj = wxPyMake_wxObject(result);
21366 }
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
21373static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxWindow *arg1 = (wxWindow *) 0 ;
21376 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21377 bool result;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "handler", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (bool)(arg1)->RemoveEventHandler(arg2);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = PyInt_FromLong((long)result);
21395 return resultobj;
21396 fail:
21397 return NULL;
21398}
21399
21400
21401static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxWindow *arg1 = (wxWindow *) 0 ;
21404 wxValidator *arg2 = 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "validator", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 if (arg2 == NULL) {
21415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21416 }
21417 {
21418 PyThreadState* __tstate = wxPyBeginAllowThreads();
21419 (arg1)->SetValidator((wxValidator const &)*arg2);
21420
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 Py_INCREF(Py_None); resultobj = Py_None;
21425 return resultobj;
21426 fail:
21427 return NULL;
21428}
21429
21430
21431static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj;
21433 wxWindow *arg1 = (wxWindow *) 0 ;
21434 wxValidator *result;
21435 PyObject * obj0 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (wxValidator *)(arg1)->GetValidator();
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 {
21450 resultobj = wxPyMake_wxObject(result);
21451 }
21452 return resultobj;
21453 fail:
21454 return NULL;
21455}
21456
21457
21458static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxWindow *arg1 = (wxWindow *) 0 ;
21461 wxAcceleratorTable *arg2 = 0 ;
21462 PyObject * obj0 = 0 ;
21463 PyObject * obj1 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self",(char *) "accel", NULL
21466 };
21467
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21471 if (arg2 == NULL) {
21472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21473 }
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 Py_INCREF(Py_None); resultobj = Py_None;
21482 return resultobj;
21483 fail:
21484 return NULL;
21485}
21486
21487
21488static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 wxWindow *arg1 = (wxWindow *) 0 ;
21491 wxAcceleratorTable *result;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21507 return resultobj;
21508 fail:
21509 return NULL;
21510}
21511
21512
21513static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21514 PyObject *resultobj;
21515 wxWindow *arg1 = (wxWindow *) 0 ;
21516 int arg2 ;
21517 int arg3 ;
21518 int arg4 ;
21519 bool result;
21520 PyObject * obj0 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 resultobj = PyInt_FromLong((long)result);
21535 return resultobj;
21536 fail:
21537 return NULL;
21538}
21539
21540
21541static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxWindow *arg1 = (wxWindow *) 0 ;
21544 int arg2 ;
21545 bool result;
21546 PyObject * obj0 = 0 ;
21547 char *kwnames[] = {
21548 (char *) "self",(char *) "hotkeyId", NULL
21549 };
21550
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 resultobj = PyInt_FromLong((long)result);
21561 return resultobj;
21562 fail:
21563 return NULL;
21564}
21565
21566
21567static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxWindow *arg1 = (wxWindow *) 0 ;
21570 wxPoint *arg2 = 0 ;
21571 wxPoint result;
21572 wxPoint temp2 ;
21573 PyObject * obj0 = 0 ;
21574 PyObject * obj1 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self",(char *) "pt", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21581 {
21582 arg2 = &temp2;
21583 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21584 }
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21588
21589 wxPyEndAllowThreads(__tstate);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 {
21593 wxPoint * resultptr;
21594 resultptr = new wxPoint((wxPoint &) result);
21595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21596 }
21597 return resultobj;
21598 fail:
21599 return NULL;
21600}
21601
21602
21603static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxWindow *arg1 = (wxWindow *) 0 ;
21606 wxSize *arg2 = 0 ;
21607 wxSize result;
21608 wxSize temp2 ;
21609 PyObject * obj0 = 0 ;
21610 PyObject * obj1 = 0 ;
21611 char *kwnames[] = {
21612 (char *) "self",(char *) "sz", NULL
21613 };
21614
21615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21617 {
21618 arg2 = &temp2;
21619 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21620 }
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 {
21629 wxSize * resultptr;
21630 resultptr = new wxSize((wxSize &) result);
21631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21632 }
21633 return resultobj;
21634 fail:
21635 return NULL;
21636}
21637
21638
21639static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 wxWindow *arg1 = (wxWindow *) 0 ;
21642 wxPoint *arg2 = 0 ;
21643 wxPoint result;
21644 wxPoint temp2 ;
21645 PyObject * obj0 = 0 ;
21646 PyObject * obj1 = 0 ;
21647 char *kwnames[] = {
21648 (char *) "self",(char *) "pt", NULL
21649 };
21650
21651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21653 {
21654 arg2 = &temp2;
21655 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21656 }
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 {
21665 wxPoint * resultptr;
21666 resultptr = new wxPoint((wxPoint &) result);
21667 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21668 }
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
21675static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxWindow *arg1 = (wxWindow *) 0 ;
21678 wxSize *arg2 = 0 ;
21679 wxSize result;
21680 wxSize temp2 ;
21681 PyObject * obj0 = 0 ;
21682 PyObject * obj1 = 0 ;
21683 char *kwnames[] = {
21684 (char *) "self",(char *) "sz", NULL
21685 };
21686
21687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
21688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21689 {
21690 arg2 = &temp2;
21691 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21692 }
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21696
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 {
21701 wxSize * resultptr;
21702 resultptr = new wxSize((wxSize &) result);
21703 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21704 }
21705 return resultobj;
21706 fail:
21707 return NULL;
21708}
21709
21710
21711static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21712 PyObject *resultobj;
21713 wxWindow *arg1 = (wxWindow *) 0 ;
21714 wxPoint *arg2 = 0 ;
21715 wxPoint result;
21716 wxPoint temp2 ;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "pt", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
21724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21725 {
21726 arg2 = &temp2;
21727 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21728 }
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 {
21737 wxPoint * resultptr;
21738 resultptr = new wxPoint((wxPoint &) result);
21739 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21740 }
21741 return resultobj;
21742 fail:
21743 return NULL;
21744}
21745
21746
21747static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxWindow *arg1 = (wxWindow *) 0 ;
21750 wxSize *arg2 = 0 ;
21751 wxSize result;
21752 wxSize temp2 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "sz", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
21760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21761 {
21762 arg2 = &temp2;
21763 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 {
21773 wxSize * resultptr;
21774 resultptr = new wxSize((wxSize &) result);
21775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21776 }
21777 return resultobj;
21778 fail:
21779 return NULL;
21780}
21781
21782
21783static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxWindow *arg1 = (wxWindow *) 0 ;
21786 int arg2 ;
21787 int arg3 ;
21788 PyObject * obj0 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "x",(char *) "y", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 (arg1)->WarpPointer(arg2,arg3);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 Py_INCREF(Py_None); resultobj = Py_None;
21803 return resultobj;
21804 fail:
21805 return NULL;
21806}
21807
21808
21809static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxWindow *arg1 = (wxWindow *) 0 ;
21812 PyObject * obj0 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
21818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 (arg1)->CaptureMouse();
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 Py_INCREF(Py_None); resultobj = Py_None;
21827 return resultobj;
21828 fail:
21829 return NULL;
21830}
21831
21832
21833static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxWindow *arg1 = (wxWindow *) 0 ;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 (arg1)->ReleaseMouse();
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 Py_INCREF(Py_None); resultobj = Py_None;
21851 return resultobj;
21852 fail:
21853 return NULL;
21854}
21855
21856
21857static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21858 PyObject *resultobj;
21859 wxWindow *result;
21860 char *kwnames[] = {
21861 NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 result = (wxWindow *)wxWindow::GetCapture();
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 {
21873 resultobj = wxPyMake_wxObject(result);
21874 }
21875 return resultobj;
21876 fail:
21877 return NULL;
21878}
21879
21880
21881static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxWindow *arg1 = (wxWindow *) 0 ;
21884 bool result;
21885 PyObject * obj0 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (bool)((wxWindow const *)arg1)->HasCapture();
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 resultobj = PyInt_FromLong((long)result);
21900 return resultobj;
21901 fail:
21902 return NULL;
21903}
21904
21905
21906static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
21907 PyObject *resultobj;
21908 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21909 bool arg2 = (bool) True ;
d14a1e28
RD
21910 wxRect *arg3 = (wxRect *) NULL ;
21911 PyObject * obj0 = 0 ;
21912 PyObject * obj1 = 0 ;
21913 PyObject * obj2 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
21919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21920 if (obj1) {
21921 arg2 = PyInt_AsLong(obj1) ? true : false;
21922 if (PyErr_Occurred()) SWIG_fail;
21923 }
21924 if (obj2) {
21925 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21926 }
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 (arg1)->Refresh(arg2,(wxRect const *)arg3);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 Py_INCREF(Py_None); resultobj = Py_None;
21935 return resultobj;
21936 fail:
21937 return NULL;
21938}
21939
21940
21941static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21942 PyObject *resultobj;
21943 wxWindow *arg1 = (wxWindow *) 0 ;
21944 wxRect *arg2 = 0 ;
21945 wxRect temp2 ;
21946 PyObject * obj0 = 0 ;
21947 PyObject * obj1 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self",(char *) "rect", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21954 {
21955 arg2 = &temp2;
21956 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21957 }
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->RefreshRect((wxRect const &)*arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
21972static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxWindow *arg1 = (wxWindow *) 0 ;
21975 PyObject * obj0 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
21981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 (arg1)->Update();
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 Py_INCREF(Py_None); resultobj = Py_None;
21990 return resultobj;
21991 fail:
21992 return NULL;
21993}
21994
21995
21996static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 wxWindow *arg1 = (wxWindow *) 0 ;
21999 PyObject * obj0 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
22008 (arg1)->ClearBackground();
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 Py_INCREF(Py_None); resultobj = Py_None;
22014 return resultobj;
22015 fail:
22016 return NULL;
22017}
22018
22019
22020static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22021 PyObject *resultobj;
22022 wxWindow *arg1 = (wxWindow *) 0 ;
22023 PyObject * obj0 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 (arg1)->Freeze();
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 Py_INCREF(Py_None); resultobj = Py_None;
22038 return resultobj;
22039 fail:
22040 return NULL;
22041}
22042
22043
22044static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxWindow *arg1 = (wxWindow *) 0 ;
22047 PyObject * obj0 = 0 ;
22048 char *kwnames[] = {
22049 (char *) "self", NULL
22050 };
22051
22052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 (arg1)->Thaw();
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_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22069 PyObject *resultobj;
22070 wxWindow *arg1 = (wxWindow *) 0 ;
22071 wxDC *arg2 = 0 ;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self",(char *) "dc", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22081 if (arg2 == NULL) {
22082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22083 }
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 (arg1)->PrepareDC(*arg2);
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 Py_INCREF(Py_None); resultobj = Py_None;
22092 return resultobj;
22093 fail:
22094 return NULL;
22095}
22096
22097
22098static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22099 PyObject *resultobj;
22100 wxWindow *arg1 = (wxWindow *) 0 ;
22101 wxRegion *result;
22102 PyObject * obj0 = 0 ;
22103 char *kwnames[] = {
22104 (char *) "self", NULL
22105 };
22106
22107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 {
22112 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22113 result = (wxRegion *) &_result_ref;
22114 }
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22120 return resultobj;
22121 fail:
22122 return NULL;
22123}
22124
22125
22126static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22127 PyObject *resultobj;
22128 wxWindow *arg1 = (wxWindow *) 0 ;
22129 wxRect result;
22130 PyObject * obj0 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 {
22145 wxRect * resultptr;
22146 resultptr = new wxRect((wxRect &) result);
22147 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22148 }
22149 return resultobj;
22150 fail:
22151 return NULL;
22152}
22153
22154
22155static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxWindow *arg1 = (wxWindow *) 0 ;
22158 int arg2 ;
22159 int arg3 ;
22160 int arg4 = (int) 1 ;
22161 int arg5 = (int) 1 ;
22162 bool result;
22163 PyObject * obj0 = 0 ;
22164 char *kwnames[] = {
22165 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22166 };
22167
22168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 resultobj = PyInt_FromLong((long)result);
22178 return resultobj;
22179 fail:
22180 return NULL;
22181}
22182
22183
22184static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22185 PyObject *resultobj;
22186 wxWindow *arg1 = (wxWindow *) 0 ;
22187 wxPoint *arg2 = 0 ;
22188 bool result;
22189 wxPoint temp2 ;
22190 PyObject * obj0 = 0 ;
22191 PyObject * obj1 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self",(char *) "pt", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22198 {
22199 arg2 = &temp2;
22200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22201 }
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 resultobj = PyInt_FromLong((long)result);
22210 return resultobj;
22211 fail:
22212 return NULL;
22213}
22214
22215
22216static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxWindow *arg1 = (wxWindow *) 0 ;
22219 wxRect *arg2 = 0 ;
22220 bool result;
22221 wxRect temp2 ;
22222 PyObject * obj0 = 0 ;
22223 PyObject * obj1 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self",(char *) "rect", NULL
22226 };
22227
22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22230 {
22231 arg2 = &temp2;
22232 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22233 }
22234 {
22235 PyThreadState* __tstate = wxPyBeginAllowThreads();
22236 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22237
22238 wxPyEndAllowThreads(__tstate);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 resultobj = PyInt_FromLong((long)result);
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
22248static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj;
22250 wxWindow *arg1 = (wxWindow *) 0 ;
22251 wxColour *arg2 = 0 ;
22252 bool result;
22253 wxColour temp2 ;
22254 PyObject * obj0 = 0 ;
22255 PyObject * obj1 = 0 ;
22256 char *kwnames[] = {
22257 (char *) "self",(char *) "colour", NULL
22258 };
22259
22260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22262 {
22263 arg2 = &temp2;
22264 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22265 }
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22269
22270 wxPyEndAllowThreads(__tstate);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 }
22273 resultobj = PyInt_FromLong((long)result);
22274 return resultobj;
22275 fail:
22276 return NULL;
22277}
22278
22279
22280static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22281 PyObject *resultobj;
22282 wxWindow *arg1 = (wxWindow *) 0 ;
22283 wxColour *arg2 = 0 ;
22284 bool result;
22285 wxColour temp2 ;
22286 PyObject * obj0 = 0 ;
22287 PyObject * obj1 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self",(char *) "colour", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22294 {
22295 arg2 = &temp2;
22296 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22297 }
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 resultobj = PyInt_FromLong((long)result);
22306 return resultobj;
22307 fail:
22308 return NULL;
22309}
22310
22311
22312static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxWindow *arg1 = (wxWindow *) 0 ;
22315 wxColour result;
22316 PyObject * obj0 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 {
22331 wxColour * resultptr;
22332 resultptr = new wxColour((wxColour &) result);
22333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22334 }
22335 return resultobj;
22336 fail:
22337 return NULL;
22338}
22339
22340
22341static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22342 PyObject *resultobj;
22343 wxWindow *arg1 = (wxWindow *) 0 ;
22344 wxColour result;
22345 PyObject * obj0 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 result = ((wxWindow const *)arg1)->GetForegroundColour();
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 {
22360 wxColour * resultptr;
22361 resultptr = new wxColour((wxColour &) result);
22362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22363 }
22364 return resultobj;
22365 fail:
22366 return NULL;
22367}
22368
22369
22370static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22371 PyObject *resultobj;
22372 wxWindow *arg1 = (wxWindow *) 0 ;
22373 wxCursor *arg2 = 0 ;
22374 bool result;
22375 PyObject * obj0 = 0 ;
22376 PyObject * obj1 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "self",(char *) "cursor", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22384 if (arg2 == NULL) {
22385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22386 }
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = PyInt_FromLong((long)result);
22395 return resultobj;
22396 fail:
22397 return NULL;
22398}
22399
22400
22401static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxWindow *arg1 = (wxWindow *) 0 ;
22404 wxCursor *result;
22405 PyObject * obj0 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 {
22415 wxCursor &_result_ref = (arg1)->GetCursor();
22416 result = (wxCursor *) &_result_ref;
22417 }
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22423 return resultobj;
22424 fail:
22425 return NULL;
22426}
22427
22428
22429static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22430 PyObject *resultobj;
22431 wxWindow *arg1 = (wxWindow *) 0 ;
22432 wxFont *arg2 = 0 ;
22433 bool result;
22434 PyObject * obj0 = 0 ;
22435 PyObject * obj1 = 0 ;
22436 char *kwnames[] = {
22437 (char *) "self",(char *) "font", NULL
22438 };
22439
22440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22443 if (arg2 == NULL) {
22444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22445 }
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = PyInt_FromLong((long)result);
22454 return resultobj;
22455 fail:
22456 return NULL;
22457}
22458
22459
22460static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxWindow *arg1 = (wxWindow *) 0 ;
22463 wxFont *result;
22464 PyObject * obj0 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 {
22474 wxFont &_result_ref = (arg1)->GetFont();
22475 result = (wxFont *) &_result_ref;
22476 }
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22482 return resultobj;
22483 fail:
22484 return NULL;
22485}
22486
22487
22488static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22489 PyObject *resultobj;
22490 wxWindow *arg1 = (wxWindow *) 0 ;
22491 wxCaret *arg2 = (wxCaret *) 0 ;
22492 PyObject * obj0 = 0 ;
22493 PyObject * obj1 = 0 ;
22494 char *kwnames[] = {
22495 (char *) "self",(char *) "caret", NULL
22496 };
22497
22498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 (arg1)->SetCaret(arg2);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 Py_INCREF(Py_None); resultobj = Py_None;
22509 return resultobj;
22510 fail:
22511 return NULL;
22512}
22513
22514
22515static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxWindow *arg1 = (wxWindow *) 0 ;
22518 wxCaret *result;
22519 PyObject * obj0 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22526 {
22527 PyThreadState* __tstate = wxPyBeginAllowThreads();
22528 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22529
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22534 return resultobj;
22535 fail:
22536 return NULL;
22537}
22538
22539
22540static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj;
22542 wxWindow *arg1 = (wxWindow *) 0 ;
22543 int result;
22544 PyObject * obj0 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = PyInt_FromLong((long)result);
22559 return resultobj;
22560 fail:
22561 return NULL;
22562}
22563
22564
22565static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxWindow *arg1 = (wxWindow *) 0 ;
22568 int result;
22569 PyObject * obj0 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self", NULL
22572 };
22573
22574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 resultobj = PyInt_FromLong((long)result);
22584 return resultobj;
22585 fail:
22586 return NULL;
22587}
22588
22589
22590static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22591 PyObject *resultobj;
22592 wxWindow *arg1 = (wxWindow *) 0 ;
22593 wxString *arg2 = 0 ;
22594 int *arg3 = (int *) 0 ;
22595 int *arg4 = (int *) 0 ;
423f194a 22596 bool temp2 = False ;
d14a1e28
RD
22597 int temp3 ;
22598 int temp4 ;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self",(char *) "string", NULL
22603 };
22604
22605 arg3 = &temp3;
22606 arg4 = &temp4;
22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22609 {
22610 arg2 = wxString_in_helper(obj1);
22611 if (arg2 == NULL) SWIG_fail;
423f194a 22612 temp2 = True;
d14a1e28
RD
22613 }
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 Py_INCREF(Py_None); resultobj = Py_None;
22622 {
22623 PyObject *o = PyInt_FromLong((long) (*arg3));
22624 resultobj = t_output_helper(resultobj,o);
22625 }
22626 {
22627 PyObject *o = PyInt_FromLong((long) (*arg4));
22628 resultobj = t_output_helper(resultobj,o);
22629 }
22630 {
22631 if (temp2)
22632 delete arg2;
22633 }
22634 return resultobj;
22635 fail:
22636 {
22637 if (temp2)
22638 delete arg2;
22639 }
22640 return NULL;
22641}
22642
22643
22644static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj;
22646 wxWindow *arg1 = (wxWindow *) 0 ;
22647 wxString *arg2 = 0 ;
22648 int *arg3 = (int *) 0 ;
22649 int *arg4 = (int *) 0 ;
22650 int *arg5 = (int *) 0 ;
22651 int *arg6 = (int *) 0 ;
22652 wxFont *arg7 = (wxFont *) NULL ;
423f194a 22653 bool temp2 = False ;
d14a1e28
RD
22654 int temp3 ;
22655 int temp4 ;
22656 int temp5 ;
22657 int temp6 ;
22658 PyObject * obj0 = 0 ;
22659 PyObject * obj1 = 0 ;
22660 PyObject * obj2 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "string",(char *) "font", NULL
22663 };
22664
22665 arg3 = &temp3;
22666 arg4 = &temp4;
22667 arg5 = &temp5;
22668 arg6 = &temp6;
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22671 {
22672 arg2 = wxString_in_helper(obj1);
22673 if (arg2 == NULL) SWIG_fail;
423f194a 22674 temp2 = True;
d14a1e28
RD
22675 }
22676 if (obj2) {
22677 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 }
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 Py_INCREF(Py_None); resultobj = Py_None;
22687 {
22688 PyObject *o = PyInt_FromLong((long) (*arg3));
22689 resultobj = t_output_helper(resultobj,o);
22690 }
22691 {
22692 PyObject *o = PyInt_FromLong((long) (*arg4));
22693 resultobj = t_output_helper(resultobj,o);
22694 }
22695 {
22696 PyObject *o = PyInt_FromLong((long) (*arg5));
22697 resultobj = t_output_helper(resultobj,o);
22698 }
22699 {
22700 PyObject *o = PyInt_FromLong((long) (*arg6));
22701 resultobj = t_output_helper(resultobj,o);
22702 }
22703 {
22704 if (temp2)
22705 delete arg2;
22706 }
22707 return resultobj;
22708 fail:
22709 {
22710 if (temp2)
22711 delete arg2;
22712 }
22713 return NULL;
22714}
22715
22716
22717static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxWindow *arg1 = (wxWindow *) 0 ;
22720 int *arg2 = (int *) 0 ;
22721 int *arg3 = (int *) 0 ;
22722 int temp2 ;
22723 int temp3 ;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 PyObject * obj2 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "x",(char *) "y", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22733 {
22734 temp2 = PyInt_AsLong(obj1);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 arg2 = &temp2;
22737 }
22738 {
22739 temp3 = PyInt_AsLong(obj2);
22740 if (PyErr_Occurred()) SWIG_fail;
22741 arg3 = &temp3;
22742 }
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 Py_INCREF(Py_None); resultobj = Py_None;
22751 {
22752 PyObject *o = PyInt_FromLong((long) (*arg2));
22753 resultobj = t_output_helper(resultobj,o);
22754 }
22755 {
22756 PyObject *o = PyInt_FromLong((long) (*arg3));
22757 resultobj = t_output_helper(resultobj,o);
22758 }
22759 return resultobj;
22760 fail:
22761 return NULL;
22762}
22763
22764
22765static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxWindow *arg1 = (wxWindow *) 0 ;
22768 int *arg2 = (int *) 0 ;
22769 int *arg3 = (int *) 0 ;
22770 int temp2 ;
22771 int temp3 ;
22772 PyObject * obj0 = 0 ;
22773 PyObject * obj1 = 0 ;
22774 PyObject * obj2 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self",(char *) "x",(char *) "y", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22781 {
22782 temp2 = PyInt_AsLong(obj1);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 arg2 = &temp2;
22785 }
22786 {
22787 temp3 = PyInt_AsLong(obj2);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 arg3 = &temp3;
22790 }
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 Py_INCREF(Py_None); resultobj = Py_None;
22799 {
22800 PyObject *o = PyInt_FromLong((long) (*arg2));
22801 resultobj = t_output_helper(resultobj,o);
22802 }
22803 {
22804 PyObject *o = PyInt_FromLong((long) (*arg3));
22805 resultobj = t_output_helper(resultobj,o);
22806 }
22807 return resultobj;
22808 fail:
22809 return NULL;
22810}
22811
22812
22813static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22814 PyObject *resultobj;
22815 wxWindow *arg1 = (wxWindow *) 0 ;
22816 wxPoint *arg2 = 0 ;
22817 wxPoint result;
22818 wxPoint temp2 ;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self",(char *) "pt", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
22826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22827 {
22828 arg2 = &temp2;
22829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22830 }
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 wxPoint * resultptr;
22840 resultptr = new wxPoint((wxPoint &) result);
22841 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
22849static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxWindow *arg1 = (wxWindow *) 0 ;
22852 wxPoint *arg2 = 0 ;
22853 wxPoint result;
22854 wxPoint temp2 ;
22855 PyObject * obj0 = 0 ;
22856 PyObject * obj1 = 0 ;
22857 char *kwnames[] = {
22858 (char *) "self",(char *) "pt", NULL
22859 };
22860
22861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
22862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22863 {
22864 arg2 = &temp2;
22865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22866 }
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 {
22875 wxPoint * resultptr;
22876 resultptr = new wxPoint((wxPoint &) result);
22877 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22878 }
22879 return resultobj;
22880 fail:
22881 return NULL;
22882}
22883
22884
22885static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
22888 int arg2 ;
22889 int arg3 ;
d14a1e28
RD
22890 int result;
22891 PyObject * obj0 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "x",(char *) "y", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
22897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 resultobj = PyInt_FromLong((long)result);
22906 return resultobj;
22907 fail:
22908 return NULL;
22909}
22910
22911
22912static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 wxWindow *arg1 = (wxWindow *) 0 ;
22915 wxPoint *arg2 = 0 ;
22916 int result;
22917 wxPoint temp2 ;
22918 PyObject * obj0 = 0 ;
22919 PyObject * obj1 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "pt", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
22925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22926 {
22927 arg2 = &temp2;
22928 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22929 }
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = PyInt_FromLong((long)result);
22938 return resultobj;
22939 fail:
22940 return NULL;
22941}
22942
22943
22944static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxWindow *arg1 = (wxWindow *) 0 ;
22947 long arg2 ;
22948 int result;
22949 PyObject * obj0 = 0 ;
22950 char *kwnames[] = {
22951 (char *) "self",(char *) "flags", NULL
22952 };
22953
22954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
22955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 resultobj = PyInt_FromLong((long)result);
22964 return resultobj;
22965 fail:
22966 return NULL;
22967}
22968
22969
22970static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj;
22972 wxWindow *arg1 = (wxWindow *) 0 ;
22973 int result;
22974 PyObject * obj0 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "self", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
22980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = (int)((wxWindow const *)arg1)->GetBorder();
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 resultobj = PyInt_FromLong((long)result);
22989 return resultobj;
22990 fail:
22991 return NULL;
22992}
22993
22994
22995static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxWindow *arg1 = (wxWindow *) 0 ;
22998 long arg2 = (long) wxUPDATE_UI_NONE ;
22999 PyObject * obj0 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "self",(char *) "flags", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 (arg1)->UpdateWindowUI(arg2);
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 Py_INCREF(Py_None); resultobj = Py_None;
23014 return resultobj;
23015 fail:
23016 return NULL;
23017}
23018
23019
23020static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxWindow *arg1 = (wxWindow *) 0 ;
23023 wxMenu *arg2 = (wxMenu *) 0 ;
23024 int arg3 ;
23025 int arg4 ;
23026 bool result;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 resultobj = PyInt_FromLong((long)result);
23044 return resultobj;
23045 fail:
23046 return NULL;
23047}
23048
23049
23050static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxWindow *arg1 = (wxWindow *) 0 ;
23053 wxMenu *arg2 = (wxMenu *) 0 ;
23054 wxPoint *arg3 = 0 ;
23055 bool result;
23056 wxPoint temp3 ;
23057 PyObject * obj0 = 0 ;
23058 PyObject * obj1 = 0 ;
23059 PyObject * obj2 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self",(char *) "menu",(char *) "pos", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23067 {
23068 arg3 = &temp3;
23069 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23070 }
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23074
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
23078 resultobj = PyInt_FromLong((long)result);
23079 return resultobj;
23080 fail:
23081 return NULL;
23082}
23083
23084
23085static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23086 PyObject *resultobj;
23087 wxWindow *arg1 = (wxWindow *) 0 ;
23088 long result;
23089 PyObject * obj0 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 result = (long)wxWindow_GetHandle(arg1);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 resultobj = PyInt_FromLong((long)result);
23104 return resultobj;
23105 fail:
23106 return NULL;
23107}
23108
23109
23110static PyObject *_wrap_Window_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxWindow *arg1 = (wxWindow *) 0 ;
23113 wxPaintEvent *arg2 = 0 ;
23114 PyObject * obj0 = 0 ;
23115 PyObject * obj1 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self",(char *) "event", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
23121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPaintEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23123 if (arg2 == NULL) {
23124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23125 }
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 (arg1)->OnPaint(*arg2);
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137}
23138
23139
23140static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxWindow *arg1 = (wxWindow *) 0 ;
23143 int arg2 ;
23144 bool result;
23145 PyObject * obj0 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "orient", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23155
23156 wxPyEndAllowThreads(__tstate);
23157 if (PyErr_Occurred()) SWIG_fail;
23158 }
23159 resultobj = PyInt_FromLong((long)result);
23160 return resultobj;
23161 fail:
23162 return NULL;
23163}
23164
23165
23166static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj;
23168 wxWindow *arg1 = (wxWindow *) 0 ;
23169 int arg2 ;
23170 int arg3 ;
23171 int arg4 ;
23172 int arg5 ;
423f194a 23173 bool arg6 = (bool) True ;
d14a1e28
RD
23174 PyObject * obj0 = 0 ;
23175 PyObject * obj5 = 0 ;
23176 char *kwnames[] = {
23177 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23178 };
23179
23180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23182 if (obj5) {
23183 arg6 = PyInt_AsLong(obj5) ? true : false;
23184 if (PyErr_Occurred()) SWIG_fail;
23185 }
23186 {
23187 PyThreadState* __tstate = wxPyBeginAllowThreads();
23188 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23189
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 Py_INCREF(Py_None); resultobj = Py_None;
23194 return resultobj;
23195 fail:
23196 return NULL;
23197}
23198
23199
23200static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxWindow *arg1 = (wxWindow *) 0 ;
23203 int arg2 ;
23204 int arg3 ;
423f194a 23205 bool arg4 = (bool) True ;
d14a1e28
RD
23206 PyObject * obj0 = 0 ;
23207 PyObject * obj3 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23214 if (obj3) {
23215 arg4 = PyInt_AsLong(obj3) ? true : false;
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 (arg1)->SetScrollPos(arg2,arg3,arg4);
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 Py_INCREF(Py_None); resultobj = Py_None;
23226 return resultobj;
23227 fail:
23228 return NULL;
23229}
23230
23231
23232static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23233 PyObject *resultobj;
23234 wxWindow *arg1 = (wxWindow *) 0 ;
23235 int arg2 ;
23236 int result;
23237 PyObject * obj0 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self",(char *) "orient", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23247
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 resultobj = PyInt_FromLong((long)result);
23252 return resultobj;
23253 fail:
23254 return NULL;
23255}
23256
23257
23258static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj;
23260 wxWindow *arg1 = (wxWindow *) 0 ;
23261 int arg2 ;
23262 int result;
23263 PyObject * obj0 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "self",(char *) "orient", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 resultobj = PyInt_FromLong((long)result);
23278 return resultobj;
23279 fail:
23280 return NULL;
23281}
23282
23283
23284static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23285 PyObject *resultobj;
23286 wxWindow *arg1 = (wxWindow *) 0 ;
23287 int arg2 ;
23288 int result;
23289 PyObject * obj0 = 0 ;
23290 char *kwnames[] = {
23291 (char *) "self",(char *) "orient", NULL
23292 };
23293
23294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 resultobj = PyInt_FromLong((long)result);
23304 return resultobj;
23305 fail:
23306 return NULL;
23307}
23308
23309
23310static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23311 PyObject *resultobj;
23312 wxWindow *arg1 = (wxWindow *) 0 ;
23313 int arg2 ;
23314 int arg3 ;
23315 wxRect *arg4 = (wxRect *) NULL ;
23316 PyObject * obj0 = 0 ;
23317 PyObject * obj3 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23324 if (obj3) {
23325 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23326 }
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23330
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 Py_INCREF(Py_None); resultobj = Py_None;
23335 return resultobj;
23336 fail:
23337 return NULL;
23338}
23339
23340
23341static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23342 PyObject *resultobj;
23343 wxWindow *arg1 = (wxWindow *) 0 ;
23344 int arg2 ;
23345 bool result;
23346 PyObject * obj0 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self",(char *) "lines", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 result = (bool)(arg1)->ScrollLines(arg2);
23356
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 resultobj = PyInt_FromLong((long)result);
23361 return resultobj;
23362 fail:
23363 return NULL;
23364}
23365
23366
23367static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23368 PyObject *resultobj;
23369 wxWindow *arg1 = (wxWindow *) 0 ;
23370 int arg2 ;
23371 bool result;
23372 PyObject * obj0 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self",(char *) "pages", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (bool)(arg1)->ScrollPages(arg2);
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 resultobj = PyInt_FromLong((long)result);
23387 return resultobj;
23388 fail:
23389 return NULL;
23390}
23391
23392
23393static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxWindow *arg1 = (wxWindow *) 0 ;
23396 bool result;
23397 PyObject * obj0 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 result = (bool)(arg1)->LineUp();
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 resultobj = PyInt_FromLong((long)result);
23412 return resultobj;
23413 fail:
23414 return NULL;
23415}
23416
23417
23418static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23419 PyObject *resultobj;
23420 wxWindow *arg1 = (wxWindow *) 0 ;
23421 bool result;
23422 PyObject * obj0 = 0 ;
23423 char *kwnames[] = {
23424 (char *) "self", NULL
23425 };
23426
23427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 result = (bool)(arg1)->LineDown();
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 resultobj = PyInt_FromLong((long)result);
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
23443static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxWindow *arg1 = (wxWindow *) 0 ;
23446 bool result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 result = (bool)(arg1)->PageUp();
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 resultobj = PyInt_FromLong((long)result);
23462 return resultobj;
23463 fail:
23464 return NULL;
23465}
23466
23467
23468static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxWindow *arg1 = (wxWindow *) 0 ;
23471 bool result;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (bool)(arg1)->PageDown();
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = PyInt_FromLong((long)result);
23487 return resultobj;
23488 fail:
23489 return NULL;
23490}
23491
23492
23493static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxWindow *arg1 = (wxWindow *) 0 ;
23496 wxString *arg2 = 0 ;
423f194a 23497 bool temp2 = False ;
d14a1e28
RD
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 char *kwnames[] = {
23501 (char *) "self",(char *) "text", NULL
23502 };
23503
23504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23506 {
23507 arg2 = wxString_in_helper(obj1);
23508 if (arg2 == NULL) SWIG_fail;
423f194a 23509 temp2 = True;
d14a1e28
RD
23510 }
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 (arg1)->SetHelpText((wxString const &)*arg2);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 Py_INCREF(Py_None); resultobj = Py_None;
23519 {
23520 if (temp2)
23521 delete arg2;
23522 }
23523 return resultobj;
23524 fail:
23525 {
23526 if (temp2)
23527 delete arg2;
23528 }
23529 return NULL;
23530}
23531
23532
23533static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23534 PyObject *resultobj;
23535 wxWindow *arg1 = (wxWindow *) 0 ;
23536 wxString *arg2 = 0 ;
423f194a 23537 bool temp2 = False ;
d14a1e28
RD
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "text", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23546 {
23547 arg2 = wxString_in_helper(obj1);
23548 if (arg2 == NULL) SWIG_fail;
423f194a 23549 temp2 = True;
d14a1e28
RD
23550 }
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 Py_INCREF(Py_None); resultobj = Py_None;
23559 {
23560 if (temp2)
23561 delete arg2;
23562 }
23563 return resultobj;
23564 fail:
23565 {
23566 if (temp2)
23567 delete arg2;
23568 }
23569 return NULL;
23570}
23571
23572
23573static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxWindow *arg1 = (wxWindow *) 0 ;
23576 wxString result;
23577 PyObject * obj0 = 0 ;
23578 char *kwnames[] = {
23579 (char *) "self", NULL
23580 };
23581
23582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 result = ((wxWindow const *)arg1)->GetHelpText();
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 {
23592#if wxUSE_UNICODE
23593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23594#else
23595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23596#endif
23597 }
23598 return resultobj;
23599 fail:
23600 return NULL;
23601}
23602
23603
23604static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23605 PyObject *resultobj;
23606 wxWindow *arg1 = (wxWindow *) 0 ;
23607 wxString *arg2 = 0 ;
423f194a 23608 bool temp2 = False ;
d14a1e28
RD
23609 PyObject * obj0 = 0 ;
23610 PyObject * obj1 = 0 ;
23611 char *kwnames[] = {
23612 (char *) "self",(char *) "tip", NULL
23613 };
23614
23615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23617 {
23618 arg2 = wxString_in_helper(obj1);
23619 if (arg2 == NULL) SWIG_fail;
423f194a 23620 temp2 = True;
d14a1e28
RD
23621 }
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 (arg1)->SetToolTip((wxString const &)*arg2);
23625
23626 wxPyEndAllowThreads(__tstate);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
23629 Py_INCREF(Py_None); resultobj = Py_None;
23630 {
23631 if (temp2)
23632 delete arg2;
23633 }
23634 return resultobj;
23635 fail:
23636 {
23637 if (temp2)
23638 delete arg2;
23639 }
23640 return NULL;
23641}
23642
23643
23644static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxWindow *arg1 = (wxWindow *) 0 ;
23647 wxToolTip *arg2 = (wxToolTip *) 0 ;
23648 PyObject * obj0 = 0 ;
23649 PyObject * obj1 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self",(char *) "tip", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 (arg1)->SetToolTip(arg2);
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 Py_INCREF(Py_None); resultobj = Py_None;
23665 return resultobj;
23666 fail:
23667 return NULL;
23668}
23669
23670
23671static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxWindow *arg1 = (wxWindow *) 0 ;
23674 wxToolTip *result;
23675 PyObject * obj0 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 {
23690 resultobj = wxPyMake_wxObject(result);
23691 }
23692 return resultobj;
23693 fail:
23694 return NULL;
23695}
23696
23697
23698static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23699 PyObject *resultobj;
23700 wxWindow *arg1 = (wxWindow *) 0 ;
23701 wxDropTarget *arg2 = (wxDropTarget *) 0 ;
23702 PyObject * obj0 = 0 ;
23703 PyObject * obj1 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self",(char *) "dropTarget", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
23709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 (arg1)->SetDropTarget(arg2);
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 Py_INCREF(Py_None); resultobj = Py_None;
23719 return resultobj;
23720 fail:
23721 return NULL;
23722}
23723
23724
23725static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23726 PyObject *resultobj;
23727 wxWindow *arg1 = (wxWindow *) 0 ;
23728 wxDropTarget *result;
23729 PyObject * obj0 = 0 ;
23730 char *kwnames[] = {
23731 (char *) "self", NULL
23732 };
23733
23734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
23735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (wxDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDropTarget, 0);
23744 return resultobj;
23745 fail:
23746 return NULL;
23747}
23748
23749
23750static PyObject *_wrap_Window_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj;
23752 wxWindow *arg1 = (wxWindow *) 0 ;
23753 bool arg2 ;
23754 PyObject * obj0 = 0 ;
23755 PyObject * obj1 = 0 ;
23756 char *kwnames[] = {
23757 (char *) "self",(char *) "accept", NULL
23758 };
23759
23760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
23761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23762 arg2 = PyInt_AsLong(obj1) ? true : false;
23763 if (PyErr_Occurred()) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 (arg1)->DragAcceptFiles(arg2);
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 Py_INCREF(Py_None); resultobj = Py_None;
23772 return resultobj;
23773 fail:
23774 return NULL;
23775}
23776
23777
23778static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23779 PyObject *resultobj;
23780 wxWindow *arg1 = (wxWindow *) 0 ;
23781 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
23782 PyObject * obj0 = 0 ;
23783 PyObject * obj1 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "self",(char *) "constraints", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
23789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 (arg1)->SetConstraints(arg2);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 Py_INCREF(Py_None); resultobj = Py_None;
23799 return resultobj;
23800 fail:
23801 return NULL;
23802}
23803
23804
23805static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxWindow *arg1 = (wxWindow *) 0 ;
23808 wxLayoutConstraints *result;
23809 PyObject * obj0 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "self", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
23815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23816 {
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
23824 return resultobj;
23825 fail:
23826 return NULL;
23827}
23828
23829
23830static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23831 PyObject *resultobj;
23832 wxWindow *arg1 = (wxWindow *) 0 ;
23833 bool arg2 ;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self",(char *) "autoLayout", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
23841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23842 arg2 = PyInt_AsLong(obj1) ? true : false;
23843 if (PyErr_Occurred()) SWIG_fail;
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 (arg1)->SetAutoLayout(arg2);
23847
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 Py_INCREF(Py_None); resultobj = Py_None;
23852 return resultobj;
23853 fail:
23854 return NULL;
23855}
23856
23857
23858static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxWindow *arg1 = (wxWindow *) 0 ;
23861 bool result;
23862 PyObject * obj0 = 0 ;
23863 char *kwnames[] = {
23864 (char *) "self", NULL
23865 };
23866
23867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
23868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 resultobj = PyInt_FromLong((long)result);
23877 return resultobj;
23878 fail:
23879 return NULL;
23880}
23881
23882
23883static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
23884 PyObject *resultobj;
23885 wxWindow *arg1 = (wxWindow *) 0 ;
23886 bool result;
23887 PyObject * obj0 = 0 ;
23888 char *kwnames[] = {
23889 (char *) "self", NULL
23890 };
23891
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
23893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (bool)(arg1)->Layout();
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 resultobj = PyInt_FromLong((long)result);
23902 return resultobj;
23903 fail:
23904 return NULL;
23905}
23906
23907
23908static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxWindow *arg1 = (wxWindow *) 0 ;
23911 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 23912 bool arg3 = (bool) True ;
d14a1e28
RD
23913 PyObject * obj0 = 0 ;
23914 PyObject * obj1 = 0 ;
23915 PyObject * obj2 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
23921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23923 if (obj2) {
23924 arg3 = PyInt_AsLong(obj2) ? true : false;
23925 if (PyErr_Occurred()) SWIG_fail;
23926 }
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 (arg1)->SetSizer(arg2,arg3);
23930
23931 wxPyEndAllowThreads(__tstate);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 }
23934 Py_INCREF(Py_None); resultobj = Py_None;
23935 return resultobj;
23936 fail:
23937 return NULL;
23938}
23939
23940
23941static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
23942 PyObject *resultobj;
23943 wxWindow *arg1 = (wxWindow *) 0 ;
23944 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 23945 bool arg3 = (bool) True ;
d14a1e28
RD
23946 PyObject * obj0 = 0 ;
23947 PyObject * obj1 = 0 ;
23948 PyObject * obj2 = 0 ;
23949 char *kwnames[] = {
23950 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23951 };
23952
23953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
23954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23956 if (obj2) {
23957 arg3 = PyInt_AsLong(obj2) ? true : false;
23958 if (PyErr_Occurred()) SWIG_fail;
23959 }
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 (arg1)->SetSizerAndFit(arg2,arg3);
23963
23964 wxPyEndAllowThreads(__tstate);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 }
23967 Py_INCREF(Py_None); resultobj = Py_None;
23968 return resultobj;
23969 fail:
23970 return NULL;
23971}
23972
23973
23974static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23975 PyObject *resultobj;
23976 wxWindow *arg1 = (wxWindow *) 0 ;
23977 wxSizer *result;
23978 PyObject * obj0 = 0 ;
23979 char *kwnames[] = {
23980 (char *) "self", NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
23984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 {
23993 resultobj = wxPyMake_wxSizer(result);
23994 }
23995 return resultobj;
23996 fail:
23997 return NULL;
23998}
23999
24000
24001static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24002 PyObject *resultobj;
24003 wxWindow *arg1 = (wxWindow *) 0 ;
24004 wxSizer *arg2 = (wxSizer *) 0 ;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "sizer", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 (arg1)->SetContainingSizer(arg2);
24017
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
24021 Py_INCREF(Py_None); resultobj = Py_None;
24022 return resultobj;
24023 fail:
24024 return NULL;
24025}
24026
24027
24028static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24029 PyObject *resultobj;
24030 wxWindow *arg1 = (wxWindow *) 0 ;
24031 wxSizer *result;
24032 PyObject * obj0 = 0 ;
24033 char *kwnames[] = {
24034 (char *) "self", NULL
24035 };
24036
24037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
24038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 {
24047 resultobj = wxPyMake_wxSizer(result);
24048 }
24049 return resultobj;
24050 fail:
24051 return NULL;
24052}
24053
24054
24055static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24056 PyObject *obj;
24057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24058 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24059 Py_INCREF(obj);
24060 return Py_BuildValue((char *)"");
24061}
24062static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 long arg1 ;
24065 wxWindow *arg2 = (wxWindow *) NULL ;
24066 wxWindow *result;
24067 PyObject * obj1 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "id",(char *) "parent", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24073 if (obj1) {
24074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24075 }
24076 {
24077 PyThreadState* __tstate = wxPyBeginAllowThreads();
24078 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24079
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
24083 {
24084 resultobj = wxPyMake_wxObject(result);
24085 }
24086 return resultobj;
24087 fail:
24088 return NULL;
24089}
24090
24091
24092static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24093 PyObject *resultobj;
24094 wxString *arg1 = 0 ;
24095 wxWindow *arg2 = (wxWindow *) NULL ;
24096 wxWindow *result;
423f194a 24097 bool temp1 = False ;
d14a1e28
RD
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "name",(char *) "parent", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24105 {
24106 arg1 = wxString_in_helper(obj0);
24107 if (arg1 == NULL) SWIG_fail;
423f194a 24108 temp1 = True;
d14a1e28
RD
24109 }
24110 if (obj1) {
24111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 {
24121 resultobj = wxPyMake_wxObject(result);
24122 }
24123 {
24124 if (temp1)
24125 delete arg1;
24126 }
24127 return resultobj;
24128 fail:
24129 {
24130 if (temp1)
24131 delete arg1;
24132 }
24133 return NULL;
24134}
24135
24136
24137static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24138 PyObject *resultobj;
24139 wxString *arg1 = 0 ;
24140 wxWindow *arg2 = (wxWindow *) NULL ;
24141 wxWindow *result;
423f194a 24142 bool temp1 = False ;
d14a1e28
RD
24143 PyObject * obj0 = 0 ;
24144 PyObject * obj1 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "label",(char *) "parent", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24150 {
24151 arg1 = wxString_in_helper(obj0);
24152 if (arg1 == NULL) SWIG_fail;
423f194a 24153 temp1 = True;
d14a1e28
RD
24154 }
24155 if (obj1) {
24156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 {
24166 resultobj = wxPyMake_wxObject(result);
24167 }
24168 {
24169 if (temp1)
24170 delete arg1;
24171 }
24172 return resultobj;
24173 fail:
24174 {
24175 if (temp1)
24176 delete arg1;
24177 }
24178 return NULL;
24179}
24180
24181
24182static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj;
24184 unsigned long arg1 ;
24185 wxWindow *result;
24186 PyObject * obj0 = 0 ;
24187 char *kwnames[] = {
24188 (char *) "hWnd", NULL
24189 };
24190
24191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24192 arg1 = (unsigned long) PyInt_AsLong(obj0);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 result = (wxWindow *)wxWindow_FromHWND(arg1);
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 {
24202 resultobj = wxPyMake_wxObject(result);
24203 }
24204 return resultobj;
24205 fail:
24206 return NULL;
24207}
24208
24209
24210static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj;
24212 wxValidator *result;
24213 char *kwnames[] = {
24214 NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 result = (wxValidator *)new wxValidator();
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 {
24226 resultobj = wxPyMake_wxObject(result);
24227 }
24228 return resultobj;
24229 fail:
24230 return NULL;
24231}
24232
24233
24234static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24235 PyObject *resultobj;
24236 wxValidator *arg1 = (wxValidator *) 0 ;
24237 wxValidator *result;
24238 PyObject * obj0 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = (wxValidator *)(arg1)->Clone();
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 {
24253 resultobj = wxPyMake_wxObject(result);
24254 }
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
24261static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxValidator *arg1 = (wxValidator *) 0 ;
24264 wxWindow *arg2 = (wxWindow *) 0 ;
24265 bool result;
24266 PyObject * obj0 = 0 ;
24267 PyObject * obj1 = 0 ;
24268 char *kwnames[] = {
24269 (char *) "self",(char *) "parent", NULL
24270 };
24271
24272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 result = (bool)(arg1)->Validate(arg2);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 resultobj = PyInt_FromLong((long)result);
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
24289static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxValidator *arg1 = (wxValidator *) 0 ;
24292 bool result;
24293 PyObject * obj0 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 result = (bool)(arg1)->TransferToWindow();
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 resultobj = PyInt_FromLong((long)result);
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
24314static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj;
24316 wxValidator *arg1 = (wxValidator *) 0 ;
24317 bool result;
24318 PyObject * obj0 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 result = (bool)(arg1)->TransferFromWindow();
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 resultobj = PyInt_FromLong((long)result);
24333 return resultobj;
24334 fail:
24335 return NULL;
24336}
24337
24338
24339static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxValidator *arg1 = (wxValidator *) 0 ;
24342 wxWindow *result;
24343 PyObject * obj0 = 0 ;
24344 char *kwnames[] = {
24345 (char *) "self", NULL
24346 };
24347
24348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 result = (wxWindow *)(arg1)->GetWindow();
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 {
24358 resultobj = wxPyMake_wxObject(result);
24359 }
24360 return resultobj;
24361 fail:
24362 return NULL;
24363}
24364
24365
24366static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxValidator *arg1 = (wxValidator *) 0 ;
24369 wxWindow *arg2 = (wxWindow *) 0 ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "window", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 (arg1)->SetWindow(arg2);
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 Py_INCREF(Py_None); resultobj = Py_None;
24387 return resultobj;
24388 fail:
24389 return NULL;
24390}
24391
24392
24393static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24394 PyObject *resultobj;
24395 bool result;
24396 char *kwnames[] = {
24397 NULL
24398 };
24399
24400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 result = (bool)wxValidator::IsSilent();
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 resultobj = PyInt_FromLong((long)result);
24409 return resultobj;
24410 fail:
24411 return NULL;
24412}
24413
24414
24415static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
423f194a 24417 int arg1 = (int) True ;
d14a1e28
RD
24418 char *kwnames[] = {
24419 (char *) "doIt", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 wxValidator::SetBellOnError(arg1);
24426
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 Py_INCREF(Py_None); resultobj = Py_None;
24431 return resultobj;
24432 fail:
24433 return NULL;
24434}
24435
24436
24437static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24438 PyObject *obj;
24439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24440 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24441 Py_INCREF(obj);
24442 return Py_BuildValue((char *)"");
24443}
24444static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj;
24446 wxPyValidator *result;
24447 char *kwnames[] = {
24448 NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (wxPyValidator *)new wxPyValidator();
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24460 return resultobj;
24461 fail:
24462 return NULL;
24463}
24464
24465
24466static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24469 PyObject *arg2 = (PyObject *) 0 ;
24470 PyObject *arg3 = (PyObject *) 0 ;
423f194a 24471 int arg4 = (int) True ;
d14a1e28
RD
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 PyObject * obj2 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24481 arg2 = obj1;
24482 arg3 = obj2;
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 Py_INCREF(Py_None); resultobj = Py_None;
24491 return resultobj;
24492 fail:
24493 return NULL;
24494}
24495
24496
24497static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24498 PyObject *obj;
24499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24500 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24501 Py_INCREF(obj);
24502 return Py_BuildValue((char *)"");
24503}
24504static int _wrap_DefaultValidator_set(PyObject *_val) {
24505 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24506 return 1;
24507}
24508
24509
24510static PyObject *_wrap_DefaultValidator_get() {
24511 PyObject *pyobj;
24512
24513 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24514 return pyobj;
24515}
24516
24517
24518static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24519 PyObject *resultobj;
24520 wxString const &arg1_defvalue = wxPyEmptyString ;
24521 wxString *arg1 = (wxString *) &arg1_defvalue ;
24522 long arg2 = (long) 0 ;
24523 wxMenu *result;
423f194a 24524 bool temp1 = False ;
d14a1e28
RD
24525 PyObject * obj0 = 0 ;
24526 char *kwnames[] = {
24527 (char *) "title",(char *) "style", NULL
24528 };
24529
24530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24531 if (obj0) {
24532 {
24533 arg1 = wxString_in_helper(obj0);
24534 if (arg1 == NULL) SWIG_fail;
423f194a 24535 temp1 = True;
d14a1e28
RD
24536 }
24537 }
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 {
24546 resultobj = wxPyMake_wxObject(result);
24547 }
24548 {
24549 if (temp1)
24550 delete arg1;
24551 }
24552 return resultobj;
24553 fail:
24554 {
24555 if (temp1)
24556 delete arg1;
24557 }
24558 return NULL;
24559}
24560
24561
24562static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj;
24564 wxMenu *arg1 = (wxMenu *) 0 ;
24565 int arg2 ;
24566 wxString *arg3 = 0 ;
24567 wxString const &arg4_defvalue = wxPyEmptyString ;
24568 wxString *arg4 = (wxString *) &arg4_defvalue ;
24569 int arg5 = (int) wxITEM_NORMAL ;
423f194a
RD
24570 bool temp3 = False ;
24571 bool temp4 = False ;
d14a1e28
RD
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj2 = 0 ;
24574 PyObject * obj3 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24581 {
24582 arg3 = wxString_in_helper(obj2);
24583 if (arg3 == NULL) SWIG_fail;
423f194a 24584 temp3 = True;
d14a1e28
RD
24585 }
24586 if (obj3) {
24587 {
24588 arg4 = wxString_in_helper(obj3);
24589 if (arg4 == NULL) SWIG_fail;
423f194a 24590 temp4 = True;
d14a1e28
RD
24591 }
24592 }
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 Py_INCREF(Py_None); resultobj = Py_None;
24601 {
24602 if (temp3)
24603 delete arg3;
24604 }
24605 {
24606 if (temp4)
24607 delete arg4;
24608 }
24609 return resultobj;
24610 fail:
24611 {
24612 if (temp3)
24613 delete arg3;
24614 }
24615 {
24616 if (temp4)
24617 delete arg4;
24618 }
24619 return NULL;
24620}
24621
24622
24623static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj;
24625 wxMenu *arg1 = (wxMenu *) 0 ;
24626 PyObject * obj0 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 (arg1)->AppendSeparator();
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 Py_INCREF(Py_None); resultobj = Py_None;
24641 return resultobj;
24642 fail:
24643 return NULL;
24644}
24645
24646
24647static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxMenu *arg1 = (wxMenu *) 0 ;
24650 int arg2 ;
24651 wxString *arg3 = 0 ;
24652 wxString const &arg4_defvalue = wxPyEmptyString ;
24653 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
24654 bool temp3 = False ;
24655 bool temp4 = False ;
d14a1e28
RD
24656 PyObject * obj0 = 0 ;
24657 PyObject * obj2 = 0 ;
24658 PyObject * obj3 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24665 {
24666 arg3 = wxString_in_helper(obj2);
24667 if (arg3 == NULL) SWIG_fail;
423f194a 24668 temp3 = True;
d14a1e28
RD
24669 }
24670 if (obj3) {
24671 {
24672 arg4 = wxString_in_helper(obj3);
24673 if (arg4 == NULL) SWIG_fail;
423f194a 24674 temp4 = True;
d14a1e28
RD
24675 }
24676 }
24677 {
24678 PyThreadState* __tstate = wxPyBeginAllowThreads();
24679 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24680
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 Py_INCREF(Py_None); resultobj = Py_None;
24685 {
24686 if (temp3)
24687 delete arg3;
24688 }
24689 {
24690 if (temp4)
24691 delete arg4;
24692 }
24693 return resultobj;
24694 fail:
24695 {
24696 if (temp3)
24697 delete arg3;
24698 }
24699 {
24700 if (temp4)
24701 delete arg4;
24702 }
24703 return NULL;
24704}
24705
24706
24707static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxMenu *arg1 = (wxMenu *) 0 ;
24710 int arg2 ;
24711 wxString *arg3 = 0 ;
24712 wxString const &arg4_defvalue = wxPyEmptyString ;
24713 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
24714 bool temp3 = False ;
24715 bool temp4 = False ;
d14a1e28
RD
24716 PyObject * obj0 = 0 ;
24717 PyObject * obj2 = 0 ;
24718 PyObject * obj3 = 0 ;
24719 char *kwnames[] = {
24720 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24721 };
24722
24723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24725 {
24726 arg3 = wxString_in_helper(obj2);
24727 if (arg3 == NULL) SWIG_fail;
423f194a 24728 temp3 = True;
d14a1e28
RD
24729 }
24730 if (obj3) {
24731 {
24732 arg4 = wxString_in_helper(obj3);
24733 if (arg4 == NULL) SWIG_fail;
423f194a 24734 temp4 = True;
d14a1e28
RD
24735 }
24736 }
24737 {
24738 PyThreadState* __tstate = wxPyBeginAllowThreads();
24739 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24740
24741 wxPyEndAllowThreads(__tstate);
24742 if (PyErr_Occurred()) SWIG_fail;
24743 }
24744 Py_INCREF(Py_None); resultobj = Py_None;
24745 {
24746 if (temp3)
24747 delete arg3;
24748 }
24749 {
24750 if (temp4)
24751 delete arg4;
24752 }
24753 return resultobj;
24754 fail:
24755 {
24756 if (temp3)
24757 delete arg3;
24758 }
24759 {
24760 if (temp4)
24761 delete arg4;
24762 }
24763 return NULL;
24764}
24765
24766
24767static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
24768 PyObject *resultobj;
24769 wxMenu *arg1 = (wxMenu *) 0 ;
24770 int arg2 ;
24771 wxString *arg3 = 0 ;
24772 wxMenu *arg4 = (wxMenu *) 0 ;
24773 wxString const &arg5_defvalue = wxPyEmptyString ;
24774 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
24775 bool temp3 = False ;
24776 bool temp5 = False ;
d14a1e28
RD
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj2 = 0 ;
24779 PyObject * obj3 = 0 ;
24780 PyObject * obj4 = 0 ;
24781 char *kwnames[] = {
24782 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24783 };
24784
24785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
24786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24787 {
24788 arg3 = wxString_in_helper(obj2);
24789 if (arg3 == NULL) SWIG_fail;
423f194a 24790 temp3 = True;
d14a1e28
RD
24791 }
24792 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24793 if (obj4) {
24794 {
24795 arg5 = wxString_in_helper(obj4);
24796 if (arg5 == NULL) SWIG_fail;
423f194a 24797 temp5 = True;
d14a1e28
RD
24798 }
24799 }
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 Py_INCREF(Py_None); resultobj = Py_None;
24808 {
24809 if (temp3)
24810 delete arg3;
24811 }
24812 {
24813 if (temp5)
24814 delete arg5;
24815 }
24816 return resultobj;
24817 fail:
24818 {
24819 if (temp3)
24820 delete arg3;
24821 }
24822 {
24823 if (temp5)
24824 delete arg5;
24825 }
24826 return NULL;
24827}
24828
24829
24830static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxMenu *arg1 = (wxMenu *) 0 ;
24833 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
24834 PyObject * obj0 = 0 ;
24835 PyObject * obj1 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self",(char *) "item", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 (arg1)->Append(arg2);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 Py_INCREF(Py_None); resultobj = Py_None;
24851 return resultobj;
24852 fail:
24853 return NULL;
24854}
24855
24856
24857static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxMenu *arg1 = (wxMenu *) 0 ;
24860 PyObject * obj0 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
24866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 (arg1)->Break();
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 Py_INCREF(Py_None); resultobj = Py_None;
24875 return resultobj;
24876 fail:
24877 return NULL;
24878}
24879
24880
24881static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxMenu *arg1 = (wxMenu *) 0 ;
24884 size_t arg2 ;
24885 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
24886 bool result;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 PyObject * obj2 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self",(char *) "pos",(char *) "item", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24896 arg2 = (size_t) PyInt_AsLong(obj1);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 result = (bool)(arg1)->Insert(arg2,arg3);
24902
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 resultobj = PyInt_FromLong((long)result);
24907 return resultobj;
24908 fail:
24909 return NULL;
24910}
24911
24912
24913static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
24914 PyObject *resultobj;
24915 wxMenu *arg1 = (wxMenu *) 0 ;
24916 size_t arg2 ;
24917 int arg3 ;
24918 wxString *arg4 = 0 ;
24919 wxString const &arg5_defvalue = wxPyEmptyString ;
24920 wxString *arg5 = (wxString *) &arg5_defvalue ;
24921 int arg6 = (int) wxITEM_NORMAL ;
423f194a
RD
24922 bool temp4 = False ;
24923 bool temp5 = False ;
d14a1e28
RD
24924 PyObject * obj0 = 0 ;
24925 PyObject * obj1 = 0 ;
24926 PyObject * obj3 = 0 ;
24927 PyObject * obj4 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24934 arg2 = (size_t) PyInt_AsLong(obj1);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 {
24937 arg4 = wxString_in_helper(obj3);
24938 if (arg4 == NULL) SWIG_fail;
423f194a 24939 temp4 = True;
d14a1e28
RD
24940 }
24941 if (obj4) {
24942 {
24943 arg5 = wxString_in_helper(obj4);
24944 if (arg5 == NULL) SWIG_fail;
423f194a 24945 temp5 = True;
d14a1e28
RD
24946 }
24947 }
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 Py_INCREF(Py_None); resultobj = Py_None;
24956 {
24957 if (temp4)
24958 delete arg4;
24959 }
24960 {
24961 if (temp5)
24962 delete arg5;
24963 }
24964 return resultobj;
24965 fail:
24966 {
24967 if (temp4)
24968 delete arg4;
24969 }
24970 {
24971 if (temp5)
24972 delete arg5;
24973 }
24974 return NULL;
24975}
24976
24977
24978static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj;
24980 wxMenu *arg1 = (wxMenu *) 0 ;
24981 size_t arg2 ;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 char *kwnames[] = {
24985 (char *) "self",(char *) "pos", NULL
24986 };
24987
24988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
24989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24990 arg2 = (size_t) PyInt_AsLong(obj1);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 (arg1)->InsertSeparator(arg2);
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 Py_INCREF(Py_None); resultobj = Py_None;
25000 return resultobj;
25001 fail:
25002 return NULL;
25003}
25004
25005
25006static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25007 PyObject *resultobj;
25008 wxMenu *arg1 = (wxMenu *) 0 ;
25009 size_t arg2 ;
25010 int arg3 ;
25011 wxString *arg4 = 0 ;
25012 wxString const &arg5_defvalue = wxPyEmptyString ;
25013 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25014 bool temp4 = False ;
25015 bool temp5 = False ;
d14a1e28
RD
25016 PyObject * obj0 = 0 ;
25017 PyObject * obj1 = 0 ;
25018 PyObject * obj3 = 0 ;
25019 PyObject * obj4 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25026 arg2 = (size_t) PyInt_AsLong(obj1);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 {
25029 arg4 = wxString_in_helper(obj3);
25030 if (arg4 == NULL) SWIG_fail;
423f194a 25031 temp4 = True;
d14a1e28
RD
25032 }
25033 if (obj4) {
25034 {
25035 arg5 = wxString_in_helper(obj4);
25036 if (arg5 == NULL) SWIG_fail;
423f194a 25037 temp5 = True;
d14a1e28
RD
25038 }
25039 }
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25043
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 Py_INCREF(Py_None); resultobj = Py_None;
25048 {
25049 if (temp4)
25050 delete arg4;
25051 }
25052 {
25053 if (temp5)
25054 delete arg5;
25055 }
25056 return resultobj;
25057 fail:
25058 {
25059 if (temp4)
25060 delete arg4;
25061 }
25062 {
25063 if (temp5)
25064 delete arg5;
25065 }
25066 return NULL;
25067}
25068
25069
25070static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj;
25072 wxMenu *arg1 = (wxMenu *) 0 ;
25073 size_t arg2 ;
25074 int arg3 ;
25075 wxString *arg4 = 0 ;
25076 wxString const &arg5_defvalue = wxPyEmptyString ;
25077 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25078 bool temp4 = False ;
25079 bool temp5 = False ;
d14a1e28
RD
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 PyObject * obj3 = 0 ;
25083 PyObject * obj4 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25090 arg2 = (size_t) PyInt_AsLong(obj1);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 {
25093 arg4 = wxString_in_helper(obj3);
25094 if (arg4 == NULL) SWIG_fail;
423f194a 25095 temp4 = True;
d14a1e28
RD
25096 }
25097 if (obj4) {
25098 {
25099 arg5 = wxString_in_helper(obj4);
25100 if (arg5 == NULL) SWIG_fail;
423f194a 25101 temp5 = True;
d14a1e28
RD
25102 }
25103 }
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25107
25108 wxPyEndAllowThreads(__tstate);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 }
25111 Py_INCREF(Py_None); resultobj = Py_None;
25112 {
25113 if (temp4)
25114 delete arg4;
25115 }
25116 {
25117 if (temp5)
25118 delete arg5;
25119 }
25120 return resultobj;
25121 fail:
25122 {
25123 if (temp4)
25124 delete arg4;
25125 }
25126 {
25127 if (temp5)
25128 delete arg5;
25129 }
25130 return NULL;
25131}
25132
25133
25134static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj;
25136 wxMenu *arg1 = (wxMenu *) 0 ;
25137 size_t arg2 ;
25138 int arg3 ;
25139 wxString *arg4 = 0 ;
25140 wxMenu *arg5 = (wxMenu *) 0 ;
25141 wxString const &arg6_defvalue = wxPyEmptyString ;
25142 wxString *arg6 = (wxString *) &arg6_defvalue ;
423f194a
RD
25143 bool temp4 = False ;
25144 bool temp6 = False ;
d14a1e28
RD
25145 PyObject * obj0 = 0 ;
25146 PyObject * obj1 = 0 ;
25147 PyObject * obj3 = 0 ;
25148 PyObject * obj4 = 0 ;
25149 PyObject * obj5 = 0 ;
25150 char *kwnames[] = {
25151 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25156 arg2 = (size_t) PyInt_AsLong(obj1);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 {
25159 arg4 = wxString_in_helper(obj3);
25160 if (arg4 == NULL) SWIG_fail;
423f194a 25161 temp4 = True;
d14a1e28
RD
25162 }
25163 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25164 if (obj5) {
25165 {
25166 arg6 = wxString_in_helper(obj5);
25167 if (arg6 == NULL) SWIG_fail;
423f194a 25168 temp6 = True;
d14a1e28
RD
25169 }
25170 }
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25174
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 Py_INCREF(Py_None); resultobj = Py_None;
25179 {
25180 if (temp4)
25181 delete arg4;
25182 }
25183 {
25184 if (temp6)
25185 delete arg6;
25186 }
25187 return resultobj;
25188 fail:
25189 {
25190 if (temp4)
25191 delete arg4;
25192 }
25193 {
25194 if (temp6)
25195 delete arg6;
25196 }
25197 return NULL;
25198}
25199
25200
25201static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxMenu *arg1 = (wxMenu *) 0 ;
25204 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self",(char *) "item", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 (arg1)->Prepend(arg2);
25217
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 Py_INCREF(Py_None); resultobj = Py_None;
25222 return resultobj;
25223 fail:
25224 return NULL;
25225}
25226
25227
25228static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxMenu *arg1 = (wxMenu *) 0 ;
25231 int arg2 ;
25232 wxString *arg3 = 0 ;
25233 wxString const &arg4_defvalue = wxPyEmptyString ;
25234 wxString *arg4 = (wxString *) &arg4_defvalue ;
25235 int arg5 = (int) wxITEM_NORMAL ;
423f194a
RD
25236 bool temp3 = False ;
25237 bool temp4 = False ;
d14a1e28
RD
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj2 = 0 ;
25240 PyObject * obj3 = 0 ;
25241 char *kwnames[] = {
25242 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25243 };
25244
25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25247 {
25248 arg3 = wxString_in_helper(obj2);
25249 if (arg3 == NULL) SWIG_fail;
423f194a 25250 temp3 = True;
d14a1e28
RD
25251 }
25252 if (obj3) {
25253 {
25254 arg4 = wxString_in_helper(obj3);
25255 if (arg4 == NULL) SWIG_fail;
423f194a 25256 temp4 = True;
d14a1e28
RD
25257 }
25258 }
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25262
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 Py_INCREF(Py_None); resultobj = Py_None;
25267 {
25268 if (temp3)
25269 delete arg3;
25270 }
25271 {
25272 if (temp4)
25273 delete arg4;
25274 }
25275 return resultobj;
25276 fail:
25277 {
25278 if (temp3)
25279 delete arg3;
25280 }
25281 {
25282 if (temp4)
25283 delete arg4;
25284 }
25285 return NULL;
25286}
25287
25288
25289static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25290 PyObject *resultobj;
25291 wxMenu *arg1 = (wxMenu *) 0 ;
25292 PyObject * obj0 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "self", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 (arg1)->PrependSeparator();
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 Py_INCREF(Py_None); resultobj = Py_None;
25307 return resultobj;
25308 fail:
25309 return NULL;
25310}
25311
25312
25313static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj;
25315 wxMenu *arg1 = (wxMenu *) 0 ;
25316 int arg2 ;
25317 wxString *arg3 = 0 ;
25318 wxString const &arg4_defvalue = wxPyEmptyString ;
25319 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25320 bool temp3 = False ;
25321 bool temp4 = False ;
d14a1e28
RD
25322 PyObject * obj0 = 0 ;
25323 PyObject * obj2 = 0 ;
25324 PyObject * obj3 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25331 {
25332 arg3 = wxString_in_helper(obj2);
25333 if (arg3 == NULL) SWIG_fail;
423f194a 25334 temp3 = True;
d14a1e28
RD
25335 }
25336 if (obj3) {
25337 {
25338 arg4 = wxString_in_helper(obj3);
25339 if (arg4 == NULL) SWIG_fail;
423f194a 25340 temp4 = True;
d14a1e28
RD
25341 }
25342 }
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25346
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 Py_INCREF(Py_None); resultobj = Py_None;
25351 {
25352 if (temp3)
25353 delete arg3;
25354 }
25355 {
25356 if (temp4)
25357 delete arg4;
25358 }
25359 return resultobj;
25360 fail:
25361 {
25362 if (temp3)
25363 delete arg3;
25364 }
25365 {
25366 if (temp4)
25367 delete arg4;
25368 }
25369 return NULL;
25370}
25371
25372
25373static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25374 PyObject *resultobj;
25375 wxMenu *arg1 = (wxMenu *) 0 ;
25376 int arg2 ;
25377 wxString *arg3 = 0 ;
25378 wxString const &arg4_defvalue = wxPyEmptyString ;
25379 wxString *arg4 = (wxString *) &arg4_defvalue ;
423f194a
RD
25380 bool temp3 = False ;
25381 bool temp4 = False ;
d14a1e28
RD
25382 PyObject * obj0 = 0 ;
25383 PyObject * obj2 = 0 ;
25384 PyObject * obj3 = 0 ;
25385 char *kwnames[] = {
25386 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25387 };
25388
25389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25391 {
25392 arg3 = wxString_in_helper(obj2);
25393 if (arg3 == NULL) SWIG_fail;
423f194a 25394 temp3 = True;
d14a1e28
RD
25395 }
25396 if (obj3) {
25397 {
25398 arg4 = wxString_in_helper(obj3);
25399 if (arg4 == NULL) SWIG_fail;
423f194a 25400 temp4 = True;
d14a1e28
RD
25401 }
25402 }
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 Py_INCREF(Py_None); resultobj = Py_None;
25411 {
25412 if (temp3)
25413 delete arg3;
25414 }
25415 {
25416 if (temp4)
25417 delete arg4;
25418 }
25419 return resultobj;
25420 fail:
25421 {
25422 if (temp3)
25423 delete arg3;
25424 }
25425 {
25426 if (temp4)
25427 delete arg4;
25428 }
25429 return NULL;
25430}
25431
25432
25433static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxMenu *arg1 = (wxMenu *) 0 ;
25436 int arg2 ;
25437 wxString *arg3 = 0 ;
25438 wxMenu *arg4 = (wxMenu *) 0 ;
25439 wxString const &arg5_defvalue = wxPyEmptyString ;
25440 wxString *arg5 = (wxString *) &arg5_defvalue ;
423f194a
RD
25441 bool temp3 = False ;
25442 bool temp5 = False ;
d14a1e28
RD
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj2 = 0 ;
25445 PyObject * obj3 = 0 ;
25446 PyObject * obj4 = 0 ;
25447 char *kwnames[] = {
25448 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25449 };
25450
25451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25453 {
25454 arg3 = wxString_in_helper(obj2);
25455 if (arg3 == NULL) SWIG_fail;
423f194a 25456 temp3 = True;
d14a1e28
RD
25457 }
25458 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25459 if (obj4) {
25460 {
25461 arg5 = wxString_in_helper(obj4);
25462 if (arg5 == NULL) SWIG_fail;
423f194a 25463 temp5 = True;
d14a1e28
RD
25464 }
25465 }
25466 {
25467 PyThreadState* __tstate = wxPyBeginAllowThreads();
25468 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 Py_INCREF(Py_None); resultobj = Py_None;
25474 {
25475 if (temp3)
25476 delete arg3;
25477 }
25478 {
25479 if (temp5)
25480 delete arg5;
25481 }
25482 return resultobj;
25483 fail:
25484 {
25485 if (temp3)
25486 delete arg3;
25487 }
25488 {
25489 if (temp5)
25490 delete arg5;
25491 }
25492 return NULL;
25493}
25494
25495
25496static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj;
25498 wxMenu *arg1 = (wxMenu *) 0 ;
25499 int arg2 ;
25500 wxMenuItem *result;
25501 PyObject * obj0 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "self",(char *) "itemid", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,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_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj;
25526 wxMenu *arg1 = (wxMenu *) 0 ;
25527 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25528 wxMenuItem *result;
25529 PyObject * obj0 = 0 ;
25530 PyObject * obj1 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "self",(char *) "item", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25538 {
25539 PyThreadState* __tstate = wxPyBeginAllowThreads();
25540 result = (wxMenuItem *)(arg1)->Remove(arg2);
25541
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 {
25546 resultobj = wxPyMake_wxObject(result);
25547 }
25548 return resultobj;
25549 fail:
25550 return NULL;
25551}
25552
25553
25554static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25555 PyObject *resultobj;
25556 wxMenu *arg1 = (wxMenu *) 0 ;
25557 int arg2 ;
25558 bool result;
25559 PyObject * obj0 = 0 ;
25560 char *kwnames[] = {
25561 (char *) "self",(char *) "itemid", NULL
25562 };
25563
25564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (bool)(arg1)->Delete(arg2);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 resultobj = PyInt_FromLong((long)result);
25574 return resultobj;
25575 fail:
25576 return NULL;
25577}
25578
25579
25580static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25581 PyObject *resultobj;
25582 wxMenu *arg1 = (wxMenu *) 0 ;
25583 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25584 bool result;
25585 PyObject * obj0 = 0 ;
25586 PyObject * obj1 = 0 ;
25587 char *kwnames[] = {
25588 (char *) "self",(char *) "item", NULL
25589 };
25590
25591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 result = (bool)(arg1)->Delete(arg2);
25597
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 resultobj = PyInt_FromLong((long)result);
25602 return resultobj;
25603 fail:
25604 return NULL;
25605}
25606
25607
25608static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj;
25610 wxMenu *arg1 = (wxMenu *) 0 ;
25611 PyObject * obj0 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 wxMenu_Destroy(arg1);
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 Py_INCREF(Py_None); resultobj = Py_None;
25626 return resultobj;
25627 fail:
25628 return NULL;
25629}
25630
25631
25632static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25633 PyObject *resultobj;
25634 wxMenu *arg1 = (wxMenu *) 0 ;
25635 int arg2 ;
25636 bool result;
25637 PyObject * obj0 = 0 ;
25638 char *kwnames[] = {
25639 (char *) "self",(char *) "itemid", NULL
25640 };
25641
25642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25644 {
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 result = (bool)(arg1)->Destroy(arg2);
25647
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 resultobj = PyInt_FromLong((long)result);
25652 return resultobj;
25653 fail:
25654 return NULL;
25655}
25656
25657
25658static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25659 PyObject *resultobj;
25660 wxMenu *arg1 = (wxMenu *) 0 ;
25661 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25662 bool result;
25663 PyObject * obj0 = 0 ;
25664 PyObject * obj1 = 0 ;
25665 char *kwnames[] = {
25666 (char *) "self",(char *) "item", NULL
25667 };
25668
25669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 result = (bool)(arg1)->Destroy(arg2);
25675
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 resultobj = PyInt_FromLong((long)result);
25680 return resultobj;
25681 fail:
25682 return NULL;
25683}
25684
25685
25686static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj;
25688 wxMenu *arg1 = (wxMenu *) 0 ;
25689 size_t result;
25690 PyObject * obj0 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "self", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 resultobj = PyInt_FromLong((long)result);
25705 return resultobj;
25706 fail:
25707 return NULL;
25708}
25709
25710
25711static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25712 PyObject *resultobj;
25713 wxMenu *arg1 = (wxMenu *) 0 ;
25714 PyObject *result;
25715 PyObject * obj0 = 0 ;
25716 char *kwnames[] = {
25717 (char *) "self", NULL
25718 };
25719
25720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 result = (PyObject *)wxMenu_GetMenuItems(arg1);
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 resultobj = result;
25730 return resultobj;
25731 fail:
25732 return NULL;
25733}
25734
25735
25736static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25737 PyObject *resultobj;
25738 wxMenu *arg1 = (wxMenu *) 0 ;
25739 wxString *arg2 = 0 ;
25740 int result;
423f194a 25741 bool temp2 = False ;
d14a1e28
RD
25742 PyObject * obj0 = 0 ;
25743 PyObject * obj1 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self",(char *) "item", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
25749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25750 {
25751 arg2 = wxString_in_helper(obj1);
25752 if (arg2 == NULL) SWIG_fail;
423f194a 25753 temp2 = True;
d14a1e28
RD
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 resultobj = PyInt_FromLong((long)result);
25763 {
25764 if (temp2)
25765 delete arg2;
25766 }
25767 return resultobj;
25768 fail:
25769 {
25770 if (temp2)
25771 delete arg2;
25772 }
25773 return NULL;
25774}
25775
25776
25777static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
25778 PyObject *resultobj;
25779 wxMenu *arg1 = (wxMenu *) 0 ;
25780 int arg2 ;
25781 wxMenuItem *result;
25782 PyObject * obj0 = 0 ;
25783 char *kwnames[] = {
25784 (char *) "self",(char *) "itemid", NULL
25785 };
25786
25787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
25788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25789 {
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
25792
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 {
25797 resultobj = wxPyMake_wxObject(result);
25798 }
25799 return resultobj;
25800 fail:
25801 return NULL;
25802}
25803
25804
25805static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25806 PyObject *resultobj;
25807 wxMenu *arg1 = (wxMenu *) 0 ;
25808 size_t arg2 ;
25809 wxMenuItem *result;
25810 PyObject * obj0 = 0 ;
25811 PyObject * obj1 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self",(char *) "position", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
25817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25818 arg2 = (size_t) PyInt_AsLong(obj1);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 {
25828 resultobj = wxPyMake_wxObject(result);
25829 }
25830 return resultobj;
25831 fail:
25832 return NULL;
25833}
25834
25835
25836static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
25837 PyObject *resultobj;
25838 wxMenu *arg1 = (wxMenu *) 0 ;
25839 int arg2 ;
25840 bool arg3 ;
25841 PyObject * obj0 = 0 ;
25842 PyObject * obj2 = 0 ;
25843 char *kwnames[] = {
25844 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25845 };
25846
25847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
25848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25849 arg3 = PyInt_AsLong(obj2) ? true : false;
25850 if (PyErr_Occurred()) SWIG_fail;
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 (arg1)->Enable(arg2,arg3);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 Py_INCREF(Py_None); resultobj = Py_None;
25859 return resultobj;
25860 fail:
25861 return NULL;
25862}
25863
25864
25865static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj;
25867 wxMenu *arg1 = (wxMenu *) 0 ;
25868 int arg2 ;
25869 bool result;
25870 PyObject * obj0 = 0 ;
25871 char *kwnames[] = {
25872 (char *) "self",(char *) "itemid", NULL
25873 };
25874
25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
25876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
25880
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
25884 resultobj = PyInt_FromLong((long)result);
25885 return resultobj;
25886 fail:
25887 return NULL;
25888}
25889
25890
25891static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxMenu *arg1 = (wxMenu *) 0 ;
25894 int arg2 ;
25895 bool arg3 ;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj2 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "itemid",(char *) "check", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
25903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25904 arg3 = PyInt_AsLong(obj2) ? true : false;
25905 if (PyErr_Occurred()) SWIG_fail;
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 (arg1)->Check(arg2,arg3);
25909
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 Py_INCREF(Py_None); resultobj = Py_None;
25914 return resultobj;
25915 fail:
25916 return NULL;
25917}
25918
25919
25920static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
25921 PyObject *resultobj;
25922 wxMenu *arg1 = (wxMenu *) 0 ;
25923 int arg2 ;
25924 bool result;
25925 PyObject * obj0 = 0 ;
25926 char *kwnames[] = {
25927 (char *) "self",(char *) "itemid", NULL
25928 };
25929
25930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
25931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
25935
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 resultobj = PyInt_FromLong((long)result);
25940 return resultobj;
25941 fail:
25942 return NULL;
25943}
25944
25945
25946static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25947 PyObject *resultobj;
25948 wxMenu *arg1 = (wxMenu *) 0 ;
25949 int arg2 ;
25950 wxString *arg3 = 0 ;
423f194a 25951 bool temp3 = False ;
d14a1e28
RD
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj2 = 0 ;
25954 char *kwnames[] = {
25955 (char *) "self",(char *) "itemid",(char *) "label", NULL
25956 };
25957
25958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
25959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25960 {
25961 arg3 = wxString_in_helper(obj2);
25962 if (arg3 == NULL) SWIG_fail;
423f194a 25963 temp3 = True;
d14a1e28
RD
25964 }
25965 {
25966 PyThreadState* __tstate = wxPyBeginAllowThreads();
25967 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
25968
25969 wxPyEndAllowThreads(__tstate);
25970 if (PyErr_Occurred()) SWIG_fail;
25971 }
25972 Py_INCREF(Py_None); resultobj = Py_None;
25973 {
25974 if (temp3)
25975 delete arg3;
25976 }
25977 return resultobj;
25978 fail:
25979 {
25980 if (temp3)
25981 delete arg3;
25982 }
25983 return NULL;
25984}
25985
25986
25987static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25988 PyObject *resultobj;
25989 wxMenu *arg1 = (wxMenu *) 0 ;
25990 int arg2 ;
25991 wxString result;
25992 PyObject * obj0 = 0 ;
25993 char *kwnames[] = {
25994 (char *) "self",(char *) "itemid", NULL
25995 };
25996
25997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
25998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 result = ((wxMenu const *)arg1)->GetLabel(arg2);
26002
26003 wxPyEndAllowThreads(__tstate);
26004 if (PyErr_Occurred()) SWIG_fail;
26005 }
26006 {
26007#if wxUSE_UNICODE
26008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26009#else
26010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26011#endif
26012 }
26013 return resultobj;
26014 fail:
26015 return NULL;
26016}
26017
26018
26019static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26020 PyObject *resultobj;
26021 wxMenu *arg1 = (wxMenu *) 0 ;
26022 int arg2 ;
26023 wxString *arg3 = 0 ;
423f194a 26024 bool temp3 = False ;
d14a1e28
RD
26025 PyObject * obj0 = 0 ;
26026 PyObject * obj2 = 0 ;
26027 char *kwnames[] = {
26028 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26029 };
26030
26031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
26032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26033 {
26034 arg3 = wxString_in_helper(obj2);
26035 if (arg3 == NULL) SWIG_fail;
423f194a 26036 temp3 = True;
d14a1e28
RD
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
26041
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 Py_INCREF(Py_None); resultobj = Py_None;
26046 {
26047 if (temp3)
26048 delete arg3;
26049 }
26050 return resultobj;
26051 fail:
26052 {
26053 if (temp3)
26054 delete arg3;
26055 }
26056 return NULL;
26057}
26058
26059
26060static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26061 PyObject *resultobj;
26062 wxMenu *arg1 = (wxMenu *) 0 ;
26063 int arg2 ;
26064 wxString result;
26065 PyObject * obj0 = 0 ;
26066 char *kwnames[] = {
26067 (char *) "self",(char *) "itemid", NULL
26068 };
26069
26070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26072 {
26073 PyThreadState* __tstate = wxPyBeginAllowThreads();
26074 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26075
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 {
26080#if wxUSE_UNICODE
26081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26082#else
26083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26084#endif
26085 }
26086 return resultobj;
26087 fail:
26088 return NULL;
26089}
26090
26091
26092static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26093 PyObject *resultobj;
26094 wxMenu *arg1 = (wxMenu *) 0 ;
26095 wxString *arg2 = 0 ;
423f194a 26096 bool temp2 = False ;
d14a1e28
RD
26097 PyObject * obj0 = 0 ;
26098 PyObject * obj1 = 0 ;
26099 char *kwnames[] = {
26100 (char *) "self",(char *) "title", NULL
26101 };
26102
26103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26105 {
26106 arg2 = wxString_in_helper(obj1);
26107 if (arg2 == NULL) SWIG_fail;
423f194a 26108 temp2 = True;
d14a1e28
RD
26109 }
26110 {
26111 PyThreadState* __tstate = wxPyBeginAllowThreads();
26112 (arg1)->SetTitle((wxString const &)*arg2);
26113
26114 wxPyEndAllowThreads(__tstate);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 }
26117 Py_INCREF(Py_None); resultobj = Py_None;
26118 {
26119 if (temp2)
26120 delete arg2;
26121 }
26122 return resultobj;
26123 fail:
26124 {
26125 if (temp2)
26126 delete arg2;
26127 }
26128 return NULL;
26129}
26130
26131
26132static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26133 PyObject *resultobj;
26134 wxMenu *arg1 = (wxMenu *) 0 ;
26135 wxString result;
26136 PyObject * obj0 = 0 ;
26137 char *kwnames[] = {
26138 (char *) "self", NULL
26139 };
26140
26141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 result = ((wxMenu const *)arg1)->GetTitle();
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 {
26151#if wxUSE_UNICODE
26152 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26153#else
26154 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26155#endif
26156 }
26157 return resultobj;
26158 fail:
26159 return NULL;
26160}
26161
26162
26163static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26164 PyObject *resultobj;
26165 wxMenu *arg1 = (wxMenu *) 0 ;
26166 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26167 PyObject * obj0 = 0 ;
26168 PyObject * obj1 = 0 ;
26169 char *kwnames[] = {
26170 (char *) "self",(char *) "handler", NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 (arg1)->SetEventHandler(arg2);
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 Py_INCREF(Py_None); resultobj = Py_None;
26184 return resultobj;
26185 fail:
26186 return NULL;
26187}
26188
26189
26190static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26191 PyObject *resultobj;
26192 wxMenu *arg1 = (wxMenu *) 0 ;
26193 wxEvtHandler *result;
26194 PyObject * obj0 = 0 ;
26195 char *kwnames[] = {
26196 (char *) "self", NULL
26197 };
26198
26199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26201 {
26202 PyThreadState* __tstate = wxPyBeginAllowThreads();
26203 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26204
26205 wxPyEndAllowThreads(__tstate);
26206 if (PyErr_Occurred()) SWIG_fail;
26207 }
26208 {
26209 resultobj = wxPyMake_wxObject(result);
26210 }
26211 return resultobj;
26212 fail:
26213 return NULL;
26214}
26215
26216
26217static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj;
26219 wxMenu *arg1 = (wxMenu *) 0 ;
26220 wxWindow *arg2 = (wxWindow *) 0 ;
26221 PyObject * obj0 = 0 ;
26222 PyObject * obj1 = 0 ;
26223 char *kwnames[] = {
26224 (char *) "self",(char *) "win", NULL
26225 };
26226
26227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 (arg1)->SetInvokingWindow(arg2);
26233
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
26237 Py_INCREF(Py_None); resultobj = Py_None;
26238 return resultobj;
26239 fail:
26240 return NULL;
26241}
26242
26243
26244static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26245 PyObject *resultobj;
26246 wxMenu *arg1 = (wxMenu *) 0 ;
26247 wxWindow *result;
26248 PyObject * obj0 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 {
26263 resultobj = wxPyMake_wxObject(result);
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
26271static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj;
26273 wxMenu *arg1 = (wxMenu *) 0 ;
26274 long result;
26275 PyObject * obj0 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 result = (long)((wxMenu const *)arg1)->GetStyle();
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 resultobj = PyInt_FromLong((long)result);
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
26296static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26297 PyObject *resultobj;
26298 wxMenu *arg1 = (wxMenu *) 0 ;
26299 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26300 PyObject * obj0 = 0 ;
26301 PyObject * obj1 = 0 ;
26302 char *kwnames[] = {
26303 (char *) "self",(char *) "source", NULL
26304 };
26305
26306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26308 if (obj1) {
26309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26310 }
26311 {
26312 PyThreadState* __tstate = wxPyBeginAllowThreads();
26313 (arg1)->UpdateUI(arg2);
26314
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 Py_INCREF(Py_None); resultobj = Py_None;
26319 return resultobj;
26320 fail:
26321 return NULL;
26322}
26323
26324
26325static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26326 PyObject *resultobj;
26327 wxMenu *arg1 = (wxMenu *) 0 ;
26328 wxMenuBar *result;
26329 PyObject * obj0 = 0 ;
26330 char *kwnames[] = {
26331 (char *) "self", NULL
26332 };
26333
26334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 {
26344 resultobj = wxPyMake_wxObject(result);
26345 }
26346 return resultobj;
26347 fail:
26348 return NULL;
26349}
26350
26351
26352static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26353 PyObject *resultobj;
26354 wxMenu *arg1 = (wxMenu *) 0 ;
26355 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26356 PyObject * obj0 = 0 ;
26357 PyObject * obj1 = 0 ;
26358 char *kwnames[] = {
26359 (char *) "self",(char *) "menubar", NULL
26360 };
26361
26362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26365 {
26366 PyThreadState* __tstate = wxPyBeginAllowThreads();
26367 (arg1)->Attach(arg2);
26368
26369 wxPyEndAllowThreads(__tstate);
26370 if (PyErr_Occurred()) SWIG_fail;
26371 }
26372 Py_INCREF(Py_None); resultobj = Py_None;
26373 return resultobj;
26374 fail:
26375 return NULL;
26376}
26377
26378
26379static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26380 PyObject *resultobj;
26381 wxMenu *arg1 = (wxMenu *) 0 ;
26382 PyObject * obj0 = 0 ;
26383 char *kwnames[] = {
26384 (char *) "self", NULL
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 (arg1)->Detach();
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 Py_INCREF(Py_None); resultobj = Py_None;
26397 return resultobj;
26398 fail:
26399 return NULL;
26400}
26401
26402
26403static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxMenu *arg1 = (wxMenu *) 0 ;
26406 bool result;
26407 PyObject * obj0 = 0 ;
26408 char *kwnames[] = {
26409 (char *) "self", NULL
26410 };
26411
26412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (bool)((wxMenu const *)arg1)->IsAttached();
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 resultobj = PyInt_FromLong((long)result);
26422 return resultobj;
26423 fail:
26424 return NULL;
26425}
26426
26427
26428static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26429 PyObject *resultobj;
26430 wxMenu *arg1 = (wxMenu *) 0 ;
26431 wxMenu *arg2 = (wxMenu *) 0 ;
26432 PyObject * obj0 = 0 ;
26433 PyObject * obj1 = 0 ;
26434 char *kwnames[] = {
26435 (char *) "self",(char *) "parent", NULL
26436 };
26437
26438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->SetParent(arg2);
26444
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 Py_INCREF(Py_None); resultobj = Py_None;
26449 return resultobj;
26450 fail:
26451 return NULL;
26452}
26453
26454
26455static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26456 PyObject *resultobj;
26457 wxMenu *arg1 = (wxMenu *) 0 ;
26458 wxMenu *result;
26459 PyObject * obj0 = 0 ;
26460 char *kwnames[] = {
26461 (char *) "self", NULL
26462 };
26463
26464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26466 {
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26469
26470 wxPyEndAllowThreads(__tstate);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 }
26473 {
26474 resultobj = wxPyMake_wxObject(result);
26475 }
26476 return resultobj;
26477 fail:
26478 return NULL;
26479}
26480
26481
26482static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26483 PyObject *obj;
26484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26485 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26486 Py_INCREF(obj);
26487 return Py_BuildValue((char *)"");
26488}
26489static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 long arg1 = (long) 0 ;
26492 wxMenuBar *result;
26493 char *kwnames[] = {
26494 (char *) "style", NULL
26495 };
26496
26497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26498 {
26499 PyThreadState* __tstate = wxPyBeginAllowThreads();
26500 result = (wxMenuBar *)new wxMenuBar(arg1);
26501
26502 wxPyEndAllowThreads(__tstate);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 }
26505 {
26506 resultobj = wxPyMake_wxObject(result);
26507 }
26508 return resultobj;
26509 fail:
26510 return NULL;
26511}
26512
26513
26514static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj;
26516 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26517 wxMenu *arg2 = (wxMenu *) 0 ;
26518 wxString *arg3 = 0 ;
26519 bool result;
423f194a 26520 bool temp3 = False ;
d14a1e28
RD
26521 PyObject * obj0 = 0 ;
26522 PyObject * obj1 = 0 ;
26523 PyObject * obj2 = 0 ;
26524 char *kwnames[] = {
26525 (char *) "self",(char *) "menu",(char *) "title", NULL
26526 };
26527
26528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26531 {
26532 arg3 = wxString_in_helper(obj2);
26533 if (arg3 == NULL) SWIG_fail;
423f194a 26534 temp3 = True;
d14a1e28
RD
26535 }
26536 {
26537 PyThreadState* __tstate = wxPyBeginAllowThreads();
26538 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26539
26540 wxPyEndAllowThreads(__tstate);
26541 if (PyErr_Occurred()) SWIG_fail;
26542 }
26543 resultobj = PyInt_FromLong((long)result);
26544 {
26545 if (temp3)
26546 delete arg3;
26547 }
26548 return resultobj;
26549 fail:
26550 {
26551 if (temp3)
26552 delete arg3;
26553 }
26554 return NULL;
26555}
26556
26557
26558static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26559 PyObject *resultobj;
26560 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26561 size_t arg2 ;
26562 wxMenu *arg3 = (wxMenu *) 0 ;
26563 wxString *arg4 = 0 ;
26564 bool result;
423f194a 26565 bool temp4 = False ;
d14a1e28
RD
26566 PyObject * obj0 = 0 ;
26567 PyObject * obj1 = 0 ;
26568 PyObject * obj2 = 0 ;
26569 PyObject * obj3 = 0 ;
26570 char *kwnames[] = {
26571 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26572 };
26573
26574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26576 arg2 = (size_t) PyInt_AsLong(obj1);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26579 {
26580 arg4 = wxString_in_helper(obj3);
26581 if (arg4 == NULL) SWIG_fail;
423f194a 26582 temp4 = True;
d14a1e28
RD
26583 }
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = PyInt_FromLong((long)result);
26592 {
26593 if (temp4)
26594 delete arg4;
26595 }
26596 return resultobj;
26597 fail:
26598 {
26599 if (temp4)
26600 delete arg4;
26601 }
26602 return NULL;
26603}
26604
26605
26606static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26607 PyObject *resultobj;
26608 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26609 size_t result;
26610 PyObject * obj0 = 0 ;
26611 char *kwnames[] = {
26612 (char *) "self", NULL
26613 };
26614
26615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 resultobj = PyInt_FromLong((long)result);
26625 return resultobj;
26626 fail:
26627 return NULL;
26628}
26629
26630
26631static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj;
26633 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26634 size_t arg2 ;
26635 wxMenu *result;
26636 PyObject * obj0 = 0 ;
26637 PyObject * obj1 = 0 ;
26638 char *kwnames[] = {
26639 (char *) "self",(char *) "pos", NULL
26640 };
26641
26642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26644 arg2 = (size_t) PyInt_AsLong(obj1);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 {
26647 PyThreadState* __tstate = wxPyBeginAllowThreads();
26648 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26649
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 {
26654 resultobj = wxPyMake_wxObject(result);
26655 }
26656 return resultobj;
26657 fail:
26658 return NULL;
26659}
26660
26661
26662static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj;
26664 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26665 size_t arg2 ;
26666 wxMenu *arg3 = (wxMenu *) 0 ;
26667 wxString *arg4 = 0 ;
26668 wxMenu *result;
423f194a 26669 bool temp4 = False ;
d14a1e28
RD
26670 PyObject * obj0 = 0 ;
26671 PyObject * obj1 = 0 ;
26672 PyObject * obj2 = 0 ;
26673 PyObject * obj3 = 0 ;
26674 char *kwnames[] = {
26675 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26676 };
26677
26678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26680 arg2 = (size_t) PyInt_AsLong(obj1);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26683 {
26684 arg4 = wxString_in_helper(obj3);
26685 if (arg4 == NULL) SWIG_fail;
423f194a 26686 temp4 = True;
d14a1e28
RD
26687 }
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26691
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
26695 {
26696 resultobj = wxPyMake_wxObject(result);
26697 }
26698 {
26699 if (temp4)
26700 delete arg4;
26701 }
26702 return resultobj;
26703 fail:
26704 {
26705 if (temp4)
26706 delete arg4;
26707 }
26708 return NULL;
26709}
26710
26711
26712static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26713 PyObject *resultobj;
26714 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26715 size_t arg2 ;
26716 wxMenu *result;
26717 PyObject * obj0 = 0 ;
26718 PyObject * obj1 = 0 ;
26719 char *kwnames[] = {
26720 (char *) "self",(char *) "pos", NULL
26721 };
26722
26723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
26724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26725 arg2 = (size_t) PyInt_AsLong(obj1);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 {
26728 PyThreadState* __tstate = wxPyBeginAllowThreads();
26729 result = (wxMenu *)(arg1)->Remove(arg2);
26730
26731 wxPyEndAllowThreads(__tstate);
26732 if (PyErr_Occurred()) SWIG_fail;
26733 }
26734 {
26735 resultobj = wxPyMake_wxObject(result);
26736 }
26737 return resultobj;
26738 fail:
26739 return NULL;
26740}
26741
26742
26743static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj;
26745 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26746 size_t arg2 ;
26747 bool arg3 ;
26748 PyObject * obj0 = 0 ;
26749 PyObject * obj1 = 0 ;
26750 PyObject * obj2 = 0 ;
26751 char *kwnames[] = {
26752 (char *) "self",(char *) "pos",(char *) "enable", NULL
26753 };
26754
26755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26757 arg2 = (size_t) PyInt_AsLong(obj1);
26758 if (PyErr_Occurred()) SWIG_fail;
26759 arg3 = PyInt_AsLong(obj2) ? true : false;
26760 if (PyErr_Occurred()) SWIG_fail;
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 (arg1)->EnableTop(arg2,arg3);
26764
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 Py_INCREF(Py_None); resultobj = Py_None;
26769 return resultobj;
26770 fail:
26771 return NULL;
26772}
26773
26774
26775static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj;
26777 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26778 size_t arg2 ;
26779 bool result;
26780 PyObject * obj0 = 0 ;
26781 PyObject * obj1 = 0 ;
26782 char *kwnames[] = {
26783 (char *) "self",(char *) "pos", NULL
26784 };
26785
26786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
26787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26788 arg2 = (size_t) PyInt_AsLong(obj1);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
26793
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 resultobj = PyInt_FromLong((long)result);
26798 return resultobj;
26799 fail:
26800 return NULL;
26801}
26802
26803
26804static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj;
26806 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26807 size_t arg2 ;
26808 wxString *arg3 = 0 ;
423f194a 26809 bool temp3 = False ;
d14a1e28
RD
26810 PyObject * obj0 = 0 ;
26811 PyObject * obj1 = 0 ;
26812 PyObject * obj2 = 0 ;
26813 char *kwnames[] = {
26814 (char *) "self",(char *) "pos",(char *) "label", NULL
26815 };
26816
26817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26819 arg2 = (size_t) PyInt_AsLong(obj1);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 {
26822 arg3 = wxString_in_helper(obj2);
26823 if (arg3 == NULL) SWIG_fail;
423f194a 26824 temp3 = True;
d14a1e28
RD
26825 }
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
26829
26830 wxPyEndAllowThreads(__tstate);
26831 if (PyErr_Occurred()) SWIG_fail;
26832 }
26833 Py_INCREF(Py_None); resultobj = Py_None;
26834 {
26835 if (temp3)
26836 delete arg3;
26837 }
26838 return resultobj;
26839 fail:
26840 {
26841 if (temp3)
26842 delete arg3;
26843 }
26844 return NULL;
26845}
26846
26847
26848static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26849 PyObject *resultobj;
26850 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26851 size_t arg2 ;
26852 wxString result;
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 char *kwnames[] = {
26856 (char *) "self",(char *) "pos", NULL
26857 };
26858
26859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
26860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26861 arg2 = (size_t) PyInt_AsLong(obj1);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 {
26864 PyThreadState* __tstate = wxPyBeginAllowThreads();
26865 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
26866
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 {
26871#if wxUSE_UNICODE
26872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26873#else
26874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26875#endif
26876 }
26877 return resultobj;
26878 fail:
26879 return NULL;
26880}
26881
26882
26883static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26884 PyObject *resultobj;
26885 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26886 wxString *arg2 = 0 ;
26887 wxString *arg3 = 0 ;
26888 int result;
423f194a
RD
26889 bool temp2 = False ;
26890 bool temp3 = False ;
d14a1e28
RD
26891 PyObject * obj0 = 0 ;
26892 PyObject * obj1 = 0 ;
26893 PyObject * obj2 = 0 ;
26894 char *kwnames[] = {
26895 (char *) "self",(char *) "menu",(char *) "item", NULL
26896 };
26897
26898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26900 {
26901 arg2 = wxString_in_helper(obj1);
26902 if (arg2 == NULL) SWIG_fail;
423f194a 26903 temp2 = True;
d14a1e28
RD
26904 }
26905 {
26906 arg3 = wxString_in_helper(obj2);
26907 if (arg3 == NULL) SWIG_fail;
423f194a 26908 temp3 = True;
d14a1e28
RD
26909 }
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 resultobj = PyInt_FromLong((long)result);
26918 {
26919 if (temp2)
26920 delete arg2;
26921 }
26922 {
26923 if (temp3)
26924 delete arg3;
26925 }
26926 return resultobj;
26927 fail:
26928 {
26929 if (temp2)
26930 delete arg2;
26931 }
26932 {
26933 if (temp3)
26934 delete arg3;
26935 }
26936 return NULL;
26937}
26938
26939
26940static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26941 PyObject *resultobj;
26942 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26943 int arg2 ;
26944 wxMenuItem *result;
26945 PyObject * obj0 = 0 ;
26946 char *kwnames[] = {
26947 (char *) "self",(char *) "itemid", NULL
26948 };
26949
26950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 {
26960 resultobj = wxPyMake_wxObject(result);
26961 }
26962 return resultobj;
26963 fail:
26964 return NULL;
26965}
26966
26967
26968static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26969 PyObject *resultobj;
26970 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26971 wxString *arg2 = 0 ;
26972 int result;
423f194a 26973 bool temp2 = False ;
d14a1e28
RD
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char *kwnames[] = {
26977 (char *) "self",(char *) "title", NULL
26978 };
26979
26980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
26981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26982 {
26983 arg2 = wxString_in_helper(obj1);
26984 if (arg2 == NULL) SWIG_fail;
423f194a 26985 temp2 = True;
d14a1e28
RD
26986 }
26987 {
26988 PyThreadState* __tstate = wxPyBeginAllowThreads();
26989 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
26990
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 resultobj = PyInt_FromLong((long)result);
26995 {
26996 if (temp2)
26997 delete arg2;
26998 }
26999 return resultobj;
27000 fail:
27001 {
27002 if (temp2)
27003 delete arg2;
27004 }
27005 return NULL;
27006}
27007
27008
27009static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27012 int arg2 ;
27013 bool arg3 ;
27014 PyObject * obj0 = 0 ;
27015 PyObject * obj2 = 0 ;
27016 char *kwnames[] = {
27017 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27018 };
27019
27020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
27021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27022 arg3 = PyInt_AsLong(obj2) ? true : false;
27023 if (PyErr_Occurred()) SWIG_fail;
27024 {
27025 PyThreadState* __tstate = wxPyBeginAllowThreads();
27026 (arg1)->Enable(arg2,arg3);
27027
27028 wxPyEndAllowThreads(__tstate);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 Py_INCREF(Py_None); resultobj = Py_None;
27032 return resultobj;
27033 fail:
27034 return NULL;
27035}
27036
27037
27038static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27039 PyObject *resultobj;
27040 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27041 int arg2 ;
27042 bool arg3 ;
27043 PyObject * obj0 = 0 ;
27044 PyObject * obj2 = 0 ;
27045 char *kwnames[] = {
27046 (char *) "self",(char *) "itemid",(char *) "check", NULL
27047 };
27048
27049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27051 arg3 = PyInt_AsLong(obj2) ? true : false;
27052 if (PyErr_Occurred()) SWIG_fail;
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 (arg1)->Check(arg2,arg3);
27056
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 Py_INCREF(Py_None); resultobj = Py_None;
27061 return resultobj;
27062 fail:
27063 return NULL;
27064}
27065
27066
27067static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27068 PyObject *resultobj;
27069 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27070 int arg2 ;
27071 bool result;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self",(char *) "itemid", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27082
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 resultobj = PyInt_FromLong((long)result);
27087 return resultobj;
27088 fail:
27089 return NULL;
27090}
27091
27092
27093static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27094 PyObject *resultobj;
27095 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27096 int arg2 ;
27097 bool result;
27098 PyObject * obj0 = 0 ;
27099 char *kwnames[] = {
27100 (char *) "self",(char *) "itemid", NULL
27101 };
27102
27103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27105 {
27106 PyThreadState* __tstate = wxPyBeginAllowThreads();
27107 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27108
27109 wxPyEndAllowThreads(__tstate);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
27112 resultobj = PyInt_FromLong((long)result);
27113 return resultobj;
27114 fail:
27115 return NULL;
27116}
27117
27118
27119static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27120 PyObject *resultobj;
27121 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27122 int arg2 ;
27123 wxString *arg3 = 0 ;
423f194a 27124 bool temp3 = False ;
d14a1e28
RD
27125 PyObject * obj0 = 0 ;
27126 PyObject * obj2 = 0 ;
27127 char *kwnames[] = {
27128 (char *) "self",(char *) "itemid",(char *) "label", NULL
27129 };
27130
27131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27133 {
27134 arg3 = wxString_in_helper(obj2);
27135 if (arg3 == NULL) SWIG_fail;
423f194a 27136 temp3 = True;
d14a1e28
RD
27137 }
27138 {
27139 PyThreadState* __tstate = wxPyBeginAllowThreads();
27140 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27141
27142 wxPyEndAllowThreads(__tstate);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 }
27145 Py_INCREF(Py_None); resultobj = Py_None;
27146 {
27147 if (temp3)
27148 delete arg3;
27149 }
27150 return resultobj;
27151 fail:
27152 {
27153 if (temp3)
27154 delete arg3;
27155 }
27156 return NULL;
27157}
27158
27159
27160static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27163 int arg2 ;
27164 wxString result;
27165 PyObject * obj0 = 0 ;
27166 char *kwnames[] = {
27167 (char *) "self",(char *) "itemid", NULL
27168 };
27169
27170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27175
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 {
27180#if wxUSE_UNICODE
27181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27182#else
27183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27184#endif
27185 }
27186 return resultobj;
27187 fail:
27188 return NULL;
27189}
27190
27191
27192static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj;
27194 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27195 int arg2 ;
27196 wxString *arg3 = 0 ;
423f194a 27197 bool temp3 = False ;
d14a1e28
RD
27198 PyObject * obj0 = 0 ;
27199 PyObject * obj2 = 0 ;
27200 char *kwnames[] = {
27201 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27202 };
27203
27204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27206 {
27207 arg3 = wxString_in_helper(obj2);
27208 if (arg3 == NULL) SWIG_fail;
423f194a 27209 temp3 = True;
d14a1e28
RD
27210 }
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27214
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 Py_INCREF(Py_None); resultobj = Py_None;
27219 {
27220 if (temp3)
27221 delete arg3;
27222 }
27223 return resultobj;
27224 fail:
27225 {
27226 if (temp3)
27227 delete arg3;
27228 }
27229 return NULL;
27230}
27231
27232
27233static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj;
27235 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27236 int arg2 ;
27237 wxString result;
27238 PyObject * obj0 = 0 ;
27239 char *kwnames[] = {
27240 (char *) "self",(char *) "itemid", NULL
27241 };
27242
27243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27245 {
27246 PyThreadState* __tstate = wxPyBeginAllowThreads();
27247 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27248
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 {
27253#if wxUSE_UNICODE
27254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27255#else
27256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27257#endif
27258 }
27259 return resultobj;
27260 fail:
27261 return NULL;
27262}
27263
27264
27265static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27266 PyObject *resultobj;
27267 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27268 wxFrame *result;
27269 PyObject * obj0 = 0 ;
27270 char *kwnames[] = {
27271 (char *) "self", NULL
27272 };
27273
27274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27276 {
27277 PyThreadState* __tstate = wxPyBeginAllowThreads();
27278 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27279
27280 wxPyEndAllowThreads(__tstate);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 {
27284 resultobj = wxPyMake_wxObject(result);
27285 }
27286 return resultobj;
27287 fail:
27288 return NULL;
27289}
27290
27291
27292static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27293 PyObject *resultobj;
27294 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27295 bool result;
27296 PyObject * obj0 = 0 ;
27297 char *kwnames[] = {
27298 (char *) "self", NULL
27299 };
27300
27301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 resultobj = PyInt_FromLong((long)result);
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
27317static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj;
27319 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27320 wxFrame *arg2 = (wxFrame *) 0 ;
27321 PyObject * obj0 = 0 ;
27322 PyObject * obj1 = 0 ;
27323 char *kwnames[] = {
27324 (char *) "self",(char *) "frame", NULL
27325 };
27326
27327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 (arg1)->Attach(arg2);
27333
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 Py_INCREF(Py_None); resultobj = Py_None;
27338 return resultobj;
27339 fail:
27340 return NULL;
27341}
27342
27343
27344static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27345 PyObject *resultobj;
27346 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27347 PyObject * obj0 = 0 ;
27348 char *kwnames[] = {
27349 (char *) "self", NULL
27350 };
27351
27352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 (arg1)->Detach();
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 Py_INCREF(Py_None); resultobj = Py_None;
27362 return resultobj;
27363 fail:
27364 return NULL;
27365}
27366
27367
27368static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27369 PyObject *obj;
27370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27371 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27372 Py_INCREF(obj);
27373 return Py_BuildValue((char *)"");
27374}
27375static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27376 PyObject *resultobj;
27377 wxMenu *arg1 = (wxMenu *) NULL ;
27378 int arg2 = (int) wxID_SEPARATOR ;
27379 wxString const &arg3_defvalue = wxPyEmptyString ;
27380 wxString *arg3 = (wxString *) &arg3_defvalue ;
27381 wxString const &arg4_defvalue = wxPyEmptyString ;
27382 wxString *arg4 = (wxString *) &arg4_defvalue ;
27383 int arg5 = (int) wxITEM_NORMAL ;
27384 wxMenu *arg6 = (wxMenu *) NULL ;
27385 wxMenuItem *result;
423f194a
RD
27386 bool temp3 = False ;
27387 bool temp4 = False ;
d14a1e28
RD
27388 PyObject * obj0 = 0 ;
27389 PyObject * obj2 = 0 ;
27390 PyObject * obj3 = 0 ;
27391 PyObject * obj5 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27397 if (obj0) {
27398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27399 }
27400 if (obj2) {
27401 {
27402 arg3 = wxString_in_helper(obj2);
27403 if (arg3 == NULL) SWIG_fail;
423f194a 27404 temp3 = True;
d14a1e28
RD
27405 }
27406 }
27407 if (obj3) {
27408 {
27409 arg4 = wxString_in_helper(obj3);
27410 if (arg4 == NULL) SWIG_fail;
423f194a 27411 temp4 = True;
d14a1e28
RD
27412 }
27413 }
27414 if (obj5) {
27415 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27416 }
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 {
27425 resultobj = wxPyMake_wxObject(result);
27426 }
27427 {
27428 if (temp3)
27429 delete arg3;
27430 }
27431 {
27432 if (temp4)
27433 delete arg4;
27434 }
27435 return resultobj;
27436 fail:
27437 {
27438 if (temp3)
27439 delete arg3;
27440 }
27441 {
27442 if (temp4)
27443 delete arg4;
27444 }
27445 return NULL;
27446}
27447
27448
27449static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27450 PyObject *resultobj;
27451 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27452 wxMenu *result;
27453 PyObject * obj0 = 0 ;
27454 char *kwnames[] = {
27455 (char *) "self", NULL
27456 };
27457
27458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
27467 {
27468 resultobj = wxPyMake_wxObject(result);
27469 }
27470 return resultobj;
27471 fail:
27472 return NULL;
27473}
27474
27475
27476static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27477 PyObject *resultobj;
27478 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27479 wxMenu *arg2 = (wxMenu *) 0 ;
27480 PyObject * obj0 = 0 ;
27481 PyObject * obj1 = 0 ;
27482 char *kwnames[] = {
27483 (char *) "self",(char *) "menu", NULL
27484 };
27485
27486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27488 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 (arg1)->SetMenu(arg2);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 Py_INCREF(Py_None); resultobj = Py_None;
27497 return resultobj;
27498 fail:
27499 return NULL;
27500}
27501
27502
27503static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj;
27505 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27506 int arg2 ;
27507 PyObject * obj0 = 0 ;
27508 char *kwnames[] = {
27509 (char *) "self",(char *) "itemid", NULL
27510 };
27511
27512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27514 {
27515 PyThreadState* __tstate = wxPyBeginAllowThreads();
27516 (arg1)->SetId(arg2);
27517
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 Py_INCREF(Py_None); resultobj = Py_None;
27522 return resultobj;
27523 fail:
27524 return NULL;
27525}
27526
27527
27528static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27529 PyObject *resultobj;
27530 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27531 int result;
27532 PyObject * obj0 = 0 ;
27533 char *kwnames[] = {
27534 (char *) "self", NULL
27535 };
27536
27537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27539 {
27540 PyThreadState* __tstate = wxPyBeginAllowThreads();
27541 result = (int)((wxMenuItem const *)arg1)->GetId();
27542
27543 wxPyEndAllowThreads(__tstate);
27544 if (PyErr_Occurred()) SWIG_fail;
27545 }
27546 resultobj = PyInt_FromLong((long)result);
27547 return resultobj;
27548 fail:
27549 return NULL;
27550}
27551
27552
27553static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27554 PyObject *resultobj;
27555 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27556 bool result;
27557 PyObject * obj0 = 0 ;
27558 char *kwnames[] = {
27559 (char *) "self", NULL
27560 };
27561
27562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27564 {
27565 PyThreadState* __tstate = wxPyBeginAllowThreads();
27566 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27567
27568 wxPyEndAllowThreads(__tstate);
27569 if (PyErr_Occurred()) SWIG_fail;
27570 }
27571 resultobj = PyInt_FromLong((long)result);
27572 return resultobj;
27573 fail:
27574 return NULL;
27575}
27576
27577
27578static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27579 PyObject *resultobj;
27580 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27581 wxString *arg2 = 0 ;
423f194a 27582 bool temp2 = False ;
d14a1e28
RD
27583 PyObject * obj0 = 0 ;
27584 PyObject * obj1 = 0 ;
27585 char *kwnames[] = {
27586 (char *) "self",(char *) "str", NULL
27587 };
27588
27589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27591 {
27592 arg2 = wxString_in_helper(obj1);
27593 if (arg2 == NULL) SWIG_fail;
423f194a 27594 temp2 = True;
d14a1e28
RD
27595 }
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 (arg1)->SetText((wxString const &)*arg2);
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 Py_INCREF(Py_None); resultobj = Py_None;
27604 {
27605 if (temp2)
27606 delete arg2;
27607 }
27608 return resultobj;
27609 fail:
27610 {
27611 if (temp2)
27612 delete arg2;
27613 }
27614 return NULL;
27615}
27616
27617
27618static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27619 PyObject *resultobj;
27620 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27621 wxString result;
27622 PyObject * obj0 = 0 ;
27623 char *kwnames[] = {
27624 (char *) "self", NULL
27625 };
27626
27627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 result = ((wxMenuItem const *)arg1)->GetLabel();
27632
27633 wxPyEndAllowThreads(__tstate);
27634 if (PyErr_Occurred()) SWIG_fail;
27635 }
27636 {
27637#if wxUSE_UNICODE
27638 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27639#else
27640 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27641#endif
27642 }
27643 return resultobj;
27644 fail:
27645 return NULL;
27646}
27647
27648
27649static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27650 PyObject *resultobj;
27651 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27652 wxString *result;
27653 PyObject * obj0 = 0 ;
27654 char *kwnames[] = {
27655 (char *) "self", NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27660 {
27661 PyThreadState* __tstate = wxPyBeginAllowThreads();
27662 {
27663 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27664 result = (wxString *) &_result_ref;
27665 }
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27671 return resultobj;
27672 fail:
27673 return NULL;
27674}
27675
27676
27677static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj;
27679 wxString *arg1 = 0 ;
27680 wxString result;
423f194a 27681 bool temp1 = False ;
d14a1e28
RD
27682 PyObject * obj0 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "text", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27688 {
27689 arg1 = wxString_in_helper(obj0);
27690 if (arg1 == NULL) SWIG_fail;
423f194a 27691 temp1 = True;
d14a1e28
RD
27692 }
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27696
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 {
27701#if wxUSE_UNICODE
27702 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27703#else
27704 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27705#endif
27706 }
27707 {
27708 if (temp1)
27709 delete arg1;
27710 }
27711 return resultobj;
27712 fail:
27713 {
27714 if (temp1)
27715 delete arg1;
27716 }
27717 return NULL;
27718}
27719
27720
27721static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj;
27723 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27724 int result;
27725 PyObject * obj0 = 0 ;
27726 char *kwnames[] = {
27727 (char *) "self", NULL
27728 };
27729
27730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
27731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 result = (int)((wxMenuItem const *)arg1)->GetKind();
27735
27736 wxPyEndAllowThreads(__tstate);
27737 if (PyErr_Occurred()) SWIG_fail;
27738 }
27739 resultobj = PyInt_FromLong((long)result);
27740 return resultobj;
27741 fail:
27742 return NULL;
27743}
27744
27745
27746static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27747 PyObject *resultobj;
27748 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27749 bool arg2 ;
27750 PyObject * obj0 = 0 ;
27751 PyObject * obj1 = 0 ;
27752 char *kwnames[] = {
27753 (char *) "self",(char *) "checkable", NULL
27754 };
27755
27756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
27757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27758 arg2 = PyInt_AsLong(obj1) ? true : false;
27759 if (PyErr_Occurred()) SWIG_fail;
27760 {
27761 PyThreadState* __tstate = wxPyBeginAllowThreads();
27762 (arg1)->SetCheckable(arg2);
27763
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 Py_INCREF(Py_None); resultobj = Py_None;
27768 return resultobj;
27769 fail:
27770 return NULL;
27771}
27772
27773
27774static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27777 bool result;
27778 PyObject * obj0 = 0 ;
27779 char *kwnames[] = {
27780 (char *) "self", NULL
27781 };
27782
27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
27784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27785 {
27786 PyThreadState* __tstate = wxPyBeginAllowThreads();
27787 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
27788
27789 wxPyEndAllowThreads(__tstate);
27790 if (PyErr_Occurred()) SWIG_fail;
27791 }
27792 resultobj = PyInt_FromLong((long)result);
27793 return resultobj;
27794 fail:
27795 return NULL;
27796}
27797
27798
27799static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27800 PyObject *resultobj;
27801 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27802 bool result;
27803 PyObject * obj0 = 0 ;
27804 char *kwnames[] = {
27805 (char *) "self", NULL
27806 };
27807
27808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
27809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27810 {
27811 PyThreadState* __tstate = wxPyBeginAllowThreads();
27812 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
27813
27814 wxPyEndAllowThreads(__tstate);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 resultobj = PyInt_FromLong((long)result);
27818 return resultobj;
27819 fail:
27820 return NULL;
27821}
27822
27823
27824static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27825 PyObject *resultobj;
27826 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27827 wxMenu *arg2 = (wxMenu *) 0 ;
27828 PyObject * obj0 = 0 ;
27829 PyObject * obj1 = 0 ;
27830 char *kwnames[] = {
27831 (char *) "self",(char *) "menu", NULL
27832 };
27833
27834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
27835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27837 {
27838 PyThreadState* __tstate = wxPyBeginAllowThreads();
27839 (arg1)->SetSubMenu(arg2);
27840
27841 wxPyEndAllowThreads(__tstate);
27842 if (PyErr_Occurred()) SWIG_fail;
27843 }
27844 Py_INCREF(Py_None); resultobj = Py_None;
27845 return resultobj;
27846 fail:
27847 return NULL;
27848}
27849
27850
27851static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27852 PyObject *resultobj;
27853 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27854 wxMenu *result;
27855 PyObject * obj0 = 0 ;
27856 char *kwnames[] = {
27857 (char *) "self", NULL
27858 };
27859
27860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
27861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
27864 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
27865
27866 wxPyEndAllowThreads(__tstate);
27867 if (PyErr_Occurred()) SWIG_fail;
27868 }
27869 {
27870 resultobj = wxPyMake_wxObject(result);
27871 }
27872 return resultobj;
27873 fail:
27874 return NULL;
27875}
27876
27877
27878static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27879 PyObject *resultobj;
27880 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 27881 bool arg2 = (bool) True ;
d14a1e28
RD
27882 PyObject * obj0 = 0 ;
27883 PyObject * obj1 = 0 ;
27884 char *kwnames[] = {
27885 (char *) "self",(char *) "enable", NULL
27886 };
27887
27888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
27889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27890 if (obj1) {
27891 arg2 = PyInt_AsLong(obj1) ? true : false;
27892 if (PyErr_Occurred()) SWIG_fail;
27893 }
27894 {
27895 PyThreadState* __tstate = wxPyBeginAllowThreads();
27896 (arg1)->Enable(arg2);
27897
27898 wxPyEndAllowThreads(__tstate);
27899 if (PyErr_Occurred()) SWIG_fail;
27900 }
27901 Py_INCREF(Py_None); resultobj = Py_None;
27902 return resultobj;
27903 fail:
27904 return NULL;
27905}
27906
27907
27908static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27909 PyObject *resultobj;
27910 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27911 bool result;
27912 PyObject * obj0 = 0 ;
27913 char *kwnames[] = {
27914 (char *) "self", NULL
27915 };
27916
27917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
27918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 resultobj = PyInt_FromLong((long)result);
27927 return resultobj;
27928 fail:
27929 return NULL;
27930}
27931
27932
27933static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27934 PyObject *resultobj;
27935 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 27936 bool arg2 = (bool) True ;
d14a1e28
RD
27937 PyObject * obj0 = 0 ;
27938 PyObject * obj1 = 0 ;
27939 char *kwnames[] = {
27940 (char *) "self",(char *) "check", NULL
27941 };
27942
27943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
27944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27945 if (obj1) {
27946 arg2 = PyInt_AsLong(obj1) ? true : false;
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 (arg1)->Check(arg2);
27952
27953 wxPyEndAllowThreads(__tstate);
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 Py_INCREF(Py_None); resultobj = Py_None;
27957 return resultobj;
27958 fail:
27959 return NULL;
27960}
27961
27962
27963static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27964 PyObject *resultobj;
27965 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27966 bool result;
27967 PyObject * obj0 = 0 ;
27968 char *kwnames[] = {
27969 (char *) "self", NULL
27970 };
27971
27972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
27973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27974 {
27975 PyThreadState* __tstate = wxPyBeginAllowThreads();
27976 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
27977
27978 wxPyEndAllowThreads(__tstate);
27979 if (PyErr_Occurred()) SWIG_fail;
27980 }
27981 resultobj = PyInt_FromLong((long)result);
27982 return resultobj;
27983 fail:
27984 return NULL;
27985}
27986
27987
27988static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27989 PyObject *resultobj;
27990 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27991 PyObject * obj0 = 0 ;
27992 char *kwnames[] = {
27993 (char *) "self", NULL
27994 };
27995
27996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
27997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27998 {
27999 PyThreadState* __tstate = wxPyBeginAllowThreads();
28000 (arg1)->Toggle();
28001
28002 wxPyEndAllowThreads(__tstate);
28003 if (PyErr_Occurred()) SWIG_fail;
28004 }
28005 Py_INCREF(Py_None); resultobj = Py_None;
28006 return resultobj;
28007 fail:
28008 return NULL;
28009}
28010
28011
28012static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj;
28014 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28015 wxString *arg2 = 0 ;
423f194a 28016 bool temp2 = False ;
d14a1e28
RD
28017 PyObject * obj0 = 0 ;
28018 PyObject * obj1 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self",(char *) "str", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
28024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28025 {
28026 arg2 = wxString_in_helper(obj1);
28027 if (arg2 == NULL) SWIG_fail;
423f194a 28028 temp2 = True;
d14a1e28
RD
28029 }
28030 {
28031 PyThreadState* __tstate = wxPyBeginAllowThreads();
28032 (arg1)->SetHelp((wxString const &)*arg2);
28033
28034 wxPyEndAllowThreads(__tstate);
28035 if (PyErr_Occurred()) SWIG_fail;
28036 }
28037 Py_INCREF(Py_None); resultobj = Py_None;
28038 {
28039 if (temp2)
28040 delete arg2;
28041 }
28042 return resultobj;
28043 fail:
28044 {
28045 if (temp2)
28046 delete arg2;
28047 }
28048 return NULL;
28049}
28050
28051
28052static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28053 PyObject *resultobj;
28054 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28055 wxString *result;
28056 PyObject * obj0 = 0 ;
28057 char *kwnames[] = {
28058 (char *) "self", NULL
28059 };
28060
28061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28063 {
28064 PyThreadState* __tstate = wxPyBeginAllowThreads();
28065 {
28066 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28067 result = (wxString *) &_result_ref;
28068 }
28069
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
28074 return resultobj;
28075 fail:
28076 return NULL;
28077}
28078
28079
28080static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28081 PyObject *resultobj;
28082 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28083 wxAcceleratorEntry *result;
28084 PyObject * obj0 = 0 ;
28085 char *kwnames[] = {
28086 (char *) "self", NULL
28087 };
28088
28089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28091 {
28092 PyThreadState* __tstate = wxPyBeginAllowThreads();
28093 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28094
28095 wxPyEndAllowThreads(__tstate);
28096 if (PyErr_Occurred()) SWIG_fail;
28097 }
28098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28099 return resultobj;
28100 fail:
28101 return NULL;
28102}
28103
28104
28105static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28106 PyObject *resultobj;
28107 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28108 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28109 PyObject * obj0 = 0 ;
28110 PyObject * obj1 = 0 ;
28111 char *kwnames[] = {
28112 (char *) "self",(char *) "accel", NULL
28113 };
28114
28115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28118 {
28119 PyThreadState* __tstate = wxPyBeginAllowThreads();
28120 (arg1)->SetAccel(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_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj;
28134 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28135 wxFont *arg2 = 0 ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self",(char *) "font", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
28143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28145 if (arg2 == NULL) {
28146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28147 }
28148 {
28149 PyThreadState* __tstate = wxPyBeginAllowThreads();
28150 (arg1)->SetFont((wxFont const &)*arg2);
28151
28152 wxPyEndAllowThreads(__tstate);
28153 if (PyErr_Occurred()) SWIG_fail;
28154 }
28155 Py_INCREF(Py_None); resultobj = Py_None;
28156 return resultobj;
28157 fail:
28158 return NULL;
28159}
28160
28161
28162static PyObject *_wrap_MenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
28163 PyObject *resultobj;
28164 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28165 wxFont result;
28166 PyObject * obj0 = 0 ;
28167 char *kwnames[] = {
28168 (char *) "self", NULL
28169 };
28170
28171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
28172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 result = (arg1)->GetFont();
28176
28177 wxPyEndAllowThreads(__tstate);
28178 if (PyErr_Occurred()) SWIG_fail;
28179 }
28180 {
28181 wxFont * resultptr;
28182 resultptr = new wxFont((wxFont &) result);
28183 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
28184 }
28185 return resultobj;
28186 fail:
28187 return NULL;
28188}
28189
28190
28191static PyObject *_wrap_MenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28192 PyObject *resultobj;
28193 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28194 wxColour *arg2 = 0 ;
28195 wxColour temp2 ;
28196 PyObject * obj0 = 0 ;
28197 PyObject * obj1 = 0 ;
28198 char *kwnames[] = {
28199 (char *) "self",(char *) "colText", NULL
28200 };
28201
28202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
28203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28204 {
28205 arg2 = &temp2;
28206 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28207 }
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 (arg1)->SetTextColour((wxColour const &)*arg2);
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 Py_INCREF(Py_None); resultobj = Py_None;
28216 return resultobj;
28217 fail:
28218 return NULL;
28219}
28220
28221
28222static PyObject *_wrap_MenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28223 PyObject *resultobj;
28224 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28225 wxColour result;
28226 PyObject * obj0 = 0 ;
28227 char *kwnames[] = {
28228 (char *) "self", NULL
28229 };
28230
28231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
28232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28233 {
28234 PyThreadState* __tstate = wxPyBeginAllowThreads();
28235 result = (arg1)->GetTextColour();
28236
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 {
28241 wxColour * resultptr;
28242 resultptr = new wxColour((wxColour &) result);
28243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
28244 }
28245 return resultobj;
28246 fail:
28247 return NULL;
28248}
28249
28250
28251static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28252 PyObject *resultobj;
28253 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28254 wxColour *arg2 = 0 ;
28255 wxColour temp2 ;
28256 PyObject * obj0 = 0 ;
28257 PyObject * obj1 = 0 ;
28258 char *kwnames[] = {
28259 (char *) "self",(char *) "colBack", NULL
28260 };
28261
28262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28264 {
28265 arg2 = &temp2;
28266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28267 }
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 Py_INCREF(Py_None); resultobj = Py_None;
28276 return resultobj;
28277 fail:
28278 return NULL;
28279}
28280
28281
28282static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
28283 PyObject *resultobj;
28284 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28285 wxColour result;
28286 PyObject * obj0 = 0 ;
28287 char *kwnames[] = {
28288 (char *) "self", NULL
28289 };
28290
28291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
28292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28293 {
28294 PyThreadState* __tstate = wxPyBeginAllowThreads();
28295 result = (arg1)->GetBackgroundColour();
28296
28297 wxPyEndAllowThreads(__tstate);
28298 if (PyErr_Occurred()) SWIG_fail;
28299 }
28300 {
28301 wxColour * resultptr;
28302 resultptr = new wxColour((wxColour &) result);
28303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
28304 }
28305 return resultobj;
28306 fail:
28307 return NULL;
28308}
28309
28310
28311static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
28312 PyObject *resultobj;
28313 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28314 wxBitmap *arg2 = 0 ;
28315 wxBitmap const &arg3_defvalue = wxNullBitmap ;
28316 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
28317 PyObject * obj0 = 0 ;
28318 PyObject * obj1 = 0 ;
28319 PyObject * obj2 = 0 ;
28320 char *kwnames[] = {
28321 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28322 };
28323
28324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
28325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28327 if (arg2 == NULL) {
28328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28329 }
28330 if (obj2) {
28331 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28332 if (arg3 == NULL) {
28333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28334 }
28335 }
28336 {
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
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_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28351 PyObject *resultobj;
28352 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28353 wxBitmap *arg2 = 0 ;
28354 PyObject * obj0 = 0 ;
28355 PyObject * obj1 = 0 ;
28356 char *kwnames[] = {
28357 (char *) "self",(char *) "bmpDisabled", NULL
28358 };
28359
28360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
28361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28363 if (arg2 == NULL) {
28364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28365 }
28366 {
28367 PyThreadState* __tstate = wxPyBeginAllowThreads();
28368 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
28369
28370 wxPyEndAllowThreads(__tstate);
28371 if (PyErr_Occurred()) SWIG_fail;
28372 }
28373 Py_INCREF(Py_None); resultobj = Py_None;
28374 return resultobj;
28375 fail:
28376 return NULL;
28377}
28378
28379
28380static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28381 PyObject *resultobj;
28382 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28383 wxBitmap *result;
28384 PyObject * obj0 = 0 ;
28385 char *kwnames[] = {
28386 (char *) "self", NULL
28387 };
28388
28389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
28390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 {
28394 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
28395 result = (wxBitmap *) &_result_ref;
28396 }
28397
28398 wxPyEndAllowThreads(__tstate);
28399 if (PyErr_Occurred()) SWIG_fail;
28400 }
28401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28402 return resultobj;
28403 fail:
28404 return NULL;
28405}
28406
28407
28408static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28409 PyObject *resultobj;
28410 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28411 int arg2 ;
28412 PyObject * obj0 = 0 ;
28413 char *kwnames[] = {
28414 (char *) "self",(char *) "nWidth", NULL
28415 };
28416
28417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
28418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 (arg1)->SetMarginWidth(arg2);
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 Py_INCREF(Py_None); resultobj = Py_None;
28427 return resultobj;
28428 fail:
28429 return NULL;
28430}
28431
28432
28433static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28434 PyObject *resultobj;
28435 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28436 int result;
28437 PyObject * obj0 = 0 ;
28438 char *kwnames[] = {
28439 (char *) "self", NULL
28440 };
28441
28442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
28443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28444 {
28445 PyThreadState* __tstate = wxPyBeginAllowThreads();
28446 result = (int)(arg1)->GetMarginWidth();
28447
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
28451 resultobj = PyInt_FromLong((long)result);
28452 return resultobj;
28453 fail:
28454 return NULL;
28455}
28456
28457
28458static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28459 PyObject *resultobj;
28460 int result;
28461 char *kwnames[] = {
28462 NULL
28463 };
28464
28465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28466 {
28467 PyThreadState* __tstate = wxPyBeginAllowThreads();
28468 result = (int)wxMenuItem::GetDefaultMarginWidth();
28469
28470 wxPyEndAllowThreads(__tstate);
28471 if (PyErr_Occurred()) SWIG_fail;
28472 }
28473 resultobj = PyInt_FromLong((long)result);
28474 return resultobj;
28475 fail:
28476 return NULL;
28477}
28478
28479
28480static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28481 PyObject *resultobj;
28482 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28483 bool result;
28484 PyObject * obj0 = 0 ;
28485 char *kwnames[] = {
28486 (char *) "self", NULL
28487 };
28488
28489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
28490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
28493 result = (bool)(arg1)->IsOwnerDrawn();
28494
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 resultobj = PyInt_FromLong((long)result);
28499 return resultobj;
28500 fail:
28501 return NULL;
28502}
28503
28504
28505static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28506 PyObject *resultobj;
28507 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 28508 bool arg2 = (bool) True ;
d14a1e28
RD
28509 PyObject * obj0 = 0 ;
28510 PyObject * obj1 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "self",(char *) "ownerDrawn", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
28516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28517 if (obj1) {
28518 arg2 = PyInt_AsLong(obj1) ? true : false;
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 {
28522 PyThreadState* __tstate = wxPyBeginAllowThreads();
28523 (arg1)->SetOwnerDrawn(arg2);
28524
28525 wxPyEndAllowThreads(__tstate);
28526 if (PyErr_Occurred()) SWIG_fail;
28527 }
28528 Py_INCREF(Py_None); resultobj = Py_None;
28529 return resultobj;
28530 fail:
28531 return NULL;
28532}
28533
28534
28535static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
28536 PyObject *resultobj;
28537 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28538 PyObject * obj0 = 0 ;
28539 char *kwnames[] = {
28540 (char *) "self", NULL
28541 };
28542
28543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
28544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 (arg1)->ResetOwnerDrawn();
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_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28560 PyObject *resultobj;
28561 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28562 wxBitmap *arg2 = 0 ;
28563 PyObject * obj0 = 0 ;
28564 PyObject * obj1 = 0 ;
28565 char *kwnames[] = {
28566 (char *) "self",(char *) "bitmap", NULL
28567 };
28568
28569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28572 if (arg2 == NULL) {
28573 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28574 }
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 Py_INCREF(Py_None); resultobj = Py_None;
28583 return resultobj;
28584 fail:
28585 return NULL;
28586}
28587
28588
28589static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj;
28591 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28592 wxBitmap *result;
28593 PyObject * obj0 = 0 ;
28594 char *kwnames[] = {
28595 (char *) "self", NULL
28596 };
28597
28598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28600 {
28601 PyThreadState* __tstate = wxPyBeginAllowThreads();
28602 {
28603 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28604 result = (wxBitmap *) &_result_ref;
28605 }
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28611 return resultobj;
28612 fail:
28613 return NULL;
28614}
28615
28616
28617static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28618 PyObject *obj;
28619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28620 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28621 Py_INCREF(obj);
28622 return Py_BuildValue((char *)"");
28623}
28624static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28625 PyObject *resultobj;
28626 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 28627 int arg2 ;
d14a1e28
RD
28628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28630 wxSize const &arg4_defvalue = wxDefaultSize ;
28631 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28632 long arg5 = (long) 0 ;
28633 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28634 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28635 wxString const &arg7_defvalue = wxPyControlNameStr ;
28636 wxString *arg7 = (wxString *) &arg7_defvalue ;
28637 wxControl *result;
28638 wxPoint temp3 ;
28639 wxSize temp4 ;
423f194a 28640 bool temp7 = False ;
d14a1e28
RD
28641 PyObject * obj0 = 0 ;
28642 PyObject * obj2 = 0 ;
28643 PyObject * obj3 = 0 ;
28644 PyObject * obj5 = 0 ;
28645 PyObject * obj6 = 0 ;
28646 char *kwnames[] = {
28647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28652 if (obj2) {
28653 {
28654 arg3 = &temp3;
28655 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28656 }
28657 }
28658 if (obj3) {
28659 {
28660 arg4 = &temp4;
28661 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28662 }
28663 }
28664 if (obj5) {
28665 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28666 if (arg6 == NULL) {
28667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28668 }
28669 }
28670 if (obj6) {
28671 {
28672 arg7 = wxString_in_helper(obj6);
28673 if (arg7 == NULL) SWIG_fail;
423f194a 28674 temp7 = True;
d14a1e28
RD
28675 }
28676 }
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 {
28685 resultobj = wxPyMake_wxObject(result);
28686 }
28687 {
28688 if (temp7)
28689 delete arg7;
28690 }
28691 return resultobj;
28692 fail:
28693 {
28694 if (temp7)
28695 delete arg7;
28696 }
28697 return NULL;
28698}
28699
28700
28701static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28702 PyObject *resultobj;
28703 wxControl *result;
28704 char *kwnames[] = {
28705 NULL
28706 };
28707
28708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28709 {
28710 PyThreadState* __tstate = wxPyBeginAllowThreads();
28711 result = (wxControl *)new wxControl();
28712
28713 wxPyEndAllowThreads(__tstate);
28714 if (PyErr_Occurred()) SWIG_fail;
28715 }
28716 {
28717 resultobj = wxPyMake_wxObject(result);
28718 }
28719 return resultobj;
28720 fail:
28721 return NULL;
28722}
28723
28724
28725static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj;
28727 wxControl *arg1 = (wxControl *) 0 ;
28728 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 28729 int arg3 ;
d14a1e28
RD
28730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28732 wxSize const &arg5_defvalue = wxDefaultSize ;
28733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28734 long arg6 = (long) 0 ;
28735 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28736 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28737 wxString const &arg8_defvalue = wxPyControlNameStr ;
28738 wxString *arg8 = (wxString *) &arg8_defvalue ;
28739 bool result;
28740 wxPoint temp4 ;
28741 wxSize temp5 ;
423f194a 28742 bool temp8 = False ;
d14a1e28
RD
28743 PyObject * obj0 = 0 ;
28744 PyObject * obj1 = 0 ;
28745 PyObject * obj3 = 0 ;
28746 PyObject * obj4 = 0 ;
28747 PyObject * obj6 = 0 ;
28748 PyObject * obj7 = 0 ;
28749 char *kwnames[] = {
28750 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28751 };
28752
28753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28756 if (obj3) {
28757 {
28758 arg4 = &temp4;
28759 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28760 }
28761 }
28762 if (obj4) {
28763 {
28764 arg5 = &temp5;
28765 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28766 }
28767 }
28768 if (obj6) {
28769 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28770 if (arg7 == NULL) {
28771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28772 }
28773 }
28774 if (obj7) {
28775 {
28776 arg8 = wxString_in_helper(obj7);
28777 if (arg8 == NULL) SWIG_fail;
423f194a 28778 temp8 = True;
d14a1e28
RD
28779 }
28780 }
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 resultobj = PyInt_FromLong((long)result);
28789 {
28790 if (temp8)
28791 delete arg8;
28792 }
28793 return resultobj;
28794 fail:
28795 {
28796 if (temp8)
28797 delete arg8;
28798 }
28799 return NULL;
28800}
28801
28802
28803static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28804 PyObject *resultobj;
28805 wxControl *arg1 = (wxControl *) 0 ;
28806 wxCommandEvent *arg2 = 0 ;
28807 PyObject * obj0 = 0 ;
28808 PyObject * obj1 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "self",(char *) "event", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28816 if (arg2 == NULL) {
28817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28818 }
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 (arg1)->Command(*arg2);
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 Py_INCREF(Py_None); resultobj = Py_None;
28827 return resultobj;
28828 fail:
28829 return NULL;
28830}
28831
28832
28833static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28834 PyObject *resultobj;
28835 wxControl *arg1 = (wxControl *) 0 ;
28836 wxString result;
28837 PyObject * obj0 = 0 ;
28838 char *kwnames[] = {
28839 (char *) "self", NULL
28840 };
28841
28842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28844 {
28845 PyThreadState* __tstate = wxPyBeginAllowThreads();
28846 result = (arg1)->GetLabel();
28847
28848 wxPyEndAllowThreads(__tstate);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 }
28851 {
28852#if wxUSE_UNICODE
28853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28854#else
28855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28856#endif
28857 }
28858 return resultobj;
28859 fail:
28860 return NULL;
28861}
28862
28863
28864static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28865 PyObject *resultobj;
28866 wxControl *arg1 = (wxControl *) 0 ;
28867 wxString *arg2 = 0 ;
423f194a 28868 bool temp2 = False ;
d14a1e28
RD
28869 PyObject * obj0 = 0 ;
28870 PyObject * obj1 = 0 ;
28871 char *kwnames[] = {
28872 (char *) "self",(char *) "label", NULL
28873 };
28874
28875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28877 {
28878 arg2 = wxString_in_helper(obj1);
28879 if (arg2 == NULL) SWIG_fail;
423f194a 28880 temp2 = True;
d14a1e28
RD
28881 }
28882 {
28883 PyThreadState* __tstate = wxPyBeginAllowThreads();
28884 (arg1)->SetLabel((wxString const &)*arg2);
28885
28886 wxPyEndAllowThreads(__tstate);
28887 if (PyErr_Occurred()) SWIG_fail;
28888 }
28889 Py_INCREF(Py_None); resultobj = Py_None;
28890 {
28891 if (temp2)
28892 delete arg2;
28893 }
28894 return resultobj;
28895 fail:
28896 {
28897 if (temp2)
28898 delete arg2;
28899 }
28900 return NULL;
28901}
28902
28903
28904static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28905 PyObject *obj;
28906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28907 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28908 Py_INCREF(obj);
28909 return Py_BuildValue((char *)"");
28910}
28911static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj;
28913 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28914 wxString *arg2 = 0 ;
28915 PyObject *arg3 = (PyObject *) NULL ;
28916 int result;
423f194a 28917 bool temp2 = False ;
d14a1e28
RD
28918 PyObject * obj0 = 0 ;
28919 PyObject * obj1 = 0 ;
28920 PyObject * obj2 = 0 ;
28921 char *kwnames[] = {
28922 (char *) "self",(char *) "item",(char *) "clientData", NULL
28923 };
28924
28925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28927 {
28928 arg2 = wxString_in_helper(obj1);
28929 if (arg2 == NULL) SWIG_fail;
423f194a 28930 temp2 = True;
d14a1e28
RD
28931 }
28932 if (obj2) {
28933 arg3 = obj2;
28934 }
28935 {
28936 PyThreadState* __tstate = wxPyBeginAllowThreads();
28937 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28938
28939 wxPyEndAllowThreads(__tstate);
28940 if (PyErr_Occurred()) SWIG_fail;
28941 }
28942 resultobj = PyInt_FromLong((long)result);
28943 {
28944 if (temp2)
28945 delete arg2;
28946 }
28947 return resultobj;
28948 fail:
28949 {
28950 if (temp2)
28951 delete arg2;
28952 }
28953 return NULL;
28954}
28955
28956
28957static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28958 PyObject *resultobj;
28959 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28960 wxArrayString *arg2 = 0 ;
28961 PyObject * obj0 = 0 ;
28962 PyObject * obj1 = 0 ;
28963 char *kwnames[] = {
28964 (char *) "self",(char *) "strings", NULL
28965 };
28966
28967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28969 {
28970 if (! PySequence_Check(obj1)) {
28971 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28972 SWIG_fail;
28973 }
28974 arg2 = new wxArrayString;
28975 int i, len=PySequence_Length(obj1);
28976 for (i=0; i<len; i++) {
28977 PyObject* item = PySequence_GetItem(obj1, i);
28978#if wxUSE_UNICODE
28979 PyObject* str = PyObject_Unicode(item);
28980#else
28981 PyObject* str = PyObject_Str(item);
28982#endif
28983 arg2->Add(Py2wxString(str));
28984 Py_DECREF(item);
28985 Py_DECREF(str);
28986 }
28987 }
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 (arg1)->Append((wxArrayString const &)*arg2);
28991
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 Py_INCREF(Py_None); resultobj = Py_None;
28996 {
28997 if (arg2) delete arg2;
28998 }
28999 return resultobj;
29000 fail:
29001 {
29002 if (arg2) delete arg2;
29003 }
29004 return NULL;
29005}
29006
29007
29008static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29009 PyObject *resultobj;
29010 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29011 wxString *arg2 = 0 ;
29012 int arg3 ;
29013 PyObject *arg4 = (PyObject *) NULL ;
29014 int result;
423f194a 29015 bool temp2 = False ;
d14a1e28
RD
29016 PyObject * obj0 = 0 ;
29017 PyObject * obj1 = 0 ;
29018 PyObject * obj3 = 0 ;
29019 char *kwnames[] = {
29020 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29021 };
29022
29023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
29024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29025 {
29026 arg2 = wxString_in_helper(obj1);
29027 if (arg2 == NULL) SWIG_fail;
423f194a 29028 temp2 = True;
d14a1e28
RD
29029 }
29030 if (obj3) {
29031 arg4 = obj3;
29032 }
29033 {
29034 PyThreadState* __tstate = wxPyBeginAllowThreads();
29035 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
29036
29037 wxPyEndAllowThreads(__tstate);
29038 if (PyErr_Occurred()) SWIG_fail;
29039 }
29040 resultobj = PyInt_FromLong((long)result);
29041 {
29042 if (temp2)
29043 delete arg2;
29044 }
29045 return resultobj;
29046 fail:
29047 {
29048 if (temp2)
29049 delete arg2;
29050 }
29051 return NULL;
29052}
29053
29054
29055static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
29056 PyObject *resultobj;
29057 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29058 PyObject * obj0 = 0 ;
29059 char *kwnames[] = {
29060 (char *) "self", NULL
29061 };
29062
29063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
29064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29065 {
29066 PyThreadState* __tstate = wxPyBeginAllowThreads();
29067 (arg1)->Clear();
29068
29069 wxPyEndAllowThreads(__tstate);
29070 if (PyErr_Occurred()) SWIG_fail;
29071 }
29072 Py_INCREF(Py_None); resultobj = Py_None;
29073 return resultobj;
29074 fail:
29075 return NULL;
29076}
29077
29078
29079static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29080 PyObject *resultobj;
29081 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29082 int arg2 ;
29083 PyObject * obj0 = 0 ;
29084 char *kwnames[] = {
29085 (char *) "self",(char *) "n", NULL
29086 };
29087
29088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
29089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29090 {
29091 PyThreadState* __tstate = wxPyBeginAllowThreads();
29092 (arg1)->Delete(arg2);
29093
29094 wxPyEndAllowThreads(__tstate);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 }
29097 Py_INCREF(Py_None); resultobj = Py_None;
29098 return resultobj;
29099 fail:
29100 return NULL;
29101}
29102
29103
29104static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29105 PyObject *resultobj;
29106 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29107 int result;
29108 PyObject * obj0 = 0 ;
29109 char *kwnames[] = {
29110 (char *) "self", NULL
29111 };
29112
29113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
29114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29115 {
29116 PyThreadState* __tstate = wxPyBeginAllowThreads();
29117 result = (int)((wxItemContainer const *)arg1)->GetCount();
29118
29119 wxPyEndAllowThreads(__tstate);
29120 if (PyErr_Occurred()) SWIG_fail;
29121 }
29122 resultobj = PyInt_FromLong((long)result);
29123 return resultobj;
29124 fail:
29125 return NULL;
29126}
29127
29128
29129static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
29130 PyObject *resultobj;
29131 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29132 bool result;
29133 PyObject * obj0 = 0 ;
29134 char *kwnames[] = {
29135 (char *) "self", NULL
29136 };
29137
29138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
29139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 resultobj = PyInt_FromLong((long)result);
29148 return resultobj;
29149 fail:
29150 return NULL;
29151}
29152
29153
29154static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29155 PyObject *resultobj;
29156 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29157 int arg2 ;
29158 wxString result;
29159 PyObject * obj0 = 0 ;
29160 char *kwnames[] = {
29161 (char *) "self",(char *) "n", NULL
29162 };
29163
29164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
29165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 result = ((wxItemContainer const *)arg1)->GetString(arg2);
29169
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
29173 {
29174#if wxUSE_UNICODE
29175 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29176#else
29177 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29178#endif
29179 }
29180 return resultobj;
29181 fail:
29182 return NULL;
29183}
29184
29185
29186static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
29187 PyObject *resultobj;
29188 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29189 wxArrayString result;
29190 PyObject * obj0 = 0 ;
29191 char *kwnames[] = {
29192 (char *) "self", NULL
29193 };
29194
29195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
29196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 result = ((wxItemContainer const *)arg1)->GetStrings();
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 {
29205 resultobj = wxArrayString2PyList_helper(result);
29206 }
29207 return resultobj;
29208 fail:
29209 return NULL;
29210}
29211
29212
29213static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj;
29215 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29216 int arg2 ;
29217 wxString *arg3 = 0 ;
423f194a 29218 bool temp3 = False ;
d14a1e28
RD
29219 PyObject * obj0 = 0 ;
29220 PyObject * obj2 = 0 ;
29221 char *kwnames[] = {
29222 (char *) "self",(char *) "n",(char *) "s", NULL
29223 };
29224
29225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
29226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29227 {
29228 arg3 = wxString_in_helper(obj2);
29229 if (arg3 == NULL) SWIG_fail;
423f194a 29230 temp3 = True;
d14a1e28
RD
29231 }
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 (arg1)->SetString(arg2,(wxString const &)*arg3);
29235
29236 wxPyEndAllowThreads(__tstate);
29237 if (PyErr_Occurred()) SWIG_fail;
29238 }
29239 Py_INCREF(Py_None); resultobj = Py_None;
29240 {
29241 if (temp3)
29242 delete arg3;
29243 }
29244 return resultobj;
29245 fail:
29246 {
29247 if (temp3)
29248 delete arg3;
29249 }
29250 return NULL;
29251}
29252
29253
29254static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
29255 PyObject *resultobj;
29256 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29257 wxString *arg2 = 0 ;
29258 int result;
423f194a 29259 bool temp2 = False ;
d14a1e28
RD
29260 PyObject * obj0 = 0 ;
29261 PyObject * obj1 = 0 ;
29262 char *kwnames[] = {
29263 (char *) "self",(char *) "s", NULL
29264 };
29265
29266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
29267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29268 {
29269 arg2 = wxString_in_helper(obj1);
29270 if (arg2 == NULL) SWIG_fail;
423f194a 29271 temp2 = True;
d14a1e28
RD
29272 }
29273 {
29274 PyThreadState* __tstate = wxPyBeginAllowThreads();
29275 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
29276
29277 wxPyEndAllowThreads(__tstate);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 }
29280 resultobj = PyInt_FromLong((long)result);
29281 {
29282 if (temp2)
29283 delete arg2;
29284 }
29285 return resultobj;
29286 fail:
29287 {
29288 if (temp2)
29289 delete arg2;
29290 }
29291 return NULL;
29292}
29293
29294
29295static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
29296 PyObject *resultobj;
29297 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29298 int arg2 ;
29299 PyObject * obj0 = 0 ;
29300 char *kwnames[] = {
29301 (char *) "self",(char *) "n", NULL
29302 };
29303
29304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
29305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29306 {
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
29308 (arg1)->Select(arg2);
29309
29310 wxPyEndAllowThreads(__tstate);
29311 if (PyErr_Occurred()) SWIG_fail;
29312 }
29313 Py_INCREF(Py_None); resultobj = Py_None;
29314 return resultobj;
29315 fail:
29316 return NULL;
29317}
29318
29319
29320static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29321 PyObject *resultobj;
29322 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29323 int result;
29324 PyObject * obj0 = 0 ;
29325 char *kwnames[] = {
29326 (char *) "self", NULL
29327 };
29328
29329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
29330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 result = (int)((wxItemContainer const *)arg1)->GetSelection();
29334
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 resultobj = PyInt_FromLong((long)result);
29339 return resultobj;
29340 fail:
29341 return NULL;
29342}
29343
29344
29345static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29346 PyObject *resultobj;
29347 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29348 wxString result;
29349 PyObject * obj0 = 0 ;
29350 char *kwnames[] = {
29351 (char *) "self", NULL
29352 };
29353
29354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
29355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 result = ((wxItemContainer const *)arg1)->GetStringSelection();
29359
29360 wxPyEndAllowThreads(__tstate);
29361 if (PyErr_Occurred()) SWIG_fail;
29362 }
29363 {
29364#if wxUSE_UNICODE
29365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29366#else
29367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29368#endif
29369 }
29370 return resultobj;
29371 fail:
29372 return NULL;
29373}
29374
29375
29376static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29377 PyObject *resultobj;
29378 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29379 int arg2 ;
29380 PyObject *result;
29381 PyObject * obj0 = 0 ;
29382 char *kwnames[] = {
29383 (char *) "self",(char *) "n", NULL
29384 };
29385
29386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
29387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29388 {
29389 PyThreadState* __tstate = wxPyBeginAllowThreads();
29390 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
29391
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
29395 resultobj = result;
29396 return resultobj;
29397 fail:
29398 return NULL;
29399}
29400
29401
29402static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29403 PyObject *resultobj;
29404 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29405 int arg2 ;
29406 PyObject *arg3 = (PyObject *) 0 ;
29407 PyObject * obj0 = 0 ;
29408 PyObject * obj2 = 0 ;
29409 char *kwnames[] = {
29410 (char *) "self",(char *) "n",(char *) "clientData", NULL
29411 };
29412
29413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
29414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29415 arg3 = obj2;
29416 {
29417 PyThreadState* __tstate = wxPyBeginAllowThreads();
29418 wxItemContainer_SetClientData(arg1,arg2,arg3);
29419
29420 wxPyEndAllowThreads(__tstate);
29421 if (PyErr_Occurred()) SWIG_fail;
29422 }
29423 Py_INCREF(Py_None); resultobj = Py_None;
29424 return resultobj;
29425 fail:
29426 return NULL;
29427}
29428
29429
29430static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
29431 PyObject *obj;
29432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29433 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
29434 Py_INCREF(obj);
29435 return Py_BuildValue((char *)"");
29436}
29437static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
29438 PyObject *obj;
29439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29440 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
29441 Py_INCREF(obj);
29442 return Py_BuildValue((char *)"");
29443}
29444static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29445 PyObject *resultobj;
29446 wxSizerItem *result;
29447 char *kwnames[] = {
29448 NULL
29449 };
29450
29451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
29452 {
29453 PyThreadState* __tstate = wxPyBeginAllowThreads();
29454 result = (wxSizerItem *)new wxSizerItem();
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_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29467 PyObject *resultobj;
29468 int arg1 ;
29469 int arg2 ;
29470 int arg3 ;
29471 int arg4 ;
29472 int arg5 ;
29473 wxObject *arg6 = (wxObject *) 0 ;
29474 wxSizerItem *result;
29475 PyObject * obj5 = 0 ;
29476 char *kwnames[] = {
29477 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29478 };
29479
29480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29481 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29482 {
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29485
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29490 return resultobj;
29491 fail:
29492 return NULL;
29493}
29494
29495
29496static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj;
29498 wxWindow *arg1 = (wxWindow *) 0 ;
29499 int arg2 ;
29500 int arg3 ;
29501 int arg4 ;
29502 wxObject *arg5 = (wxObject *) 0 ;
29503 wxSizerItem *result;
29504 PyObject * obj0 = 0 ;
29505 PyObject * obj4 = 0 ;
29506 char *kwnames[] = {
29507 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29508 };
29509
29510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29512 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29513 {
29514 PyThreadState* __tstate = wxPyBeginAllowThreads();
29515 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29516
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29521 return resultobj;
29522 fail:
29523 return NULL;
29524}
29525
29526
29527static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29528 PyObject *resultobj;
29529 wxSizer *arg1 = (wxSizer *) 0 ;
29530 int arg2 ;
29531 int arg3 ;
29532 int arg4 ;
29533 wxObject *arg5 = (wxObject *) 0 ;
29534 wxSizerItem *result;
29535 PyObject * obj0 = 0 ;
29536 PyObject * obj4 = 0 ;
29537 char *kwnames[] = {
29538 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29539 };
29540
29541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29543 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29544 {
29545 PyThreadState* __tstate = wxPyBeginAllowThreads();
29546 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29547
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29552 return resultobj;
29553 fail:
29554 return NULL;
29555}
29556
29557
29558static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29559 PyObject *resultobj;
29560 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29561 PyObject * obj0 = 0 ;
29562 char *kwnames[] = {
29563 (char *) "self", NULL
29564 };
29565
29566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29568 {
29569 PyThreadState* __tstate = wxPyBeginAllowThreads();
29570 (arg1)->DeleteWindows();
29571
29572 wxPyEndAllowThreads(__tstate);
29573 if (PyErr_Occurred()) SWIG_fail;
29574 }
29575 Py_INCREF(Py_None); resultobj = Py_None;
29576 return resultobj;
29577 fail:
29578 return NULL;
29579}
29580
29581
29582static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29583 PyObject *resultobj;
29584 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29585 PyObject * obj0 = 0 ;
29586 char *kwnames[] = {
29587 (char *) "self", NULL
29588 };
29589
29590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29592 {
29593 PyThreadState* __tstate = wxPyBeginAllowThreads();
29594 (arg1)->DetachSizer();
29595
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 Py_INCREF(Py_None); resultobj = Py_None;
29600 return resultobj;
29601 fail:
29602 return NULL;
29603}
29604
29605
29606static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29607 PyObject *resultobj;
29608 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29609 wxSize result;
29610 PyObject * obj0 = 0 ;
29611 char *kwnames[] = {
29612 (char *) "self", NULL
29613 };
29614
29615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29617 {
29618 PyThreadState* __tstate = wxPyBeginAllowThreads();
29619 result = (arg1)->GetSize();
29620
29621 wxPyEndAllowThreads(__tstate);
29622 if (PyErr_Occurred()) SWIG_fail;
29623 }
29624 {
29625 wxSize * resultptr;
29626 resultptr = new wxSize((wxSize &) result);
29627 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29628 }
29629 return resultobj;
29630 fail:
29631 return NULL;
29632}
29633
29634
29635static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29636 PyObject *resultobj;
29637 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29638 wxSize result;
29639 PyObject * obj0 = 0 ;
29640 char *kwnames[] = {
29641 (char *) "self", NULL
29642 };
29643
29644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 result = (arg1)->CalcMin();
29649
29650 wxPyEndAllowThreads(__tstate);
29651 if (PyErr_Occurred()) SWIG_fail;
29652 }
29653 {
29654 wxSize * resultptr;
29655 resultptr = new wxSize((wxSize &) result);
29656 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29657 }
29658 return resultobj;
29659 fail:
29660 return NULL;
29661}
29662
29663
29664static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29665 PyObject *resultobj;
29666 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29667 wxPoint arg2 ;
29668 wxSize arg3 ;
29669 wxPoint *argp2 ;
29670 wxSize *argp3 ;
29671 PyObject * obj0 = 0 ;
29672 PyObject * obj1 = 0 ;
29673 PyObject * obj2 = 0 ;
29674 char *kwnames[] = {
29675 (char *) "self",(char *) "pos",(char *) "size", NULL
29676 };
29677
29678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29680 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29681 arg2 = *argp2;
29682 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29683 arg3 = *argp3;
29684 {
29685 PyThreadState* __tstate = wxPyBeginAllowThreads();
29686 (arg1)->SetDimension(arg2,arg3);
29687
29688 wxPyEndAllowThreads(__tstate);
29689 if (PyErr_Occurred()) SWIG_fail;
29690 }
29691 Py_INCREF(Py_None); resultobj = Py_None;
29692 return resultobj;
29693 fail:
29694 return NULL;
29695}
29696
29697
29698static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj;
29700 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29701 wxSize result;
29702 PyObject * obj0 = 0 ;
29703 char *kwnames[] = {
29704 (char *) "self", NULL
29705 };
29706
29707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) 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 result = (arg1)->GetMinSize();
29712
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 {
29717 wxSize * resultptr;
29718 resultptr = new wxSize((wxSize &) result);
29719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29720 }
29721 return resultobj;
29722 fail:
29723 return NULL;
29724}
29725
29726
29727static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29728 PyObject *resultobj;
29729 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29730 int arg2 ;
29731 int arg3 ;
29732 PyObject * obj0 = 0 ;
29733 char *kwnames[] = {
29734 (char *) "self",(char *) "x",(char *) "y", NULL
29735 };
29736
29737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29739 {
29740 PyThreadState* __tstate = wxPyBeginAllowThreads();
29741 (arg1)->SetInitSize(arg2,arg3);
29742
29743 wxPyEndAllowThreads(__tstate);
29744 if (PyErr_Occurred()) SWIG_fail;
29745 }
29746 Py_INCREF(Py_None); resultobj = Py_None;
29747 return resultobj;
29748 fail:
29749 return NULL;
29750}
29751
29752
29753static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29754 PyObject *resultobj;
29755 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29756 int arg2 ;
29757 int arg3 ;
29758 PyObject * obj0 = 0 ;
29759 char *kwnames[] = {
29760 (char *) "self",(char *) "width",(char *) "height", NULL
29761 };
29762
29763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 (arg1)->SetRatio(arg2,arg3);
29768
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 Py_INCREF(Py_None); resultobj = Py_None;
29773 return resultobj;
29774 fail:
29775 return NULL;
29776}
29777
29778
29779static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj;
29781 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29782 wxSize arg2 ;
29783 wxSize *argp2 ;
29784 PyObject * obj0 = 0 ;
29785 PyObject * obj1 = 0 ;
29786 char *kwnames[] = {
29787 (char *) "self",(char *) "size", NULL
29788 };
29789
29790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29792 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29793 arg2 = *argp2;
29794 {
29795 PyThreadState* __tstate = wxPyBeginAllowThreads();
29796 (arg1)->SetRatio(arg2);
29797
29798 wxPyEndAllowThreads(__tstate);
29799 if (PyErr_Occurred()) SWIG_fail;
29800 }
29801 Py_INCREF(Py_None); resultobj = Py_None;
29802 return resultobj;
29803 fail:
29804 return NULL;
29805}
29806
29807
29808static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29809 PyObject *resultobj;
29810 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29811 float arg2 ;
29812 PyObject * obj0 = 0 ;
29813 char *kwnames[] = {
29814 (char *) "self",(char *) "ratio", NULL
29815 };
29816
29817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29819 {
29820 PyThreadState* __tstate = wxPyBeginAllowThreads();
29821 (arg1)->SetRatio(arg2);
29822
29823 wxPyEndAllowThreads(__tstate);
29824 if (PyErr_Occurred()) SWIG_fail;
29825 }
29826 Py_INCREF(Py_None); resultobj = Py_None;
29827 return resultobj;
29828 fail:
29829 return NULL;
29830}
29831
29832
29833static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29834 PyObject *resultobj;
29835 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29836 float result;
29837 PyObject * obj0 = 0 ;
29838 char *kwnames[] = {
29839 (char *) "self", NULL
29840 };
29841
29842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
29846 result = (float)(arg1)->GetRatio();
29847
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 resultobj = PyFloat_FromDouble(result);
29852 return resultobj;
29853 fail:
29854 return NULL;
29855}
29856
29857
29858static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29859 PyObject *resultobj;
29860 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29861 bool result;
29862 PyObject * obj0 = 0 ;
29863 char *kwnames[] = {
29864 (char *) "self", NULL
29865 };
29866
29867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29869 {
29870 PyThreadState* __tstate = wxPyBeginAllowThreads();
29871 result = (bool)(arg1)->IsWindow();
29872
29873 wxPyEndAllowThreads(__tstate);
29874 if (PyErr_Occurred()) SWIG_fail;
29875 }
29876 resultobj = PyInt_FromLong((long)result);
29877 return resultobj;
29878 fail:
29879 return NULL;
29880}
29881
29882
29883static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29884 PyObject *resultobj;
29885 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29886 bool result;
29887 PyObject * obj0 = 0 ;
29888 char *kwnames[] = {
29889 (char *) "self", NULL
29890 };
29891
29892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29894 {
29895 PyThreadState* __tstate = wxPyBeginAllowThreads();
29896 result = (bool)(arg1)->IsSizer();
29897
29898 wxPyEndAllowThreads(__tstate);
29899 if (PyErr_Occurred()) SWIG_fail;
29900 }
29901 resultobj = PyInt_FromLong((long)result);
29902 return resultobj;
29903 fail:
29904 return NULL;
29905}
29906
29907
29908static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29909 PyObject *resultobj;
29910 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29911 bool result;
29912 PyObject * obj0 = 0 ;
29913 char *kwnames[] = {
29914 (char *) "self", NULL
29915 };
29916
29917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29919 {
29920 PyThreadState* __tstate = wxPyBeginAllowThreads();
29921 result = (bool)(arg1)->IsSpacer();
29922
29923 wxPyEndAllowThreads(__tstate);
29924 if (PyErr_Occurred()) SWIG_fail;
29925 }
29926 resultobj = PyInt_FromLong((long)result);
29927 return resultobj;
29928 fail:
29929 return NULL;
29930}
29931
29932
29933static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29934 PyObject *resultobj;
29935 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29936 int arg2 ;
29937 PyObject * obj0 = 0 ;
29938 char *kwnames[] = {
29939 (char *) "self",(char *) "proportion", NULL
29940 };
29941
29942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29944 {
29945 PyThreadState* __tstate = wxPyBeginAllowThreads();
29946 (arg1)->SetProportion(arg2);
29947
29948 wxPyEndAllowThreads(__tstate);
29949 if (PyErr_Occurred()) SWIG_fail;
29950 }
29951 Py_INCREF(Py_None); resultobj = Py_None;
29952 return resultobj;
29953 fail:
29954 return NULL;
29955}
29956
29957
29958static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29959 PyObject *resultobj;
29960 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29961 int result;
29962 PyObject * obj0 = 0 ;
29963 char *kwnames[] = {
29964 (char *) "self", NULL
29965 };
29966
29967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29969 {
29970 PyThreadState* __tstate = wxPyBeginAllowThreads();
29971 result = (int)(arg1)->GetProportion();
29972
29973 wxPyEndAllowThreads(__tstate);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 }
29976 resultobj = PyInt_FromLong((long)result);
29977 return resultobj;
29978 fail:
29979 return NULL;
29980}
29981
29982
29983static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29984 PyObject *resultobj;
29985 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29986 int arg2 ;
29987 PyObject * obj0 = 0 ;
29988 char *kwnames[] = {
29989 (char *) "self",(char *) "flag", NULL
29990 };
29991
29992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->SetFlag(arg2);
29997
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
30001 Py_INCREF(Py_None); resultobj = Py_None;
30002 return resultobj;
30003 fail:
30004 return NULL;
30005}
30006
30007
30008static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
30009 PyObject *resultobj;
30010 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30011 int result;
30012 PyObject * obj0 = 0 ;
30013 char *kwnames[] = {
30014 (char *) "self", NULL
30015 };
30016
30017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
30018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30019 {
30020 PyThreadState* __tstate = wxPyBeginAllowThreads();
30021 result = (int)(arg1)->GetFlag();
30022
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 resultobj = PyInt_FromLong((long)result);
30027 return resultobj;
30028 fail:
30029 return NULL;
30030}
30031
30032
30033static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30034 PyObject *resultobj;
30035 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30036 int arg2 ;
30037 PyObject * obj0 = 0 ;
30038 char *kwnames[] = {
30039 (char *) "self",(char *) "border", NULL
30040 };
30041
30042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
30043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30044 {
30045 PyThreadState* __tstate = wxPyBeginAllowThreads();
30046 (arg1)->SetBorder(arg2);
30047
30048 wxPyEndAllowThreads(__tstate);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 Py_INCREF(Py_None); resultobj = Py_None;
30052 return resultobj;
30053 fail:
30054 return NULL;
30055}
30056
30057
30058static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj;
30060 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30061 int result;
30062 PyObject * obj0 = 0 ;
30063 char *kwnames[] = {
30064 (char *) "self", NULL
30065 };
30066
30067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
30068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30069 {
30070 PyThreadState* __tstate = wxPyBeginAllowThreads();
30071 result = (int)(arg1)->GetBorder();
30072
30073 wxPyEndAllowThreads(__tstate);
30074 if (PyErr_Occurred()) SWIG_fail;
30075 }
30076 resultobj = PyInt_FromLong((long)result);
30077 return resultobj;
30078 fail:
30079 return NULL;
30080}
30081
30082
30083static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30084 PyObject *resultobj;
30085 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30086 wxWindow *result;
30087 PyObject * obj0 = 0 ;
30088 char *kwnames[] = {
30089 (char *) "self", NULL
30090 };
30091
30092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
30093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30094 {
30095 PyThreadState* __tstate = wxPyBeginAllowThreads();
30096 result = (wxWindow *)(arg1)->GetWindow();
30097
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
30101 {
30102 resultobj = wxPyMake_wxObject(result);
30103 }
30104 return resultobj;
30105 fail:
30106 return NULL;
30107}
30108
30109
30110static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30111 PyObject *resultobj;
30112 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30113 wxWindow *arg2 = (wxWindow *) 0 ;
30114 PyObject * obj0 = 0 ;
30115 PyObject * obj1 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self",(char *) "window", NULL
30118 };
30119
30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
30121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30123 {
30124 PyThreadState* __tstate = wxPyBeginAllowThreads();
30125 (arg1)->SetWindow(arg2);
30126
30127 wxPyEndAllowThreads(__tstate);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 }
30130 Py_INCREF(Py_None); resultobj = Py_None;
30131 return resultobj;
30132 fail:
30133 return NULL;
30134}
30135
30136
30137static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30138 PyObject *resultobj;
30139 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30140 wxSizer *result;
30141 PyObject * obj0 = 0 ;
30142 char *kwnames[] = {
30143 (char *) "self", NULL
30144 };
30145
30146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
30147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30148 {
30149 PyThreadState* __tstate = wxPyBeginAllowThreads();
30150 result = (wxSizer *)(arg1)->GetSizer();
30151
30152 wxPyEndAllowThreads(__tstate);
30153 if (PyErr_Occurred()) SWIG_fail;
30154 }
30155 {
30156 resultobj = wxPyMake_wxSizer(result);
30157 }
30158 return resultobj;
30159 fail:
30160 return NULL;
30161}
30162
30163
30164static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30165 PyObject *resultobj;
30166 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30167 wxSizer *arg2 = (wxSizer *) 0 ;
30168 PyObject * obj0 = 0 ;
30169 PyObject * obj1 = 0 ;
30170 char *kwnames[] = {
30171 (char *) "self",(char *) "sizer", NULL
30172 };
30173
30174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
30175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30177 {
30178 PyThreadState* __tstate = wxPyBeginAllowThreads();
30179 (arg1)->SetSizer(arg2);
30180
30181 wxPyEndAllowThreads(__tstate);
30182 if (PyErr_Occurred()) SWIG_fail;
30183 }
30184 Py_INCREF(Py_None); resultobj = Py_None;
30185 return resultobj;
30186 fail:
30187 return NULL;
30188}
30189
30190
30191static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30192 PyObject *resultobj;
30193 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30194 wxSize *result;
30195 PyObject * obj0 = 0 ;
30196 char *kwnames[] = {
30197 (char *) "self", NULL
30198 };
30199
30200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
30201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30202 {
30203 PyThreadState* __tstate = wxPyBeginAllowThreads();
30204 {
30205 wxSize const &_result_ref = (arg1)->GetSpacer();
30206 result = (wxSize *) &_result_ref;
30207 }
30208
30209 wxPyEndAllowThreads(__tstate);
30210 if (PyErr_Occurred()) SWIG_fail;
30211 }
30212 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
30213 return resultobj;
30214 fail:
30215 return NULL;
30216}
30217
30218
30219static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30220 PyObject *resultobj;
30221 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30222 wxSize *arg2 = 0 ;
30223 wxSize temp2 ;
30224 PyObject * obj0 = 0 ;
30225 PyObject * obj1 = 0 ;
30226 char *kwnames[] = {
30227 (char *) "self",(char *) "size", NULL
30228 };
30229
30230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
30231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30232 {
30233 arg2 = &temp2;
30234 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30235 }
30236 {
30237 PyThreadState* __tstate = wxPyBeginAllowThreads();
30238 (arg1)->SetSpacer((wxSize const &)*arg2);
30239
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 Py_INCREF(Py_None); resultobj = Py_None;
30244 return resultobj;
30245 fail:
30246 return NULL;
30247}
30248
30249
30250static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30251 PyObject *resultobj;
30252 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30253 bool arg2 ;
30254 PyObject * obj0 = 0 ;
30255 PyObject * obj1 = 0 ;
30256 char *kwnames[] = {
30257 (char *) "self",(char *) "show", NULL
30258 };
30259
30260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
30261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30262 arg2 = PyInt_AsLong(obj1) ? true : false;
30263 if (PyErr_Occurred()) SWIG_fail;
30264 {
30265 PyThreadState* __tstate = wxPyBeginAllowThreads();
30266 (arg1)->Show(arg2);
30267
30268 wxPyEndAllowThreads(__tstate);
30269 if (PyErr_Occurred()) SWIG_fail;
30270 }
30271 Py_INCREF(Py_None); resultobj = Py_None;
30272 return resultobj;
30273 fail:
30274 return NULL;
30275}
30276
30277
30278static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30279 PyObject *resultobj;
30280 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30281 bool result;
30282 PyObject * obj0 = 0 ;
30283 char *kwnames[] = {
30284 (char *) "self", NULL
30285 };
30286
30287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
30288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30289 {
30290 PyThreadState* __tstate = wxPyBeginAllowThreads();
30291 result = (bool)(arg1)->IsShown();
30292
30293 wxPyEndAllowThreads(__tstate);
30294 if (PyErr_Occurred()) SWIG_fail;
30295 }
30296 resultobj = PyInt_FromLong((long)result);
30297 return resultobj;
30298 fail:
30299 return NULL;
30300}
30301
30302
30303static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30304 PyObject *resultobj;
30305 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30306 wxPoint result;
30307 PyObject * obj0 = 0 ;
30308 char *kwnames[] = {
30309 (char *) "self", NULL
30310 };
30311
30312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
30313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30314 {
30315 PyThreadState* __tstate = wxPyBeginAllowThreads();
30316 result = (arg1)->GetPosition();
30317
30318 wxPyEndAllowThreads(__tstate);
30319 if (PyErr_Occurred()) SWIG_fail;
30320 }
30321 {
30322 wxPoint * resultptr;
30323 resultptr = new wxPoint((wxPoint &) result);
30324 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30325 }
30326 return resultobj;
30327 fail:
30328 return NULL;
30329}
30330
30331
30332static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
30333 PyObject *resultobj;
30334 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30335 PyObject *result;
30336 PyObject * obj0 = 0 ;
30337 char *kwnames[] = {
30338 (char *) "self", NULL
30339 };
30340
30341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
30342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 result = (PyObject *)wxSizerItem_GetUserData(arg1);
30346
30347 wxPyEndAllowThreads(__tstate);
30348 if (PyErr_Occurred()) SWIG_fail;
30349 }
30350 resultobj = result;
30351 return resultobj;
30352 fail:
30353 return NULL;
30354}
30355
30356
30357static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
30358 PyObject *obj;
30359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30360 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
30361 Py_INCREF(obj);
30362 return Py_BuildValue((char *)"");
30363}
30364static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30365 PyObject *resultobj;
30366 wxSizer *arg1 = (wxSizer *) 0 ;
30367 PyObject *arg2 = (PyObject *) 0 ;
30368 PyObject * obj0 = 0 ;
30369 PyObject * obj1 = 0 ;
30370 char *kwnames[] = {
30371 (char *) "self",(char *) "_self", NULL
30372 };
30373
30374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
30375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30376 arg2 = obj1;
30377 {
30378 PyThreadState* __tstate = wxPyBeginAllowThreads();
30379 wxSizer__setOORInfo(arg1,arg2);
30380
30381 wxPyEndAllowThreads(__tstate);
30382 if (PyErr_Occurred()) SWIG_fail;
30383 }
30384 Py_INCREF(Py_None); resultobj = Py_None;
30385 return resultobj;
30386 fail:
30387 return NULL;
30388}
30389
30390
30391static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
30392 PyObject *resultobj;
30393 wxSizer *arg1 = (wxSizer *) 0 ;
30394 PyObject *arg2 = (PyObject *) 0 ;
30395 int arg3 = (int) 0 ;
30396 int arg4 = (int) 0 ;
30397 int arg5 = (int) 0 ;
30398 PyObject *arg6 = (PyObject *) NULL ;
30399 PyObject * obj0 = 0 ;
30400 PyObject * obj1 = 0 ;
30401 PyObject * obj5 = 0 ;
30402 char *kwnames[] = {
30403 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30404 };
30405
30406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30408 arg2 = obj1;
30409 if (obj5) {
30410 arg6 = obj5;
30411 }
30412 {
30413 PyThreadState* __tstate = wxPyBeginAllowThreads();
30414 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
30415
30416 wxPyEndAllowThreads(__tstate);
30417 if (PyErr_Occurred()) SWIG_fail;
30418 }
30419 Py_INCREF(Py_None); resultobj = Py_None;
30420 return resultobj;
30421 fail:
30422 return NULL;
30423}
30424
30425
30426static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30427 PyObject *resultobj;
30428 wxSizer *arg1 = (wxSizer *) 0 ;
30429 int arg2 ;
30430 PyObject *arg3 = (PyObject *) 0 ;
30431 int arg4 = (int) 0 ;
30432 int arg5 = (int) 0 ;
30433 int arg6 = (int) 0 ;
30434 PyObject *arg7 = (PyObject *) NULL ;
30435 PyObject * obj0 = 0 ;
30436 PyObject * obj2 = 0 ;
30437 PyObject * obj6 = 0 ;
30438 char *kwnames[] = {
30439 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30440 };
30441
30442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
30443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30444 arg3 = obj2;
30445 if (obj6) {
30446 arg7 = obj6;
30447 }
30448 {
30449 PyThreadState* __tstate = wxPyBeginAllowThreads();
30450 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
30451
30452 wxPyEndAllowThreads(__tstate);
30453 if (PyErr_Occurred()) SWIG_fail;
30454 }
30455 Py_INCREF(Py_None); resultobj = Py_None;
30456 return resultobj;
30457 fail:
30458 return NULL;
30459}
30460
30461
30462static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30463 PyObject *resultobj;
30464 wxSizer *arg1 = (wxSizer *) 0 ;
30465 PyObject *arg2 = (PyObject *) 0 ;
30466 int arg3 = (int) 0 ;
30467 int arg4 = (int) 0 ;
30468 int arg5 = (int) 0 ;
30469 PyObject *arg6 = (PyObject *) NULL ;
30470 PyObject * obj0 = 0 ;
30471 PyObject * obj1 = 0 ;
30472 PyObject * obj5 = 0 ;
30473 char *kwnames[] = {
30474 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30475 };
30476
30477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30479 arg2 = obj1;
30480 if (obj5) {
30481 arg6 = obj5;
30482 }
30483 {
30484 PyThreadState* __tstate = wxPyBeginAllowThreads();
30485 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30486
30487 wxPyEndAllowThreads(__tstate);
30488 if (PyErr_Occurred()) SWIG_fail;
30489 }
30490 Py_INCREF(Py_None); resultobj = Py_None;
30491 return resultobj;
30492 fail:
30493 return NULL;
30494}
30495
30496
30497static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30498 PyObject *resultobj;
30499 wxSizer *arg1 = (wxSizer *) 0 ;
30500 PyObject *arg2 = (PyObject *) 0 ;
30501 bool result;
30502 PyObject * obj0 = 0 ;
30503 PyObject * obj1 = 0 ;
30504 char *kwnames[] = {
30505 (char *) "self",(char *) "item", NULL
30506 };
30507
30508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30510 arg2 = obj1;
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 result = (bool)wxSizer_Remove(arg1,arg2);
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 resultobj = PyInt_FromLong((long)result);
30519 return resultobj;
30520 fail:
30521 return NULL;
30522}
30523
30524
30525static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj;
30527 wxSizer *arg1 = (wxSizer *) 0 ;
30528 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
30529 wxSize *arg3 = 0 ;
30530 wxSize temp3 ;
d14a1e28
RD
30531 PyObject * obj0 = 0 ;
30532 PyObject * obj1 = 0 ;
30533 PyObject * obj2 = 0 ;
30534 char *kwnames[] = {
30535 (char *) "self",(char *) "item",(char *) "size", NULL
30536 };
30537
30538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30540 arg2 = obj1;
423f194a
RD
30541 {
30542 arg3 = &temp3;
30543 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30544 }
d14a1e28
RD
30545 {
30546 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 30547 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
30548
30549 wxPyEndAllowThreads(__tstate);
30550 if (PyErr_Occurred()) SWIG_fail;
30551 }
30552 Py_INCREF(Py_None); resultobj = Py_None;
30553 return resultobj;
30554 fail:
30555 return NULL;
30556}
30557
30558
30559static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30560 PyObject *resultobj;
30561 wxSizer *arg1 = (wxSizer *) 0 ;
30562 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30563 PyObject * obj0 = 0 ;
30564 PyObject * obj1 = 0 ;
30565 char *kwnames[] = {
30566 (char *) "self",(char *) "item", NULL
30567 };
30568
30569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 (arg1)->Add(arg2);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 Py_INCREF(Py_None); resultobj = Py_None;
30580 return resultobj;
30581 fail:
30582 return NULL;
30583}
30584
30585
30586static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj;
30588 wxSizer *arg1 = (wxSizer *) 0 ;
30589 size_t arg2 ;
30590 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30591 PyObject * obj0 = 0 ;
30592 PyObject * obj1 = 0 ;
30593 PyObject * obj2 = 0 ;
30594 char *kwnames[] = {
30595 (char *) "self",(char *) "index",(char *) "item", NULL
30596 };
30597
30598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30600 arg2 = (size_t) PyInt_AsLong(obj1);
30601 if (PyErr_Occurred()) SWIG_fail;
30602 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30603 {
30604 PyThreadState* __tstate = wxPyBeginAllowThreads();
30605 (arg1)->Insert(arg2,arg3);
30606
30607 wxPyEndAllowThreads(__tstate);
30608 if (PyErr_Occurred()) SWIG_fail;
30609 }
30610 Py_INCREF(Py_None); resultobj = Py_None;
30611 return resultobj;
30612 fail:
30613 return NULL;
30614}
30615
30616
30617static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30618 PyObject *resultobj;
30619 wxSizer *arg1 = (wxSizer *) 0 ;
30620 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30621 PyObject * obj0 = 0 ;
30622 PyObject * obj1 = 0 ;
30623 char *kwnames[] = {
30624 (char *) "self",(char *) "item", NULL
30625 };
30626
30627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30630 {
30631 PyThreadState* __tstate = wxPyBeginAllowThreads();
30632 (arg1)->Prepend(arg2);
30633
30634 wxPyEndAllowThreads(__tstate);
30635 if (PyErr_Occurred()) SWIG_fail;
30636 }
30637 Py_INCREF(Py_None); resultobj = Py_None;
30638 return resultobj;
30639 fail:
30640 return NULL;
30641}
30642
30643
30644static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30645 PyObject *resultobj;
30646 wxSizer *arg1 = (wxSizer *) 0 ;
30647 int arg2 ;
30648 int arg3 ;
30649 int arg4 ;
30650 int arg5 ;
30651 PyObject * obj0 = 0 ;
30652 char *kwnames[] = {
30653 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30654 };
30655
30656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30658 {
30659 PyThreadState* __tstate = wxPyBeginAllowThreads();
30660 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30661
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 Py_INCREF(Py_None); resultobj = Py_None;
30666 return resultobj;
30667 fail:
30668 return NULL;
30669}
30670
30671
30672static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30673 PyObject *resultobj;
30674 wxSizer *arg1 = (wxSizer *) 0 ;
30675 wxSize arg2 ;
30676 wxSize *argp2 ;
30677 PyObject * obj0 = 0 ;
30678 PyObject * obj1 = 0 ;
30679 char *kwnames[] = {
30680 (char *) "self",(char *) "size", NULL
30681 };
30682
30683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30685 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30686 arg2 = *argp2;
30687 {
30688 PyThreadState* __tstate = wxPyBeginAllowThreads();
30689 (arg1)->SetMinSize(arg2);
30690
30691 wxPyEndAllowThreads(__tstate);
30692 if (PyErr_Occurred()) SWIG_fail;
30693 }
30694 Py_INCREF(Py_None); resultobj = Py_None;
30695 return resultobj;
30696 fail:
30697 return NULL;
30698}
30699
30700
30701static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30702 PyObject *resultobj;
30703 wxSizer *arg1 = (wxSizer *) 0 ;
30704 wxSize result;
30705 PyObject * obj0 = 0 ;
30706 char *kwnames[] = {
30707 (char *) "self", NULL
30708 };
30709
30710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30712 {
30713 PyThreadState* __tstate = wxPyBeginAllowThreads();
30714 result = (arg1)->GetSize();
30715
30716 wxPyEndAllowThreads(__tstate);
30717 if (PyErr_Occurred()) SWIG_fail;
30718 }
30719 {
30720 wxSize * resultptr;
30721 resultptr = new wxSize((wxSize &) result);
30722 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30723 }
30724 return resultobj;
30725 fail:
30726 return NULL;
30727}
30728
30729
30730static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30731 PyObject *resultobj;
30732 wxSizer *arg1 = (wxSizer *) 0 ;
30733 wxPoint result;
30734 PyObject * obj0 = 0 ;
30735 char *kwnames[] = {
30736 (char *) "self", NULL
30737 };
30738
30739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
30743 result = (arg1)->GetPosition();
30744
30745 wxPyEndAllowThreads(__tstate);
30746 if (PyErr_Occurred()) SWIG_fail;
30747 }
30748 {
30749 wxPoint * resultptr;
30750 resultptr = new wxPoint((wxPoint &) result);
30751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30752 }
30753 return resultobj;
30754 fail:
30755 return NULL;
30756}
30757
30758
30759static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30760 PyObject *resultobj;
30761 wxSizer *arg1 = (wxSizer *) 0 ;
30762 wxSize result;
30763 PyObject * obj0 = 0 ;
30764 char *kwnames[] = {
30765 (char *) "self", NULL
30766 };
30767
30768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30770 {
30771 PyThreadState* __tstate = wxPyBeginAllowThreads();
30772 result = (arg1)->GetMinSize();
30773
30774 wxPyEndAllowThreads(__tstate);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
30777 {
30778 wxSize * resultptr;
30779 resultptr = new wxSize((wxSize &) result);
30780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30781 }
30782 return resultobj;
30783 fail:
30784 return NULL;
30785}
30786
30787
30788static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj;
30790 wxSizer *arg1 = (wxSizer *) 0 ;
30791 PyObject * obj0 = 0 ;
30792 char *kwnames[] = {
30793 (char *) "self", NULL
30794 };
30795
30796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30798 {
30799 PyThreadState* __tstate = wxPyBeginAllowThreads();
30800 (arg1)->RecalcSizes();
30801
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 Py_INCREF(Py_None); resultobj = Py_None;
30806 return resultobj;
30807 fail:
30808 return NULL;
30809}
30810
30811
30812static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30813 PyObject *resultobj;
30814 wxSizer *arg1 = (wxSizer *) 0 ;
30815 wxSize result;
30816 PyObject * obj0 = 0 ;
30817 char *kwnames[] = {
30818 (char *) "self", NULL
30819 };
30820
30821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30823 {
30824 PyThreadState* __tstate = wxPyBeginAllowThreads();
30825 result = (arg1)->CalcMin();
30826
30827 wxPyEndAllowThreads(__tstate);
30828 if (PyErr_Occurred()) SWIG_fail;
30829 }
30830 {
30831 wxSize * resultptr;
30832 resultptr = new wxSize((wxSize &) result);
30833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30834 }
30835 return resultobj;
30836 fail:
30837 return NULL;
30838}
30839
30840
30841static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30842 PyObject *resultobj;
30843 wxSizer *arg1 = (wxSizer *) 0 ;
30844 PyObject * obj0 = 0 ;
30845 char *kwnames[] = {
30846 (char *) "self", NULL
30847 };
30848
30849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30851 {
30852 PyThreadState* __tstate = wxPyBeginAllowThreads();
30853 (arg1)->Layout();
30854
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 Py_INCREF(Py_None); resultobj = Py_None;
30859 return resultobj;
30860 fail:
30861 return NULL;
30862}
30863
30864
30865static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30866 PyObject *resultobj;
30867 wxSizer *arg1 = (wxSizer *) 0 ;
30868 wxWindow *arg2 = (wxWindow *) 0 ;
30869 wxSize result;
30870 PyObject * obj0 = 0 ;
30871 PyObject * obj1 = 0 ;
30872 char *kwnames[] = {
30873 (char *) "self",(char *) "window", NULL
30874 };
30875
30876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30879 {
30880 PyThreadState* __tstate = wxPyBeginAllowThreads();
30881 result = (arg1)->Fit(arg2);
30882
30883 wxPyEndAllowThreads(__tstate);
30884 if (PyErr_Occurred()) SWIG_fail;
30885 }
30886 {
30887 wxSize * resultptr;
30888 resultptr = new wxSize((wxSize &) result);
30889 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30890 }
30891 return resultobj;
30892 fail:
30893 return NULL;
30894}
30895
30896
30897static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30898 PyObject *resultobj;
30899 wxSizer *arg1 = (wxSizer *) 0 ;
30900 wxWindow *arg2 = (wxWindow *) 0 ;
30901 PyObject * obj0 = 0 ;
30902 PyObject * obj1 = 0 ;
30903 char *kwnames[] = {
30904 (char *) "self",(char *) "window", NULL
30905 };
30906
30907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30910 {
30911 PyThreadState* __tstate = wxPyBeginAllowThreads();
30912 (arg1)->FitInside(arg2);
30913
30914 wxPyEndAllowThreads(__tstate);
30915 if (PyErr_Occurred()) SWIG_fail;
30916 }
30917 Py_INCREF(Py_None); resultobj = Py_None;
30918 return resultobj;
30919 fail:
30920 return NULL;
30921}
30922
30923
30924static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30925 PyObject *resultobj;
30926 wxSizer *arg1 = (wxSizer *) 0 ;
30927 wxWindow *arg2 = (wxWindow *) 0 ;
30928 PyObject * obj0 = 0 ;
30929 PyObject * obj1 = 0 ;
30930 char *kwnames[] = {
30931 (char *) "self",(char *) "window", NULL
30932 };
30933
30934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30937 {
30938 PyThreadState* __tstate = wxPyBeginAllowThreads();
30939 (arg1)->SetSizeHints(arg2);
30940
30941 wxPyEndAllowThreads(__tstate);
30942 if (PyErr_Occurred()) SWIG_fail;
30943 }
30944 Py_INCREF(Py_None); resultobj = Py_None;
30945 return resultobj;
30946 fail:
30947 return NULL;
30948}
30949
30950
30951static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30952 PyObject *resultobj;
30953 wxSizer *arg1 = (wxSizer *) 0 ;
30954 wxWindow *arg2 = (wxWindow *) 0 ;
30955 PyObject * obj0 = 0 ;
30956 PyObject * obj1 = 0 ;
30957 char *kwnames[] = {
30958 (char *) "self",(char *) "window", NULL
30959 };
30960
30961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30964 {
30965 PyThreadState* __tstate = wxPyBeginAllowThreads();
30966 (arg1)->SetVirtualSizeHints(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_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30979 PyObject *resultobj;
30980 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 30981 bool arg2 = (bool) False ;
d14a1e28
RD
30982 PyObject * obj0 = 0 ;
30983 PyObject * obj1 = 0 ;
30984 char *kwnames[] = {
30985 (char *) "self",(char *) "delete_windows", NULL
30986 };
30987
30988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30990 if (obj1) {
30991 arg2 = PyInt_AsLong(obj1) ? true : false;
30992 if (PyErr_Occurred()) SWIG_fail;
30993 }
30994 {
30995 PyThreadState* __tstate = wxPyBeginAllowThreads();
30996 (arg1)->Clear(arg2);
30997
30998 wxPyEndAllowThreads(__tstate);
30999 if (PyErr_Occurred()) SWIG_fail;
31000 }
31001 Py_INCREF(Py_None); resultobj = Py_None;
31002 return resultobj;
31003 fail:
31004 return NULL;
31005}
31006
31007
31008static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
31009 PyObject *resultobj;
31010 wxSizer *arg1 = (wxSizer *) 0 ;
31011 PyObject * obj0 = 0 ;
31012 char *kwnames[] = {
31013 (char *) "self", NULL
31014 };
31015
31016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
31017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31018 {
31019 PyThreadState* __tstate = wxPyBeginAllowThreads();
31020 (arg1)->DeleteWindows();
31021
31022 wxPyEndAllowThreads(__tstate);
31023 if (PyErr_Occurred()) SWIG_fail;
31024 }
31025 Py_INCREF(Py_None); resultobj = Py_None;
31026 return resultobj;
31027 fail:
31028 return NULL;
31029}
31030
31031
31032static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
31033 PyObject *resultobj;
31034 wxSizer *arg1 = (wxSizer *) 0 ;
31035 PyObject *result;
31036 PyObject * obj0 = 0 ;
31037 char *kwnames[] = {
31038 (char *) "self", NULL
31039 };
31040
31041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
31042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31043 {
31044 PyThreadState* __tstate = wxPyBeginAllowThreads();
31045 result = (PyObject *)wxSizer_GetChildren(arg1);
31046
31047 wxPyEndAllowThreads(__tstate);
31048 if (PyErr_Occurred()) SWIG_fail;
31049 }
31050 resultobj = result;
31051 return resultobj;
31052 fail:
31053 return NULL;
31054}
31055
31056
31057static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31058 PyObject *resultobj;
31059 wxSizer *arg1 = (wxSizer *) 0 ;
31060 PyObject *arg2 = (PyObject *) 0 ;
423f194a 31061 bool arg3 = (bool) True ;
d14a1e28
RD
31062 PyObject * obj0 = 0 ;
31063 PyObject * obj1 = 0 ;
31064 PyObject * obj2 = 0 ;
31065 char *kwnames[] = {
31066 (char *) "self",(char *) "item",(char *) "show", NULL
31067 };
31068
31069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
31070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31071 arg2 = obj1;
31072 if (obj2) {
31073 arg3 = PyInt_AsLong(obj2) ? true : false;
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
31076 {
31077 PyThreadState* __tstate = wxPyBeginAllowThreads();
31078 wxSizer_Show(arg1,arg2,arg3);
31079
31080 wxPyEndAllowThreads(__tstate);
31081 if (PyErr_Occurred()) SWIG_fail;
31082 }
31083 Py_INCREF(Py_None); resultobj = Py_None;
31084 return resultobj;
31085 fail:
31086 return NULL;
31087}
31088
31089
31090static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31091 PyObject *resultobj;
31092 wxSizer *arg1 = (wxSizer *) 0 ;
31093 PyObject *arg2 = (PyObject *) 0 ;
31094 PyObject * obj0 = 0 ;
31095 PyObject * obj1 = 0 ;
31096 char *kwnames[] = {
31097 (char *) "self",(char *) "item", NULL
31098 };
31099
31100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
31101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31102 arg2 = obj1;
31103 {
31104 PyThreadState* __tstate = wxPyBeginAllowThreads();
31105 wxSizer_Hide(arg1,arg2);
31106
31107 wxPyEndAllowThreads(__tstate);
31108 if (PyErr_Occurred()) SWIG_fail;
31109 }
31110 Py_INCREF(Py_None); resultobj = Py_None;
31111 return resultobj;
31112 fail:
31113 return NULL;
31114}
31115
31116
31117static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
31118 PyObject *resultobj;
31119 wxSizer *arg1 = (wxSizer *) 0 ;
31120 PyObject *arg2 = (PyObject *) 0 ;
31121 bool result;
31122 PyObject * obj0 = 0 ;
31123 PyObject * obj1 = 0 ;
31124 char *kwnames[] = {
31125 (char *) "self",(char *) "item", NULL
31126 };
31127
31128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
31129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31130 arg2 = obj1;
31131 {
31132 PyThreadState* __tstate = wxPyBeginAllowThreads();
31133 result = (bool)wxSizer_IsShown(arg1,arg2);
31134
31135 wxPyEndAllowThreads(__tstate);
31136 if (PyErr_Occurred()) SWIG_fail;
31137 }
31138 resultobj = PyInt_FromLong((long)result);
31139 return resultobj;
31140 fail:
31141 return NULL;
31142}
31143
31144
31145static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
31146 PyObject *resultobj;
31147 wxSizer *arg1 = (wxSizer *) 0 ;
31148 bool arg2 ;
31149 PyObject * obj0 = 0 ;
31150 PyObject * obj1 = 0 ;
31151 char *kwnames[] = {
31152 (char *) "self",(char *) "show", NULL
31153 };
31154
31155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
31156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31157 arg2 = PyInt_AsLong(obj1) ? true : false;
31158 if (PyErr_Occurred()) SWIG_fail;
31159 {
31160 PyThreadState* __tstate = wxPyBeginAllowThreads();
31161 (arg1)->ShowItems(arg2);
31162
31163 wxPyEndAllowThreads(__tstate);
31164 if (PyErr_Occurred()) SWIG_fail;
31165 }
31166 Py_INCREF(Py_None); resultobj = Py_None;
31167 return resultobj;
31168 fail:
31169 return NULL;
31170}
31171
31172
31173static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
31174 PyObject *obj;
31175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31176 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
31177 Py_INCREF(obj);
31178 return Py_BuildValue((char *)"");
31179}
31180static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31181 PyObject *resultobj;
31182 wxPySizer *result;
31183 char *kwnames[] = {
31184 NULL
31185 };
31186
31187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
31188 {
31189 PyThreadState* __tstate = wxPyBeginAllowThreads();
31190 result = (wxPySizer *)new wxPySizer();
31191
31192 wxPyEndAllowThreads(__tstate);
31193 if (PyErr_Occurred()) SWIG_fail;
31194 }
31195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
31196 return resultobj;
31197 fail:
31198 return NULL;
31199}
31200
31201
31202static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31203 PyObject *resultobj;
31204 wxPySizer *arg1 = (wxPySizer *) 0 ;
31205 PyObject *arg2 = (PyObject *) 0 ;
31206 PyObject *arg3 = (PyObject *) 0 ;
31207 PyObject * obj0 = 0 ;
31208 PyObject * obj1 = 0 ;
31209 PyObject * obj2 = 0 ;
31210 char *kwnames[] = {
31211 (char *) "self",(char *) "self",(char *) "_class", NULL
31212 };
31213
31214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31216 arg2 = obj1;
31217 arg3 = obj2;
31218 {
31219 PyThreadState* __tstate = wxPyBeginAllowThreads();
31220 (arg1)->_setCallbackInfo(arg2,arg3);
31221
31222 wxPyEndAllowThreads(__tstate);
31223 if (PyErr_Occurred()) SWIG_fail;
31224 }
31225 Py_INCREF(Py_None); resultobj = Py_None;
31226 return resultobj;
31227 fail:
31228 return NULL;
31229}
31230
31231
31232static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
31233 PyObject *obj;
31234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31235 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
31236 Py_INCREF(obj);
31237 return Py_BuildValue((char *)"");
31238}
31239static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31240 PyObject *resultobj;
31241 int arg1 = (int) wxHORIZONTAL ;
31242 wxBoxSizer *result;
31243 char *kwnames[] = {
31244 (char *) "orient", NULL
31245 };
31246
31247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 result = (wxBoxSizer *)new wxBoxSizer(arg1);
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
31256 return resultobj;
31257 fail:
31258 return NULL;
31259}
31260
31261
31262static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31263 PyObject *resultobj;
31264 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31265 int result;
31266 PyObject * obj0 = 0 ;
31267 char *kwnames[] = {
31268 (char *) "self", NULL
31269 };
31270
31271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
31272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31273 {
31274 PyThreadState* __tstate = wxPyBeginAllowThreads();
31275 result = (int)(arg1)->GetOrientation();
31276
31277 wxPyEndAllowThreads(__tstate);
31278 if (PyErr_Occurred()) SWIG_fail;
31279 }
31280 resultobj = PyInt_FromLong((long)result);
31281 return resultobj;
31282 fail:
31283 return NULL;
31284}
31285
31286
31287static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31288 PyObject *resultobj;
31289 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31290 int arg2 ;
31291 PyObject * obj0 = 0 ;
31292 char *kwnames[] = {
31293 (char *) "self",(char *) "orient", NULL
31294 };
31295
31296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
31297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31298 {
31299 PyThreadState* __tstate = wxPyBeginAllowThreads();
31300 (arg1)->SetOrientation(arg2);
31301
31302 wxPyEndAllowThreads(__tstate);
31303 if (PyErr_Occurred()) SWIG_fail;
31304 }
31305 Py_INCREF(Py_None); resultobj = Py_None;
31306 return resultobj;
31307 fail:
31308 return NULL;
31309}
31310
31311
31312static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31313 PyObject *resultobj;
31314 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31315 PyObject * obj0 = 0 ;
31316 char *kwnames[] = {
31317 (char *) "self", NULL
31318 };
31319
31320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31322 {
31323 PyThreadState* __tstate = wxPyBeginAllowThreads();
31324 (arg1)->RecalcSizes();
31325
31326 wxPyEndAllowThreads(__tstate);
31327 if (PyErr_Occurred()) SWIG_fail;
31328 }
31329 Py_INCREF(Py_None); resultobj = Py_None;
31330 return resultobj;
31331 fail:
31332 return NULL;
31333}
31334
31335
31336static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31337 PyObject *resultobj;
31338 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31339 wxSize result;
31340 PyObject * obj0 = 0 ;
31341 char *kwnames[] = {
31342 (char *) "self", NULL
31343 };
31344
31345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31347 {
31348 PyThreadState* __tstate = wxPyBeginAllowThreads();
31349 result = (arg1)->CalcMin();
31350
31351 wxPyEndAllowThreads(__tstate);
31352 if (PyErr_Occurred()) SWIG_fail;
31353 }
31354 {
31355 wxSize * resultptr;
31356 resultptr = new wxSize((wxSize &) result);
31357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31358 }
31359 return resultobj;
31360 fail:
31361 return NULL;
31362}
31363
31364
31365static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
31366 PyObject *obj;
31367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31368 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
31369 Py_INCREF(obj);
31370 return Py_BuildValue((char *)"");
31371}
31372static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31373 PyObject *resultobj;
31374 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
31375 int arg2 = (int) wxHORIZONTAL ;
31376 wxStaticBoxSizer *result;
31377 PyObject * obj0 = 0 ;
31378 char *kwnames[] = {
31379 (char *) "box",(char *) "orient", NULL
31380 };
31381
31382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
31383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31384 {
31385 PyThreadState* __tstate = wxPyBeginAllowThreads();
31386 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
31387
31388 wxPyEndAllowThreads(__tstate);
31389 if (PyErr_Occurred()) SWIG_fail;
31390 }
31391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
31392 return resultobj;
31393 fail:
31394 return NULL;
31395}
31396
31397
31398static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
31399 PyObject *resultobj;
31400 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31401 wxStaticBox *result;
31402 PyObject * obj0 = 0 ;
31403 char *kwnames[] = {
31404 (char *) "self", NULL
31405 };
31406
31407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
31408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31409 {
31410 PyThreadState* __tstate = wxPyBeginAllowThreads();
31411 result = (wxStaticBox *)(arg1)->GetStaticBox();
31412
31413 wxPyEndAllowThreads(__tstate);
31414 if (PyErr_Occurred()) SWIG_fail;
31415 }
31416 {
31417 resultobj = wxPyMake_wxObject(result);
31418 }
31419 return resultobj;
31420 fail:
31421 return NULL;
31422}
31423
31424
31425static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31426 PyObject *resultobj;
31427 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31428 PyObject * obj0 = 0 ;
31429 char *kwnames[] = {
31430 (char *) "self", NULL
31431 };
31432
31433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31435 {
31436 PyThreadState* __tstate = wxPyBeginAllowThreads();
31437 (arg1)->RecalcSizes();
31438
31439 wxPyEndAllowThreads(__tstate);
31440 if (PyErr_Occurred()) SWIG_fail;
31441 }
31442 Py_INCREF(Py_None); resultobj = Py_None;
31443 return resultobj;
31444 fail:
31445 return NULL;
31446}
31447
31448
31449static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31450 PyObject *resultobj;
31451 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31452 wxSize result;
31453 PyObject * obj0 = 0 ;
31454 char *kwnames[] = {
31455 (char *) "self", NULL
31456 };
31457
31458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 result = (arg1)->CalcMin();
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 {
31468 wxSize * resultptr;
31469 resultptr = new wxSize((wxSize &) result);
31470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31471 }
31472 return resultobj;
31473 fail:
31474 return NULL;
31475}
31476
31477
31478static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31479 PyObject *obj;
31480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31481 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31482 Py_INCREF(obj);
31483 return Py_BuildValue((char *)"");
31484}
31485static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31486 PyObject *resultobj;
31487 int arg1 = (int) 1 ;
31488 int arg2 = (int) 0 ;
31489 int arg3 = (int) 0 ;
31490 int arg4 = (int) 0 ;
31491 wxGridSizer *result;
31492 char *kwnames[] = {
31493 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31494 };
31495
31496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31497 {
31498 PyThreadState* __tstate = wxPyBeginAllowThreads();
31499 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31500
31501 wxPyEndAllowThreads(__tstate);
31502 if (PyErr_Occurred()) SWIG_fail;
31503 }
31504 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31505 return resultobj;
31506 fail:
31507 return NULL;
31508}
31509
31510
31511static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31512 PyObject *resultobj;
31513 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31514 PyObject * obj0 = 0 ;
31515 char *kwnames[] = {
31516 (char *) "self", NULL
31517 };
31518
31519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31521 {
31522 PyThreadState* __tstate = wxPyBeginAllowThreads();
31523 (arg1)->RecalcSizes();
31524
31525 wxPyEndAllowThreads(__tstate);
31526 if (PyErr_Occurred()) SWIG_fail;
31527 }
31528 Py_INCREF(Py_None); resultobj = Py_None;
31529 return resultobj;
31530 fail:
31531 return NULL;
31532}
31533
31534
31535static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31536 PyObject *resultobj;
31537 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31538 wxSize result;
31539 PyObject * obj0 = 0 ;
31540 char *kwnames[] = {
31541 (char *) "self", NULL
31542 };
31543
31544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31546 {
31547 PyThreadState* __tstate = wxPyBeginAllowThreads();
31548 result = (arg1)->CalcMin();
31549
31550 wxPyEndAllowThreads(__tstate);
31551 if (PyErr_Occurred()) SWIG_fail;
31552 }
31553 {
31554 wxSize * resultptr;
31555 resultptr = new wxSize((wxSize &) result);
31556 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31557 }
31558 return resultobj;
31559 fail:
31560 return NULL;
31561}
31562
31563
31564static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31565 PyObject *resultobj;
31566 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31567 int arg2 ;
31568 PyObject * obj0 = 0 ;
31569 char *kwnames[] = {
31570 (char *) "self",(char *) "cols", NULL
31571 };
31572
31573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31575 {
31576 PyThreadState* __tstate = wxPyBeginAllowThreads();
31577 (arg1)->SetCols(arg2);
31578
31579 wxPyEndAllowThreads(__tstate);
31580 if (PyErr_Occurred()) SWIG_fail;
31581 }
31582 Py_INCREF(Py_None); resultobj = Py_None;
31583 return resultobj;
31584 fail:
31585 return NULL;
31586}
31587
31588
31589static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31590 PyObject *resultobj;
31591 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31592 int arg2 ;
31593 PyObject * obj0 = 0 ;
31594 char *kwnames[] = {
31595 (char *) "self",(char *) "rows", NULL
31596 };
31597
31598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31600 {
31601 PyThreadState* __tstate = wxPyBeginAllowThreads();
31602 (arg1)->SetRows(arg2);
31603
31604 wxPyEndAllowThreads(__tstate);
31605 if (PyErr_Occurred()) SWIG_fail;
31606 }
31607 Py_INCREF(Py_None); resultobj = Py_None;
31608 return resultobj;
31609 fail:
31610 return NULL;
31611}
31612
31613
31614static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31615 PyObject *resultobj;
31616 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31617 int arg2 ;
31618 PyObject * obj0 = 0 ;
31619 char *kwnames[] = {
31620 (char *) "self",(char *) "gap", NULL
31621 };
31622
31623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31625 {
31626 PyThreadState* __tstate = wxPyBeginAllowThreads();
31627 (arg1)->SetVGap(arg2);
31628
31629 wxPyEndAllowThreads(__tstate);
31630 if (PyErr_Occurred()) SWIG_fail;
31631 }
31632 Py_INCREF(Py_None); resultobj = Py_None;
31633 return resultobj;
31634 fail:
31635 return NULL;
31636}
31637
31638
31639static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31640 PyObject *resultobj;
31641 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31642 int arg2 ;
31643 PyObject * obj0 = 0 ;
31644 char *kwnames[] = {
31645 (char *) "self",(char *) "gap", NULL
31646 };
31647
31648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31650 {
31651 PyThreadState* __tstate = wxPyBeginAllowThreads();
31652 (arg1)->SetHGap(arg2);
31653
31654 wxPyEndAllowThreads(__tstate);
31655 if (PyErr_Occurred()) SWIG_fail;
31656 }
31657 Py_INCREF(Py_None); resultobj = Py_None;
31658 return resultobj;
31659 fail:
31660 return NULL;
31661}
31662
31663
31664static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31665 PyObject *resultobj;
31666 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31667 int result;
31668 PyObject * obj0 = 0 ;
31669 char *kwnames[] = {
31670 (char *) "self", NULL
31671 };
31672
31673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31675 {
31676 PyThreadState* __tstate = wxPyBeginAllowThreads();
31677 result = (int)(arg1)->GetCols();
31678
31679 wxPyEndAllowThreads(__tstate);
31680 if (PyErr_Occurred()) SWIG_fail;
31681 }
31682 resultobj = PyInt_FromLong((long)result);
31683 return resultobj;
31684 fail:
31685 return NULL;
31686}
31687
31688
31689static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31690 PyObject *resultobj;
31691 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31692 int result;
31693 PyObject * obj0 = 0 ;
31694 char *kwnames[] = {
31695 (char *) "self", NULL
31696 };
31697
31698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 result = (int)(arg1)->GetRows();
31703
31704 wxPyEndAllowThreads(__tstate);
31705 if (PyErr_Occurred()) SWIG_fail;
31706 }
31707 resultobj = PyInt_FromLong((long)result);
31708 return resultobj;
31709 fail:
31710 return NULL;
31711}
31712
31713
31714static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31715 PyObject *resultobj;
31716 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31717 int result;
31718 PyObject * obj0 = 0 ;
31719 char *kwnames[] = {
31720 (char *) "self", NULL
31721 };
31722
31723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31725 {
31726 PyThreadState* __tstate = wxPyBeginAllowThreads();
31727 result = (int)(arg1)->GetVGap();
31728
31729 wxPyEndAllowThreads(__tstate);
31730 if (PyErr_Occurred()) SWIG_fail;
31731 }
31732 resultobj = PyInt_FromLong((long)result);
31733 return resultobj;
31734 fail:
31735 return NULL;
31736}
31737
31738
31739static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31740 PyObject *resultobj;
31741 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31742 int result;
31743 PyObject * obj0 = 0 ;
31744 char *kwnames[] = {
31745 (char *) "self", NULL
31746 };
31747
31748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31750 {
31751 PyThreadState* __tstate = wxPyBeginAllowThreads();
31752 result = (int)(arg1)->GetHGap();
31753
31754 wxPyEndAllowThreads(__tstate);
31755 if (PyErr_Occurred()) SWIG_fail;
31756 }
31757 resultobj = PyInt_FromLong((long)result);
31758 return resultobj;
31759 fail:
31760 return NULL;
31761}
31762
31763
31764static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31765 PyObject *obj;
31766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31767 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31768 Py_INCREF(obj);
31769 return Py_BuildValue((char *)"");
31770}
31771static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31772 PyObject *resultobj;
31773 int arg1 = (int) 1 ;
31774 int arg2 = (int) 0 ;
31775 int arg3 = (int) 0 ;
31776 int arg4 = (int) 0 ;
31777 wxFlexGridSizer *result;
31778 char *kwnames[] = {
31779 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31780 };
31781
31782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31783 {
31784 PyThreadState* __tstate = wxPyBeginAllowThreads();
31785 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31786
31787 wxPyEndAllowThreads(__tstate);
31788 if (PyErr_Occurred()) SWIG_fail;
31789 }
31790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31791 return resultobj;
31792 fail:
31793 return NULL;
31794}
31795
31796
31797static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31798 PyObject *resultobj;
31799 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31800 PyObject * obj0 = 0 ;
31801 char *kwnames[] = {
31802 (char *) "self", NULL
31803 };
31804
31805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31807 {
31808 PyThreadState* __tstate = wxPyBeginAllowThreads();
31809 (arg1)->RecalcSizes();
31810
31811 wxPyEndAllowThreads(__tstate);
31812 if (PyErr_Occurred()) SWIG_fail;
31813 }
31814 Py_INCREF(Py_None); resultobj = Py_None;
31815 return resultobj;
31816 fail:
31817 return NULL;
31818}
31819
31820
31821static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31822 PyObject *resultobj;
31823 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31824 wxSize result;
31825 PyObject * obj0 = 0 ;
31826 char *kwnames[] = {
31827 (char *) "self", NULL
31828 };
31829
31830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31832 {
31833 PyThreadState* __tstate = wxPyBeginAllowThreads();
31834 result = (arg1)->CalcMin();
31835
31836 wxPyEndAllowThreads(__tstate);
31837 if (PyErr_Occurred()) SWIG_fail;
31838 }
31839 {
31840 wxSize * resultptr;
31841 resultptr = new wxSize((wxSize &) result);
31842 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31843 }
31844 return resultobj;
31845 fail:
31846 return NULL;
31847}
31848
31849
31850static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31851 PyObject *resultobj;
31852 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31853 size_t arg2 ;
31854 int arg3 = (int) 0 ;
31855 PyObject * obj0 = 0 ;
31856 PyObject * obj1 = 0 ;
31857 char *kwnames[] = {
31858 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31859 };
31860
31861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31863 arg2 = (size_t) PyInt_AsLong(obj1);
31864 if (PyErr_Occurred()) SWIG_fail;
31865 {
31866 PyThreadState* __tstate = wxPyBeginAllowThreads();
31867 (arg1)->AddGrowableRow(arg2,arg3);
31868
31869 wxPyEndAllowThreads(__tstate);
31870 if (PyErr_Occurred()) SWIG_fail;
31871 }
31872 Py_INCREF(Py_None); resultobj = Py_None;
31873 return resultobj;
31874 fail:
31875 return NULL;
31876}
31877
31878
31879static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31880 PyObject *resultobj;
31881 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31882 size_t arg2 ;
31883 PyObject * obj0 = 0 ;
31884 PyObject * obj1 = 0 ;
31885 char *kwnames[] = {
31886 (char *) "self",(char *) "idx", NULL
31887 };
31888
31889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31891 arg2 = (size_t) PyInt_AsLong(obj1);
31892 if (PyErr_Occurred()) SWIG_fail;
31893 {
31894 PyThreadState* __tstate = wxPyBeginAllowThreads();
31895 (arg1)->RemoveGrowableRow(arg2);
31896
31897 wxPyEndAllowThreads(__tstate);
31898 if (PyErr_Occurred()) SWIG_fail;
31899 }
31900 Py_INCREF(Py_None); resultobj = Py_None;
31901 return resultobj;
31902 fail:
31903 return NULL;
31904}
31905
31906
31907static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31908 PyObject *resultobj;
31909 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31910 size_t arg2 ;
31911 int arg3 = (int) 0 ;
31912 PyObject * obj0 = 0 ;
31913 PyObject * obj1 = 0 ;
31914 char *kwnames[] = {
31915 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31916 };
31917
31918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31920 arg2 = (size_t) PyInt_AsLong(obj1);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 {
31923 PyThreadState* __tstate = wxPyBeginAllowThreads();
31924 (arg1)->AddGrowableCol(arg2,arg3);
31925
31926 wxPyEndAllowThreads(__tstate);
31927 if (PyErr_Occurred()) SWIG_fail;
31928 }
31929 Py_INCREF(Py_None); resultobj = Py_None;
31930 return resultobj;
31931 fail:
31932 return NULL;
31933}
31934
31935
31936static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31937 PyObject *resultobj;
31938 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31939 size_t arg2 ;
31940 PyObject * obj0 = 0 ;
31941 PyObject * obj1 = 0 ;
31942 char *kwnames[] = {
31943 (char *) "self",(char *) "idx", NULL
31944 };
31945
31946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31948 arg2 = (size_t) PyInt_AsLong(obj1);
31949 if (PyErr_Occurred()) SWIG_fail;
31950 {
31951 PyThreadState* __tstate = wxPyBeginAllowThreads();
31952 (arg1)->RemoveGrowableCol(arg2);
31953
31954 wxPyEndAllowThreads(__tstate);
31955 if (PyErr_Occurred()) SWIG_fail;
31956 }
31957 Py_INCREF(Py_None); resultobj = Py_None;
31958 return resultobj;
31959 fail:
31960 return NULL;
31961}
31962
31963
31964static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31965 PyObject *resultobj;
31966 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31967 int arg2 ;
31968 PyObject * obj0 = 0 ;
31969 char *kwnames[] = {
31970 (char *) "self",(char *) "direction", NULL
31971 };
31972
31973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31975 {
31976 PyThreadState* __tstate = wxPyBeginAllowThreads();
31977 (arg1)->SetFlexibleDirection(arg2);
31978
31979 wxPyEndAllowThreads(__tstate);
31980 if (PyErr_Occurred()) SWIG_fail;
31981 }
31982 Py_INCREF(Py_None); resultobj = Py_None;
31983 return resultobj;
31984 fail:
31985 return NULL;
31986}
31987
31988
31989static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31990 PyObject *resultobj;
31991 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31992 int result;
31993 PyObject * obj0 = 0 ;
31994 char *kwnames[] = {
31995 (char *) "self", NULL
31996 };
31997
31998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32000 {
32001 PyThreadState* __tstate = wxPyBeginAllowThreads();
32002 result = (int)(arg1)->GetFlexibleDirection();
32003
32004 wxPyEndAllowThreads(__tstate);
32005 if (PyErr_Occurred()) SWIG_fail;
32006 }
32007 resultobj = PyInt_FromLong((long)result);
32008 return resultobj;
32009 fail:
32010 return NULL;
32011}
32012
32013
32014static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32015 PyObject *resultobj;
32016 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32017 int arg2 ;
32018 PyObject * obj0 = 0 ;
32019 char *kwnames[] = {
32020 (char *) "self",(char *) "mode", NULL
32021 };
32022
32023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
32024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32025 {
32026 PyThreadState* __tstate = wxPyBeginAllowThreads();
32027 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
32028
32029 wxPyEndAllowThreads(__tstate);
32030 if (PyErr_Occurred()) SWIG_fail;
32031 }
32032 Py_INCREF(Py_None); resultobj = Py_None;
32033 return resultobj;
32034 fail:
32035 return NULL;
32036}
32037
32038
32039static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
32040 PyObject *resultobj;
32041 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32042 int result;
32043 PyObject * obj0 = 0 ;
32044 char *kwnames[] = {
32045 (char *) "self", NULL
32046 };
32047
32048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
32049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32050 {
32051 PyThreadState* __tstate = wxPyBeginAllowThreads();
32052 result = (int)(arg1)->GetNonFlexibleGrowMode();
32053
32054 wxPyEndAllowThreads(__tstate);
32055 if (PyErr_Occurred()) SWIG_fail;
32056 }
32057 resultobj = PyInt_FromLong((long)result);
32058 return resultobj;
32059 fail:
32060 return NULL;
32061}
32062
32063
423f194a
RD
32064static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
32065 PyObject *resultobj;
32066 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32067 wxArrayInt *result;
32068 PyObject * obj0 = 0 ;
32069 char *kwnames[] = {
32070 (char *) "self", NULL
32071 };
32072
32073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
32074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32075 {
32076 PyThreadState* __tstate = wxPyBeginAllowThreads();
32077 {
32078 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
32079 result = (wxArrayInt *) &_result_ref;
32080 }
32081
32082 wxPyEndAllowThreads(__tstate);
32083 if (PyErr_Occurred()) SWIG_fail;
32084 }
32085 {
32086 resultobj = PyList_New(0);
32087 size_t idx;
32088 for (idx = 0; idx < result->GetCount(); idx += 1) {
32089 PyObject* val = PyInt_FromLong( result->Item(idx) );
32090 PyList_Append(resultobj, val);
32091 Py_DECREF(val);
32092 }
32093 }
32094 return resultobj;
32095 fail:
32096 return NULL;
32097}
32098
32099
32100static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
32101 PyObject *resultobj;
32102 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
32103 wxArrayInt *result;
32104 PyObject * obj0 = 0 ;
32105 char *kwnames[] = {
32106 (char *) "self", NULL
32107 };
32108
32109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
32110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32111 {
32112 PyThreadState* __tstate = wxPyBeginAllowThreads();
32113 {
32114 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
32115 result = (wxArrayInt *) &_result_ref;
32116 }
32117
32118 wxPyEndAllowThreads(__tstate);
32119 if (PyErr_Occurred()) SWIG_fail;
32120 }
32121 {
32122 resultobj = PyList_New(0);
32123 size_t idx;
32124 for (idx = 0; idx < result->GetCount(); idx += 1) {
32125 PyObject* val = PyInt_FromLong( result->Item(idx) );
32126 PyList_Append(resultobj, val);
32127 Py_DECREF(val);
32128 }
32129 }
32130 return resultobj;
32131 fail:
32132 return NULL;
32133}
32134
32135
d14a1e28
RD
32136static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
32137 PyObject *obj;
32138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32139 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
32140 Py_INCREF(obj);
32141 return Py_BuildValue((char *)"");
32142}
32143static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
32144 PyObject *resultobj;
32145 int arg1 = (int) 0 ;
32146 int arg2 = (int) 0 ;
32147 wxGBPosition *result;
32148 char *kwnames[] = {
32149 (char *) "row",(char *) "col", NULL
32150 };
32151
32152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
32153 {
32154 PyThreadState* __tstate = wxPyBeginAllowThreads();
32155 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
32156
32157 wxPyEndAllowThreads(__tstate);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 }
32160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
32161 return resultobj;
32162 fail:
32163 return NULL;
32164}
32165
32166
32167static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32168 PyObject *resultobj;
32169 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32170 int result;
32171 PyObject * obj0 = 0 ;
32172 char *kwnames[] = {
32173 (char *) "self", NULL
32174 };
32175
32176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
32177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32178 {
32179 PyThreadState* __tstate = wxPyBeginAllowThreads();
32180 result = (int)((wxGBPosition const *)arg1)->GetRow();
32181
32182 wxPyEndAllowThreads(__tstate);
32183 if (PyErr_Occurred()) SWIG_fail;
32184 }
32185 resultobj = PyInt_FromLong((long)result);
32186 return resultobj;
32187 fail:
32188 return NULL;
32189}
32190
32191
32192static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32193 PyObject *resultobj;
32194 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32195 int result;
32196 PyObject * obj0 = 0 ;
32197 char *kwnames[] = {
32198 (char *) "self", NULL
32199 };
32200
32201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
32202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32203 {
32204 PyThreadState* __tstate = wxPyBeginAllowThreads();
32205 result = (int)((wxGBPosition const *)arg1)->GetCol();
32206
32207 wxPyEndAllowThreads(__tstate);
32208 if (PyErr_Occurred()) SWIG_fail;
32209 }
32210 resultobj = PyInt_FromLong((long)result);
32211 return resultobj;
32212 fail:
32213 return NULL;
32214}
32215
32216
32217static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32218 PyObject *resultobj;
32219 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32220 int arg2 ;
32221 PyObject * obj0 = 0 ;
32222 char *kwnames[] = {
32223 (char *) "self",(char *) "row", NULL
32224 };
32225
32226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
32227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32228 {
32229 PyThreadState* __tstate = wxPyBeginAllowThreads();
32230 (arg1)->SetRow(arg2);
32231
32232 wxPyEndAllowThreads(__tstate);
32233 if (PyErr_Occurred()) SWIG_fail;
32234 }
32235 Py_INCREF(Py_None); resultobj = Py_None;
32236 return resultobj;
32237 fail:
32238 return NULL;
32239}
32240
32241
32242static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32243 PyObject *resultobj;
32244 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32245 int arg2 ;
32246 PyObject * obj0 = 0 ;
32247 char *kwnames[] = {
32248 (char *) "self",(char *) "col", NULL
32249 };
32250
32251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
32252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32253 {
32254 PyThreadState* __tstate = wxPyBeginAllowThreads();
32255 (arg1)->SetCol(arg2);
32256
32257 wxPyEndAllowThreads(__tstate);
32258 if (PyErr_Occurred()) SWIG_fail;
32259 }
32260 Py_INCREF(Py_None); resultobj = Py_None;
32261 return resultobj;
32262 fail:
32263 return NULL;
32264}
32265
32266
32267static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32268 PyObject *resultobj;
32269 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32270 wxGBPosition *arg2 = 0 ;
32271 bool result;
32272 wxGBPosition temp2 ;
32273 PyObject * obj0 = 0 ;
32274 PyObject * obj1 = 0 ;
32275 char *kwnames[] = {
32276 (char *) "self",(char *) "p", NULL
32277 };
32278
32279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
32280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32281 {
32282 arg2 = &temp2;
32283 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32284 }
32285 {
32286 PyThreadState* __tstate = wxPyBeginAllowThreads();
32287 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
32288
32289 wxPyEndAllowThreads(__tstate);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 }
32292 resultobj = PyInt_FromLong((long)result);
32293 return resultobj;
32294 fail:
32295 return NULL;
32296}
32297
32298
32299static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32300 PyObject *resultobj;
32301 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32302 wxGBPosition *arg2 = 0 ;
32303 bool result;
32304 wxGBPosition temp2 ;
32305 PyObject * obj0 = 0 ;
32306 PyObject * obj1 = 0 ;
32307 char *kwnames[] = {
32308 (char *) "self",(char *) "p", NULL
32309 };
32310
32311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
32312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32313 {
32314 arg2 = &temp2;
32315 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32316 }
32317 {
32318 PyThreadState* __tstate = wxPyBeginAllowThreads();
32319 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
32320
32321 wxPyEndAllowThreads(__tstate);
32322 if (PyErr_Occurred()) SWIG_fail;
32323 }
32324 resultobj = PyInt_FromLong((long)result);
32325 return resultobj;
32326 fail:
32327 return NULL;
32328}
32329
32330
423f194a
RD
32331static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32332 PyObject *resultobj;
32333 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32334 int arg2 = (int) 0 ;
32335 int arg3 = (int) 0 ;
32336 PyObject * obj0 = 0 ;
32337 char *kwnames[] = {
32338 (char *) "self",(char *) "row",(char *) "col", NULL
32339 };
32340
32341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 wxGBPosition_Set(arg1,arg2,arg3);
32346
32347 wxPyEndAllowThreads(__tstate);
32348 if (PyErr_Occurred()) SWIG_fail;
32349 }
32350 Py_INCREF(Py_None); resultobj = Py_None;
32351 return resultobj;
32352 fail:
32353 return NULL;
32354}
32355
32356
32357static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32358 PyObject *resultobj;
32359 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32360 PyObject *result;
32361 PyObject * obj0 = 0 ;
32362 char *kwnames[] = {
32363 (char *) "self", NULL
32364 };
32365
423f194a 32366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32368 {
32369 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 32370 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
32371
32372 wxPyEndAllowThreads(__tstate);
32373 if (PyErr_Occurred()) SWIG_fail;
32374 }
32375 resultobj = result;
32376 return resultobj;
32377 fail:
32378 return NULL;
32379}
32380
32381
32382static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
32383 PyObject *obj;
32384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32385 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
32386 Py_INCREF(obj);
32387 return Py_BuildValue((char *)"");
32388}
32389static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32390 PyObject *resultobj;
32391 int arg1 = (int) 1 ;
32392 int arg2 = (int) 1 ;
32393 wxGBSpan *result;
32394 char *kwnames[] = {
32395 (char *) "rowspan",(char *) "colspan", NULL
32396 };
32397
32398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
32399 {
32400 PyThreadState* __tstate = wxPyBeginAllowThreads();
32401 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
32402
32403 wxPyEndAllowThreads(__tstate);
32404 if (PyErr_Occurred()) SWIG_fail;
32405 }
32406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
32407 return resultobj;
32408 fail:
32409 return NULL;
32410}
32411
32412
32413static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32414 PyObject *resultobj;
32415 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32416 int result;
32417 PyObject * obj0 = 0 ;
32418 char *kwnames[] = {
32419 (char *) "self", NULL
32420 };
32421
32422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
32423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32424 {
32425 PyThreadState* __tstate = wxPyBeginAllowThreads();
32426 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
32427
32428 wxPyEndAllowThreads(__tstate);
32429 if (PyErr_Occurred()) SWIG_fail;
32430 }
32431 resultobj = PyInt_FromLong((long)result);
32432 return resultobj;
32433 fail:
32434 return NULL;
32435}
32436
32437
32438static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32439 PyObject *resultobj;
32440 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32441 int result;
32442 PyObject * obj0 = 0 ;
32443 char *kwnames[] = {
32444 (char *) "self", NULL
32445 };
32446
32447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
32448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 result = (int)((wxGBSpan const *)arg1)->GetColspan();
32452
32453 wxPyEndAllowThreads(__tstate);
32454 if (PyErr_Occurred()) SWIG_fail;
32455 }
32456 resultobj = PyInt_FromLong((long)result);
32457 return resultobj;
32458 fail:
32459 return NULL;
32460}
32461
32462
32463static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32464 PyObject *resultobj;
32465 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32466 int arg2 ;
32467 PyObject * obj0 = 0 ;
32468 char *kwnames[] = {
32469 (char *) "self",(char *) "rowspan", NULL
32470 };
32471
32472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32474 {
32475 PyThreadState* __tstate = wxPyBeginAllowThreads();
32476 (arg1)->SetRowspan(arg2);
32477
32478 wxPyEndAllowThreads(__tstate);
32479 if (PyErr_Occurred()) SWIG_fail;
32480 }
32481 Py_INCREF(Py_None); resultobj = Py_None;
32482 return resultobj;
32483 fail:
32484 return NULL;
32485}
32486
32487
32488static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32489 PyObject *resultobj;
32490 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32491 int arg2 ;
32492 PyObject * obj0 = 0 ;
32493 char *kwnames[] = {
32494 (char *) "self",(char *) "colspan", NULL
32495 };
32496
32497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32499 {
32500 PyThreadState* __tstate = wxPyBeginAllowThreads();
32501 (arg1)->SetColspan(arg2);
32502
32503 wxPyEndAllowThreads(__tstate);
32504 if (PyErr_Occurred()) SWIG_fail;
32505 }
32506 Py_INCREF(Py_None); resultobj = Py_None;
32507 return resultobj;
32508 fail:
32509 return NULL;
32510}
32511
32512
32513static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32514 PyObject *resultobj;
32515 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32516 wxGBSpan *arg2 = 0 ;
32517 bool result;
32518 wxGBSpan temp2 ;
32519 PyObject * obj0 = 0 ;
32520 PyObject * obj1 = 0 ;
32521 char *kwnames[] = {
32522 (char *) "self",(char *) "o", NULL
32523 };
32524
32525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32527 {
32528 arg2 = &temp2;
32529 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32530 }
32531 {
32532 PyThreadState* __tstate = wxPyBeginAllowThreads();
32533 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32534
32535 wxPyEndAllowThreads(__tstate);
32536 if (PyErr_Occurred()) SWIG_fail;
32537 }
32538 resultobj = PyInt_FromLong((long)result);
32539 return resultobj;
32540 fail:
32541 return NULL;
32542}
32543
32544
32545static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32546 PyObject *resultobj;
32547 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32548 wxGBSpan *arg2 = 0 ;
32549 bool result;
32550 wxGBSpan temp2 ;
32551 PyObject * obj0 = 0 ;
32552 PyObject * obj1 = 0 ;
32553 char *kwnames[] = {
32554 (char *) "self",(char *) "o", NULL
32555 };
32556
32557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32559 {
32560 arg2 = &temp2;
32561 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32562 }
32563 {
32564 PyThreadState* __tstate = wxPyBeginAllowThreads();
32565 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32566
32567 wxPyEndAllowThreads(__tstate);
32568 if (PyErr_Occurred()) SWIG_fail;
32569 }
32570 resultobj = PyInt_FromLong((long)result);
32571 return resultobj;
32572 fail:
32573 return NULL;
32574}
32575
32576
423f194a
RD
32577static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32578 PyObject *resultobj;
32579 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32580 int arg2 = (int) 1 ;
32581 int arg3 = (int) 1 ;
32582 PyObject * obj0 = 0 ;
32583 char *kwnames[] = {
32584 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32585 };
32586
32587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32589 {
32590 PyThreadState* __tstate = wxPyBeginAllowThreads();
32591 wxGBSpan_Set(arg1,arg2,arg3);
32592
32593 wxPyEndAllowThreads(__tstate);
32594 if (PyErr_Occurred()) SWIG_fail;
32595 }
32596 Py_INCREF(Py_None); resultobj = Py_None;
32597 return resultobj;
32598 fail:
32599 return NULL;
32600}
32601
32602
32603static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32604 PyObject *resultobj;
32605 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32606 PyObject *result;
32607 PyObject * obj0 = 0 ;
32608 char *kwnames[] = {
32609 (char *) "self", NULL
32610 };
32611
423f194a 32612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
d14a1e28
RD
32613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32614 {
32615 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 32616 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
32617
32618 wxPyEndAllowThreads(__tstate);
32619 if (PyErr_Occurred()) SWIG_fail;
32620 }
32621 resultobj = result;
32622 return resultobj;
32623 fail:
32624 return NULL;
32625}
32626
32627
32628static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32629 PyObject *obj;
32630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32631 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32632 Py_INCREF(obj);
32633 return Py_BuildValue((char *)"");
32634}
32635static int _wrap_DefaultSpan_set(PyObject *_val) {
32636 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32637 return 1;
32638}
32639
32640
32641static PyObject *_wrap_DefaultSpan_get() {
32642 PyObject *pyobj;
32643
32644 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32645 return pyobj;
32646}
32647
32648
32649static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32650 PyObject *resultobj;
32651 wxGBSizerItem *result;
32652 char *kwnames[] = {
32653 NULL
32654 };
32655
32656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32657 {
32658 PyThreadState* __tstate = wxPyBeginAllowThreads();
32659 result = (wxGBSizerItem *)new wxGBSizerItem();
32660
32661 wxPyEndAllowThreads(__tstate);
32662 if (PyErr_Occurred()) SWIG_fail;
32663 }
32664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32665 return resultobj;
32666 fail:
32667 return NULL;
32668}
32669
32670
32671static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32672 PyObject *resultobj;
32673 wxWindow *arg1 = (wxWindow *) 0 ;
32674 wxGBPosition *arg2 = 0 ;
32675 wxGBSpan *arg3 = 0 ;
32676 int arg4 ;
32677 int arg5 ;
32678 wxObject *arg6 = (wxObject *) 0 ;
32679 wxGBSizerItem *result;
32680 wxGBPosition temp2 ;
32681 wxGBSpan temp3 ;
32682 PyObject * obj0 = 0 ;
32683 PyObject * obj1 = 0 ;
32684 PyObject * obj2 = 0 ;
32685 PyObject * obj5 = 0 ;
32686 char *kwnames[] = {
32687 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32688 };
32689
32690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32692 {
32693 arg2 = &temp2;
32694 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32695 }
32696 {
32697 arg3 = &temp3;
32698 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32699 }
32700 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32701 {
32702 PyThreadState* __tstate = wxPyBeginAllowThreads();
32703 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32704
32705 wxPyEndAllowThreads(__tstate);
32706 if (PyErr_Occurred()) SWIG_fail;
32707 }
32708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32709 return resultobj;
32710 fail:
32711 return NULL;
32712}
32713
32714
32715static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32716 PyObject *resultobj;
32717 wxSizer *arg1 = (wxSizer *) 0 ;
32718 wxGBPosition *arg2 = 0 ;
32719 wxGBSpan *arg3 = 0 ;
32720 int arg4 ;
32721 int arg5 ;
32722 wxObject *arg6 = (wxObject *) 0 ;
32723 wxGBSizerItem *result;
32724 wxGBPosition temp2 ;
32725 wxGBSpan temp3 ;
32726 PyObject * obj0 = 0 ;
32727 PyObject * obj1 = 0 ;
32728 PyObject * obj2 = 0 ;
32729 PyObject * obj5 = 0 ;
32730 char *kwnames[] = {
32731 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32732 };
32733
32734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32736 {
32737 arg2 = &temp2;
32738 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32739 }
32740 {
32741 arg3 = &temp3;
32742 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32743 }
32744 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32745 {
32746 PyThreadState* __tstate = wxPyBeginAllowThreads();
32747 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32748
32749 wxPyEndAllowThreads(__tstate);
32750 if (PyErr_Occurred()) SWIG_fail;
32751 }
32752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32753 return resultobj;
32754 fail:
32755 return NULL;
32756}
32757
32758
32759static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32760 PyObject *resultobj;
32761 int arg1 ;
32762 int arg2 ;
32763 wxGBPosition *arg3 = 0 ;
32764 wxGBSpan *arg4 = 0 ;
32765 int arg5 ;
32766 int arg6 ;
32767 wxObject *arg7 = (wxObject *) 0 ;
32768 wxGBSizerItem *result;
32769 wxGBPosition temp3 ;
32770 wxGBSpan temp4 ;
32771 PyObject * obj2 = 0 ;
32772 PyObject * obj3 = 0 ;
32773 PyObject * obj6 = 0 ;
32774 char *kwnames[] = {
32775 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32776 };
32777
32778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32779 {
32780 arg3 = &temp3;
32781 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32782 }
32783 {
32784 arg4 = &temp4;
32785 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32786 }
32787 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32788 {
32789 PyThreadState* __tstate = wxPyBeginAllowThreads();
32790 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32791
32792 wxPyEndAllowThreads(__tstate);
32793 if (PyErr_Occurred()) SWIG_fail;
32794 }
32795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32796 return resultobj;
32797 fail:
32798 return NULL;
32799}
32800
32801
32802static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32803 PyObject *resultobj;
32804 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32805 wxGBPosition result;
32806 PyObject * obj0 = 0 ;
32807 char *kwnames[] = {
32808 (char *) "self", NULL
32809 };
32810
32811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 result = ((wxGBSizerItem const *)arg1)->GetPos();
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 {
32821 wxGBPosition * resultptr;
32822 resultptr = new wxGBPosition((wxGBPosition &) result);
32823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32824 }
32825 return resultobj;
32826 fail:
32827 return NULL;
32828}
32829
32830
32831static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32832 PyObject *resultobj;
32833 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32834 wxGBSpan result;
32835 PyObject * obj0 = 0 ;
32836 char *kwnames[] = {
32837 (char *) "self", NULL
32838 };
32839
32840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32842 {
32843 PyThreadState* __tstate = wxPyBeginAllowThreads();
32844 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32845
32846 wxPyEndAllowThreads(__tstate);
32847 if (PyErr_Occurred()) SWIG_fail;
32848 }
32849 {
32850 wxGBSpan * resultptr;
32851 resultptr = new wxGBSpan((wxGBSpan &) result);
32852 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32853 }
32854 return resultobj;
32855 fail:
32856 return NULL;
32857}
32858
32859
32860static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32861 PyObject *resultobj;
32862 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32863 wxGBPosition *arg2 = 0 ;
32864 bool result;
32865 wxGBPosition temp2 ;
32866 PyObject * obj0 = 0 ;
32867 PyObject * obj1 = 0 ;
32868 char *kwnames[] = {
32869 (char *) "self",(char *) "pos", NULL
32870 };
32871
32872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32874 {
32875 arg2 = &temp2;
32876 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32877 }
32878 {
32879 PyThreadState* __tstate = wxPyBeginAllowThreads();
32880 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32881
32882 wxPyEndAllowThreads(__tstate);
32883 if (PyErr_Occurred()) SWIG_fail;
32884 }
32885 resultobj = PyInt_FromLong((long)result);
32886 return resultobj;
32887 fail:
32888 return NULL;
32889}
32890
32891
32892static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32893 PyObject *resultobj;
32894 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32895 wxGBSpan *arg2 = 0 ;
32896 bool result;
32897 wxGBSpan temp2 ;
32898 PyObject * obj0 = 0 ;
32899 PyObject * obj1 = 0 ;
32900 char *kwnames[] = {
32901 (char *) "self",(char *) "span", NULL
32902 };
32903
32904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32906 {
32907 arg2 = &temp2;
32908 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32909 }
32910 {
32911 PyThreadState* __tstate = wxPyBeginAllowThreads();
32912 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32913
32914 wxPyEndAllowThreads(__tstate);
32915 if (PyErr_Occurred()) SWIG_fail;
32916 }
32917 resultobj = PyInt_FromLong((long)result);
32918 return resultobj;
32919 fail:
32920 return NULL;
32921}
32922
32923
32924static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32925 PyObject *resultobj;
32926 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32927 wxGBSizerItem *arg2 = 0 ;
32928 bool result;
32929 PyObject * obj0 = 0 ;
32930 PyObject * obj1 = 0 ;
32931
32932 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32935 if (arg2 == NULL) {
32936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32937 }
32938 {
32939 PyThreadState* __tstate = wxPyBeginAllowThreads();
32940 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32941
32942 wxPyEndAllowThreads(__tstate);
32943 if (PyErr_Occurred()) SWIG_fail;
32944 }
32945 resultobj = PyInt_FromLong((long)result);
32946 return resultobj;
32947 fail:
32948 return NULL;
32949}
32950
32951
32952static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32953 PyObject *resultobj;
32954 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32955 wxGBPosition *arg2 = 0 ;
32956 wxGBSpan *arg3 = 0 ;
32957 bool result;
32958 wxGBPosition temp2 ;
32959 wxGBSpan temp3 ;
32960 PyObject * obj0 = 0 ;
32961 PyObject * obj1 = 0 ;
32962 PyObject * obj2 = 0 ;
32963
32964 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32966 {
32967 arg2 = &temp2;
32968 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32969 }
32970 {
32971 arg3 = &temp3;
32972 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32973 }
32974 {
32975 PyThreadState* __tstate = wxPyBeginAllowThreads();
32976 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32977
32978 wxPyEndAllowThreads(__tstate);
32979 if (PyErr_Occurred()) SWIG_fail;
32980 }
32981 resultobj = PyInt_FromLong((long)result);
32982 return resultobj;
32983 fail:
32984 return NULL;
32985}
32986
32987
32988static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32989 int argc;
32990 PyObject *argv[4];
32991 int ii;
32992
32993 argc = PyObject_Length(args);
32994 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32995 argv[ii] = PyTuple_GetItem(args,ii);
32996 }
32997 if (argc == 2) {
32998 int _v;
32999 {
33000 void *ptr;
33001 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33002 _v = 0;
33003 PyErr_Clear();
33004 } else {
33005 _v = 1;
33006 }
33007 }
33008 if (_v) {
33009 {
33010 void *ptr;
33011 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33012 _v = 0;
33013 PyErr_Clear();
33014 } else {
33015 _v = 1;
33016 }
33017 }
33018 if (_v) {
33019 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
33020 }
33021 }
33022 }
33023 if (argc == 3) {
33024 int _v;
33025 {
33026 void *ptr;
33027 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33028 _v = 0;
33029 PyErr_Clear();
33030 } else {
33031 _v = 1;
33032 }
33033 }
33034 if (_v) {
33035 {
33036 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33037 }
33038 if (_v) {
33039 {
33040 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33041 }
33042 if (_v) {
33043 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
33044 }
33045 }
33046 }
33047 }
33048
33049 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
33050 return NULL;
33051}
33052
33053
33054static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
33055 PyObject *resultobj;
33056 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33057 int *arg2 = 0 ;
33058 int *arg3 = 0 ;
33059 PyObject * obj0 = 0 ;
33060 PyObject * obj1 = 0 ;
33061 PyObject * obj2 = 0 ;
33062 char *kwnames[] = {
33063 (char *) "self",(char *) "row",(char *) "col", NULL
33064 };
33065
33066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
33067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33069 if (arg2 == NULL) {
33070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33071 }
33072 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33073 if (arg3 == NULL) {
33074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
33075 }
33076 {
33077 PyThreadState* __tstate = wxPyBeginAllowThreads();
33078 (arg1)->GetEndPos(*arg2,*arg3);
33079
33080 wxPyEndAllowThreads(__tstate);
33081 if (PyErr_Occurred()) SWIG_fail;
33082 }
33083 Py_INCREF(Py_None); resultobj = Py_None;
33084 return resultobj;
33085 fail:
33086 return NULL;
33087}
33088
33089
33090static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33091 PyObject *resultobj;
33092 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33093 wxGridBagSizer *result;
33094 PyObject * obj0 = 0 ;
33095 char *kwnames[] = {
33096 (char *) "self", NULL
33097 };
33098
33099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
33100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33101 {
33102 PyThreadState* __tstate = wxPyBeginAllowThreads();
33103 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
33104
33105 wxPyEndAllowThreads(__tstate);
33106 if (PyErr_Occurred()) SWIG_fail;
33107 }
33108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
33109 return resultobj;
33110 fail:
33111 return NULL;
33112}
33113
33114
33115static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33116 PyObject *resultobj;
33117 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
33118 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
33119 PyObject * obj0 = 0 ;
33120 PyObject * obj1 = 0 ;
33121 char *kwnames[] = {
33122 (char *) "self",(char *) "sizer", NULL
33123 };
33124
33125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
33126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33128 {
33129 PyThreadState* __tstate = wxPyBeginAllowThreads();
33130 (arg1)->SetGBSizer(arg2);
33131
33132 wxPyEndAllowThreads(__tstate);
33133 if (PyErr_Occurred()) SWIG_fail;
33134 }
33135 Py_INCREF(Py_None); resultobj = Py_None;
33136 return resultobj;
33137 fail:
33138 return NULL;
33139}
33140
33141
33142static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
33143 PyObject *obj;
33144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33145 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
33146 Py_INCREF(obj);
33147 return Py_BuildValue((char *)"");
33148}
33149static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33150 PyObject *resultobj;
33151 int arg1 = (int) 0 ;
33152 int arg2 = (int) 0 ;
33153 wxGridBagSizer *result;
33154 char *kwnames[] = {
33155 (char *) "vgap",(char *) "hgap", NULL
33156 };
33157
33158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
33159 {
33160 PyThreadState* __tstate = wxPyBeginAllowThreads();
33161 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
33162
33163 wxPyEndAllowThreads(__tstate);
33164 if (PyErr_Occurred()) SWIG_fail;
33165 }
33166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
33167 return resultobj;
33168 fail:
33169 return NULL;
33170}
33171
33172
33173static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33174 PyObject *resultobj;
33175 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33176 PyObject *arg2 = (PyObject *) 0 ;
33177 wxGBPosition *arg3 = 0 ;
33178 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
33179 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
33180 int arg5 = (int) 0 ;
33181 int arg6 = (int) 0 ;
33182 PyObject *arg7 = (PyObject *) NULL ;
33183 bool result;
33184 wxGBPosition temp3 ;
33185 wxGBSpan temp4 ;
33186 PyObject * obj0 = 0 ;
33187 PyObject * obj1 = 0 ;
33188 PyObject * obj2 = 0 ;
33189 PyObject * obj3 = 0 ;
33190 PyObject * obj6 = 0 ;
33191 char *kwnames[] = {
33192 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33193 };
33194
33195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
33196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33197 arg2 = obj1;
33198 {
33199 arg3 = &temp3;
33200 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33201 }
33202 if (obj3) {
33203 {
33204 arg4 = &temp4;
33205 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
33206 }
33207 }
33208 if (obj6) {
33209 arg7 = obj6;
33210 }
33211 {
33212 PyThreadState* __tstate = wxPyBeginAllowThreads();
33213 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
33214
33215 wxPyEndAllowThreads(__tstate);
33216 if (PyErr_Occurred()) SWIG_fail;
33217 }
33218 resultobj = PyInt_FromLong((long)result);
33219 return resultobj;
33220 fail:
33221 return NULL;
33222}
33223
33224
33225static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33226 PyObject *resultobj;
33227 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33228 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33229 bool result;
33230 PyObject * obj0 = 0 ;
33231 PyObject * obj1 = 0 ;
33232 char *kwnames[] = {
33233 (char *) "self",(char *) "item", NULL
33234 };
33235
33236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33239 {
33240 PyThreadState* __tstate = wxPyBeginAllowThreads();
33241 result = (bool)(arg1)->Add(arg2);
33242
33243 wxPyEndAllowThreads(__tstate);
33244 if (PyErr_Occurred()) SWIG_fail;
33245 }
33246 resultobj = PyInt_FromLong((long)result);
33247 return resultobj;
33248 fail:
33249 return NULL;
33250}
33251
33252
33253static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33254 PyObject *resultobj;
33255 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33256 wxSize result;
33257 PyObject * obj0 = 0 ;
33258 char *kwnames[] = {
33259 (char *) "self", NULL
33260 };
33261
33262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
33263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33264 {
33265 PyThreadState* __tstate = wxPyBeginAllowThreads();
33266 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
33267
33268 wxPyEndAllowThreads(__tstate);
33269 if (PyErr_Occurred()) SWIG_fail;
33270 }
33271 {
33272 wxSize * resultptr;
33273 resultptr = new wxSize((wxSize &) result);
33274 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33275 }
33276 return resultobj;
33277 fail:
33278 return NULL;
33279}
33280
33281
33282static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33283 PyObject *resultobj;
33284 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33285 wxSize *arg2 = 0 ;
33286 wxSize temp2 ;
33287 PyObject * obj0 = 0 ;
33288 PyObject * obj1 = 0 ;
33289 char *kwnames[] = {
33290 (char *) "self",(char *) "sz", NULL
33291 };
33292
33293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
33294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33295 {
33296 arg2 = &temp2;
33297 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33298 }
33299 {
33300 PyThreadState* __tstate = wxPyBeginAllowThreads();
33301 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
33302
33303 wxPyEndAllowThreads(__tstate);
33304 if (PyErr_Occurred()) SWIG_fail;
33305 }
33306 Py_INCREF(Py_None); resultobj = Py_None;
33307 return resultobj;
33308 fail:
33309 return NULL;
33310}
33311
33312
33313static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33314 PyObject *resultobj;
33315 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33316 wxWindow *arg2 = (wxWindow *) 0 ;
33317 wxGBPosition result;
33318 PyObject * obj0 = 0 ;
33319 PyObject * obj1 = 0 ;
33320
33321 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33324 {
33325 PyThreadState* __tstate = wxPyBeginAllowThreads();
33326 result = (arg1)->GetItemPosition(arg2);
33327
33328 wxPyEndAllowThreads(__tstate);
33329 if (PyErr_Occurred()) SWIG_fail;
33330 }
33331 {
33332 wxGBPosition * resultptr;
33333 resultptr = new wxGBPosition((wxGBPosition &) result);
33334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33335 }
33336 return resultobj;
33337 fail:
33338 return NULL;
33339}
33340
33341
33342static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33343 PyObject *resultobj;
33344 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33345 wxSizer *arg2 = (wxSizer *) 0 ;
33346 wxGBPosition result;
33347 PyObject * obj0 = 0 ;
33348 PyObject * obj1 = 0 ;
33349
33350 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) 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__SWIG_2(PyObject *self, PyObject *args) {
33372 PyObject *resultobj;
33373 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33374 size_t arg2 ;
33375 wxGBPosition result;
33376 PyObject * obj0 = 0 ;
33377 PyObject * obj1 = 0 ;
33378
33379 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33381 arg2 = (size_t) PyInt_AsLong(obj1);
33382 if (PyErr_Occurred()) SWIG_fail;
33383 {
33384 PyThreadState* __tstate = wxPyBeginAllowThreads();
33385 result = (arg1)->GetItemPosition(arg2);
33386
33387 wxPyEndAllowThreads(__tstate);
33388 if (PyErr_Occurred()) SWIG_fail;
33389 }
33390 {
33391 wxGBPosition * resultptr;
33392 resultptr = new wxGBPosition((wxGBPosition &) result);
33393 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33394 }
33395 return resultobj;
33396 fail:
33397 return NULL;
33398}
33399
33400
33401static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
33402 int argc;
33403 PyObject *argv[3];
33404 int ii;
33405
33406 argc = PyObject_Length(args);
33407 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33408 argv[ii] = PyTuple_GetItem(args,ii);
33409 }
33410 if (argc == 2) {
33411 int _v;
33412 {
33413 void *ptr;
33414 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33415 _v = 0;
33416 PyErr_Clear();
33417 } else {
33418 _v = 1;
33419 }
33420 }
33421 if (_v) {
33422 {
33423 void *ptr;
33424 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33425 _v = 0;
33426 PyErr_Clear();
33427 } else {
33428 _v = 1;
33429 }
33430 }
33431 if (_v) {
33432 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
33433 }
33434 }
33435 }
33436 if (argc == 2) {
33437 int _v;
33438 {
33439 void *ptr;
33440 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33441 _v = 0;
33442 PyErr_Clear();
33443 } else {
33444 _v = 1;
33445 }
33446 }
33447 if (_v) {
33448 {
33449 void *ptr;
33450 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33451 _v = 0;
33452 PyErr_Clear();
33453 } else {
33454 _v = 1;
33455 }
33456 }
33457 if (_v) {
33458 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
33459 }
33460 }
33461 }
33462 if (argc == 2) {
33463 int _v;
33464 {
33465 void *ptr;
33466 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33467 _v = 0;
33468 PyErr_Clear();
33469 } else {
33470 _v = 1;
33471 }
33472 }
33473 if (_v) {
33474 {
33475 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33476 }
33477 if (_v) {
33478 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33479 }
33480 }
33481 }
33482
33483 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33484 return NULL;
33485}
33486
33487
33488static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33489 PyObject *resultobj;
33490 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33491 wxWindow *arg2 = (wxWindow *) 0 ;
33492 wxGBPosition *arg3 = 0 ;
33493 bool result;
33494 wxGBPosition temp3 ;
33495 PyObject * obj0 = 0 ;
33496 PyObject * obj1 = 0 ;
33497 PyObject * obj2 = 0 ;
33498
33499 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33502 {
33503 arg3 = &temp3;
33504 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33505 }
33506 {
33507 PyThreadState* __tstate = wxPyBeginAllowThreads();
33508 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33509
33510 wxPyEndAllowThreads(__tstate);
33511 if (PyErr_Occurred()) SWIG_fail;
33512 }
33513 resultobj = PyInt_FromLong((long)result);
33514 return resultobj;
33515 fail:
33516 return NULL;
33517}
33518
33519
33520static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33521 PyObject *resultobj;
33522 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33523 wxSizer *arg2 = (wxSizer *) 0 ;
33524 wxGBPosition *arg3 = 0 ;
33525 bool result;
33526 wxGBPosition temp3 ;
33527 PyObject * obj0 = 0 ;
33528 PyObject * obj1 = 0 ;
33529 PyObject * obj2 = 0 ;
33530
33531 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33534 {
33535 arg3 = &temp3;
33536 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33537 }
33538 {
33539 PyThreadState* __tstate = wxPyBeginAllowThreads();
33540 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33541
33542 wxPyEndAllowThreads(__tstate);
33543 if (PyErr_Occurred()) SWIG_fail;
33544 }
33545 resultobj = PyInt_FromLong((long)result);
33546 return resultobj;
33547 fail:
33548 return NULL;
33549}
33550
33551
33552static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33553 PyObject *resultobj;
33554 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33555 size_t arg2 ;
33556 wxGBPosition *arg3 = 0 ;
33557 bool result;
33558 wxGBPosition temp3 ;
33559 PyObject * obj0 = 0 ;
33560 PyObject * obj1 = 0 ;
33561 PyObject * obj2 = 0 ;
33562
33563 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33565 arg2 = (size_t) PyInt_AsLong(obj1);
33566 if (PyErr_Occurred()) SWIG_fail;
33567 {
33568 arg3 = &temp3;
33569 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33570 }
33571 {
33572 PyThreadState* __tstate = wxPyBeginAllowThreads();
33573 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33574
33575 wxPyEndAllowThreads(__tstate);
33576 if (PyErr_Occurred()) SWIG_fail;
33577 }
33578 resultobj = PyInt_FromLong((long)result);
33579 return resultobj;
33580 fail:
33581 return NULL;
33582}
33583
33584
33585static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33586 int argc;
33587 PyObject *argv[4];
33588 int ii;
33589
33590 argc = PyObject_Length(args);
33591 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33592 argv[ii] = PyTuple_GetItem(args,ii);
33593 }
33594 if (argc == 3) {
33595 int _v;
33596 {
33597 void *ptr;
33598 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33599 _v = 0;
33600 PyErr_Clear();
33601 } else {
33602 _v = 1;
33603 }
33604 }
33605 if (_v) {
33606 {
33607 void *ptr;
33608 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33609 _v = 0;
33610 PyErr_Clear();
33611 } else {
33612 _v = 1;
33613 }
33614 }
33615 if (_v) {
33616 {
33617 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33618 }
33619 if (_v) {
33620 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33621 }
33622 }
33623 }
33624 }
33625 if (argc == 3) {
33626 int _v;
33627 {
33628 void *ptr;
33629 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33630 _v = 0;
33631 PyErr_Clear();
33632 } else {
33633 _v = 1;
33634 }
33635 }
33636 if (_v) {
33637 {
33638 void *ptr;
33639 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33640 _v = 0;
33641 PyErr_Clear();
33642 } else {
33643 _v = 1;
33644 }
33645 }
33646 if (_v) {
33647 {
33648 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33649 }
33650 if (_v) {
33651 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33652 }
33653 }
33654 }
33655 }
33656 if (argc == 3) {
33657 int _v;
33658 {
33659 void *ptr;
33660 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33661 _v = 0;
33662 PyErr_Clear();
33663 } else {
33664 _v = 1;
33665 }
33666 }
33667 if (_v) {
33668 {
33669 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33670 }
33671 if (_v) {
33672 {
33673 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33674 }
33675 if (_v) {
33676 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33677 }
33678 }
33679 }
33680 }
33681
33682 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33683 return NULL;
33684}
33685
33686
33687static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33688 PyObject *resultobj;
33689 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33690 wxWindow *arg2 = (wxWindow *) 0 ;
33691 wxGBSpan result;
33692 PyObject * obj0 = 0 ;
33693 PyObject * obj1 = 0 ;
33694
33695 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33698 {
33699 PyThreadState* __tstate = wxPyBeginAllowThreads();
33700 result = (arg1)->GetItemSpan(arg2);
33701
33702 wxPyEndAllowThreads(__tstate);
33703 if (PyErr_Occurred()) SWIG_fail;
33704 }
33705 {
33706 wxGBSpan * resultptr;
33707 resultptr = new wxGBSpan((wxGBSpan &) result);
33708 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33709 }
33710 return resultobj;
33711 fail:
33712 return NULL;
33713}
33714
33715
33716static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33717 PyObject *resultobj;
33718 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33719 wxSizer *arg2 = (wxSizer *) 0 ;
33720 wxGBSpan result;
33721 PyObject * obj0 = 0 ;
33722 PyObject * obj1 = 0 ;
33723
33724 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) 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__SWIG_2(PyObject *self, PyObject *args) {
33746 PyObject *resultobj;
33747 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33748 size_t arg2 ;
33749 wxGBSpan result;
33750 PyObject * obj0 = 0 ;
33751 PyObject * obj1 = 0 ;
33752
33753 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33755 arg2 = (size_t) PyInt_AsLong(obj1);
33756 if (PyErr_Occurred()) SWIG_fail;
33757 {
33758 PyThreadState* __tstate = wxPyBeginAllowThreads();
33759 result = (arg1)->GetItemSpan(arg2);
33760
33761 wxPyEndAllowThreads(__tstate);
33762 if (PyErr_Occurred()) SWIG_fail;
33763 }
33764 {
33765 wxGBSpan * resultptr;
33766 resultptr = new wxGBSpan((wxGBSpan &) result);
33767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33768 }
33769 return resultobj;
33770 fail:
33771 return NULL;
33772}
33773
33774
33775static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33776 int argc;
33777 PyObject *argv[3];
33778 int ii;
33779
33780 argc = PyObject_Length(args);
33781 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33782 argv[ii] = PyTuple_GetItem(args,ii);
33783 }
33784 if (argc == 2) {
33785 int _v;
33786 {
33787 void *ptr;
33788 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33789 _v = 0;
33790 PyErr_Clear();
33791 } else {
33792 _v = 1;
33793 }
33794 }
33795 if (_v) {
33796 {
33797 void *ptr;
33798 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33799 _v = 0;
33800 PyErr_Clear();
33801 } else {
33802 _v = 1;
33803 }
33804 }
33805 if (_v) {
33806 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33807 }
33808 }
33809 }
33810 if (argc == 2) {
33811 int _v;
33812 {
33813 void *ptr;
33814 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33815 _v = 0;
33816 PyErr_Clear();
33817 } else {
33818 _v = 1;
33819 }
33820 }
33821 if (_v) {
33822 {
33823 void *ptr;
33824 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33825 _v = 0;
33826 PyErr_Clear();
33827 } else {
33828 _v = 1;
33829 }
33830 }
33831 if (_v) {
33832 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33833 }
33834 }
33835 }
33836 if (argc == 2) {
33837 int _v;
33838 {
33839 void *ptr;
33840 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33841 _v = 0;
33842 PyErr_Clear();
33843 } else {
33844 _v = 1;
33845 }
33846 }
33847 if (_v) {
33848 {
33849 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33850 }
33851 if (_v) {
33852 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33853 }
33854 }
33855 }
33856
33857 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33858 return NULL;
33859}
33860
33861
33862static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33863 PyObject *resultobj;
33864 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33865 wxWindow *arg2 = (wxWindow *) 0 ;
33866 wxGBSpan *arg3 = 0 ;
33867 bool result;
33868 wxGBSpan temp3 ;
33869 PyObject * obj0 = 0 ;
33870 PyObject * obj1 = 0 ;
33871 PyObject * obj2 = 0 ;
33872
33873 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33876 {
33877 arg3 = &temp3;
33878 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33879 }
33880 {
33881 PyThreadState* __tstate = wxPyBeginAllowThreads();
33882 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33883
33884 wxPyEndAllowThreads(__tstate);
33885 if (PyErr_Occurred()) SWIG_fail;
33886 }
33887 resultobj = PyInt_FromLong((long)result);
33888 return resultobj;
33889 fail:
33890 return NULL;
33891}
33892
33893
33894static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33895 PyObject *resultobj;
33896 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33897 wxSizer *arg2 = (wxSizer *) 0 ;
33898 wxGBSpan *arg3 = 0 ;
33899 bool result;
33900 wxGBSpan temp3 ;
33901 PyObject * obj0 = 0 ;
33902 PyObject * obj1 = 0 ;
33903 PyObject * obj2 = 0 ;
33904
33905 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33908 {
33909 arg3 = &temp3;
33910 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33911 }
33912 {
33913 PyThreadState* __tstate = wxPyBeginAllowThreads();
33914 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33915
33916 wxPyEndAllowThreads(__tstate);
33917 if (PyErr_Occurred()) SWIG_fail;
33918 }
33919 resultobj = PyInt_FromLong((long)result);
33920 return resultobj;
33921 fail:
33922 return NULL;
33923}
33924
33925
33926static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33927 PyObject *resultobj;
33928 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33929 size_t arg2 ;
33930 wxGBSpan *arg3 = 0 ;
33931 bool result;
33932 wxGBSpan temp3 ;
33933 PyObject * obj0 = 0 ;
33934 PyObject * obj1 = 0 ;
33935 PyObject * obj2 = 0 ;
33936
33937 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33939 arg2 = (size_t) PyInt_AsLong(obj1);
33940 if (PyErr_Occurred()) SWIG_fail;
33941 {
33942 arg3 = &temp3;
33943 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33944 }
33945 {
33946 PyThreadState* __tstate = wxPyBeginAllowThreads();
33947 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33948
33949 wxPyEndAllowThreads(__tstate);
33950 if (PyErr_Occurred()) SWIG_fail;
33951 }
33952 resultobj = PyInt_FromLong((long)result);
33953 return resultobj;
33954 fail:
33955 return NULL;
33956}
33957
33958
33959static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33960 int argc;
33961 PyObject *argv[4];
33962 int ii;
33963
33964 argc = PyObject_Length(args);
33965 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33966 argv[ii] = PyTuple_GetItem(args,ii);
33967 }
33968 if (argc == 3) {
33969 int _v;
33970 {
33971 void *ptr;
33972 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33973 _v = 0;
33974 PyErr_Clear();
33975 } else {
33976 _v = 1;
33977 }
33978 }
33979 if (_v) {
33980 {
33981 void *ptr;
33982 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33983 _v = 0;
33984 PyErr_Clear();
33985 } else {
33986 _v = 1;
33987 }
33988 }
33989 if (_v) {
33990 {
33991 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33992 }
33993 if (_v) {
33994 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33995 }
33996 }
33997 }
33998 }
33999 if (argc == 3) {
34000 int _v;
34001 {
34002 void *ptr;
34003 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34004 _v = 0;
34005 PyErr_Clear();
34006 } else {
34007 _v = 1;
34008 }
34009 }
34010 if (_v) {
34011 {
34012 void *ptr;
34013 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34014 _v = 0;
34015 PyErr_Clear();
34016 } else {
34017 _v = 1;
34018 }
34019 }
34020 if (_v) {
34021 {
34022 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34023 }
34024 if (_v) {
34025 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
34026 }
34027 }
34028 }
34029 }
34030 if (argc == 3) {
34031 int _v;
34032 {
34033 void *ptr;
34034 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34035 _v = 0;
34036 PyErr_Clear();
34037 } else {
34038 _v = 1;
34039 }
34040 }
34041 if (_v) {
34042 {
34043 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
34044 }
34045 if (_v) {
34046 {
34047 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34048 }
34049 if (_v) {
34050 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
34051 }
34052 }
34053 }
34054 }
34055
34056 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34057 return NULL;
34058}
34059
34060
34061static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
34062 PyObject *resultobj;
34063 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34064 wxWindow *arg2 = (wxWindow *) 0 ;
34065 wxGBSizerItem *result;
34066 PyObject * obj0 = 0 ;
34067 PyObject * obj1 = 0 ;
34068
34069 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34072 {
34073 PyThreadState* __tstate = wxPyBeginAllowThreads();
34074 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34075
34076 wxPyEndAllowThreads(__tstate);
34077 if (PyErr_Occurred()) SWIG_fail;
34078 }
34079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34080 return resultobj;
34081 fail:
34082 return NULL;
34083}
34084
34085
34086static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
34087 PyObject *resultobj;
34088 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34089 wxSizer *arg2 = (wxSizer *) 0 ;
34090 wxGBSizerItem *result;
34091 PyObject * obj0 = 0 ;
34092 PyObject * obj1 = 0 ;
34093
34094 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
34095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34097 {
34098 PyThreadState* __tstate = wxPyBeginAllowThreads();
34099 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
34100
34101 wxPyEndAllowThreads(__tstate);
34102 if (PyErr_Occurred()) SWIG_fail;
34103 }
34104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34105 return resultobj;
34106 fail:
34107 return NULL;
34108}
34109
34110
34111static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
34112 int argc;
34113 PyObject *argv[3];
34114 int ii;
34115
34116 argc = PyObject_Length(args);
34117 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
34118 argv[ii] = PyTuple_GetItem(args,ii);
34119 }
34120 if (argc == 2) {
34121 int _v;
34122 {
34123 void *ptr;
34124 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34125 _v = 0;
34126 PyErr_Clear();
34127 } else {
34128 _v = 1;
34129 }
34130 }
34131 if (_v) {
34132 {
34133 void *ptr;
34134 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34135 _v = 0;
34136 PyErr_Clear();
34137 } else {
34138 _v = 1;
34139 }
34140 }
34141 if (_v) {
34142 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
34143 }
34144 }
34145 }
34146 if (argc == 2) {
34147 int _v;
34148 {
34149 void *ptr;
34150 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34151 _v = 0;
34152 PyErr_Clear();
34153 } else {
34154 _v = 1;
34155 }
34156 }
34157 if (_v) {
34158 {
34159 void *ptr;
34160 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34161 _v = 0;
34162 PyErr_Clear();
34163 } else {
34164 _v = 1;
34165 }
34166 }
34167 if (_v) {
34168 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
34169 }
34170 }
34171 }
34172
34173 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
34174 return NULL;
34175}
34176
34177
34178static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34179 PyObject *resultobj;
34180 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34181 wxGBPosition *arg2 = 0 ;
34182 wxGBSizerItem *result;
34183 wxGBPosition temp2 ;
34184 PyObject * obj0 = 0 ;
34185 PyObject * obj1 = 0 ;
34186 char *kwnames[] = {
34187 (char *) "self",(char *) "pos", NULL
34188 };
34189
34190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
34191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34192 {
34193 arg2 = &temp2;
34194 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34195 }
34196 {
34197 PyThreadState* __tstate = wxPyBeginAllowThreads();
34198 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
34199
34200 wxPyEndAllowThreads(__tstate);
34201 if (PyErr_Occurred()) SWIG_fail;
34202 }
34203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34204 return resultobj;
34205 fail:
34206 return NULL;
34207}
34208
34209
423f194a
RD
34210static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
34211 PyObject *resultobj;
34212 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34213 wxPoint *arg2 = 0 ;
34214 wxGBSizerItem *result;
34215 wxPoint temp2 ;
34216 PyObject * obj0 = 0 ;
34217 PyObject * obj1 = 0 ;
34218 char *kwnames[] = {
34219 (char *) "self",(char *) "pt", NULL
34220 };
34221
34222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
34223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34224 {
34225 arg2 = &temp2;
34226 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34227 }
34228 {
34229 PyThreadState* __tstate = wxPyBeginAllowThreads();
34230 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
34231
34232 wxPyEndAllowThreads(__tstate);
34233 if (PyErr_Occurred()) SWIG_fail;
34234 }
34235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34236 return resultobj;
34237 fail:
34238 return NULL;
34239}
34240
34241
d14a1e28
RD
34242static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
34243 PyObject *resultobj;
34244 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34245 wxObject *arg2 = (wxObject *) 0 ;
34246 wxGBSizerItem *result;
34247 PyObject * obj0 = 0 ;
34248 PyObject * obj1 = 0 ;
34249 char *kwnames[] = {
34250 (char *) "self",(char *) "userData", NULL
34251 };
34252
34253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
34254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34256 {
34257 PyThreadState* __tstate = wxPyBeginAllowThreads();
34258 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
34259
34260 wxPyEndAllowThreads(__tstate);
34261 if (PyErr_Occurred()) SWIG_fail;
34262 }
34263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34264 return resultobj;
34265 fail:
34266 return NULL;
34267}
34268
34269
34270static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34271 PyObject *resultobj;
34272 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34273 PyObject * obj0 = 0 ;
34274 char *kwnames[] = {
34275 (char *) "self", NULL
34276 };
34277
34278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34280 {
34281 PyThreadState* __tstate = wxPyBeginAllowThreads();
34282 (arg1)->RecalcSizes();
34283
34284 wxPyEndAllowThreads(__tstate);
34285 if (PyErr_Occurred()) SWIG_fail;
34286 }
34287 Py_INCREF(Py_None); resultobj = Py_None;
34288 return resultobj;
34289 fail:
34290 return NULL;
34291}
34292
34293
34294static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34295 PyObject *resultobj;
34296 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34297 wxSize result;
34298 PyObject * obj0 = 0 ;
34299 char *kwnames[] = {
34300 (char *) "self", NULL
34301 };
34302
34303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
34304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34305 {
34306 PyThreadState* __tstate = wxPyBeginAllowThreads();
34307 result = (arg1)->CalcMin();
34308
34309 wxPyEndAllowThreads(__tstate);
34310 if (PyErr_Occurred()) SWIG_fail;
34311 }
34312 {
34313 wxSize * resultptr;
34314 resultptr = new wxSize((wxSize &) result);
34315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34316 }
34317 return resultobj;
34318 fail:
34319 return NULL;
34320}
34321
34322
34323static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
34324 PyObject *resultobj;
34325 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34326 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
34327 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
34328 bool result;
34329 PyObject * obj0 = 0 ;
34330 PyObject * obj1 = 0 ;
34331 PyObject * obj2 = 0 ;
34332
34333 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
34334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34336 if (obj2) {
34337 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34338 }
34339 {
34340 PyThreadState* __tstate = wxPyBeginAllowThreads();
34341 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
34342
34343 wxPyEndAllowThreads(__tstate);
34344 if (PyErr_Occurred()) SWIG_fail;
34345 }
34346 resultobj = PyInt_FromLong((long)result);
34347 return resultobj;
34348 fail:
34349 return NULL;
34350}
34351
34352
34353static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
34354 PyObject *resultobj;
34355 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34356 wxGBPosition *arg2 = 0 ;
34357 wxGBSpan *arg3 = 0 ;
34358 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
34359 bool result;
34360 wxGBPosition temp2 ;
34361 wxGBSpan temp3 ;
34362 PyObject * obj0 = 0 ;
34363 PyObject * obj1 = 0 ;
34364 PyObject * obj2 = 0 ;
34365 PyObject * obj3 = 0 ;
34366
34367 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
34368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34369 {
34370 arg2 = &temp2;
34371 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34372 }
34373 {
34374 arg3 = &temp3;
34375 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34376 }
34377 if (obj3) {
34378 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34379 }
34380 {
34381 PyThreadState* __tstate = wxPyBeginAllowThreads();
34382 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
34383
34384 wxPyEndAllowThreads(__tstate);
34385 if (PyErr_Occurred()) SWIG_fail;
34386 }
34387 resultobj = PyInt_FromLong((long)result);
34388 return resultobj;
34389 fail:
34390 return NULL;
34391}
34392
34393
34394static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
34395 int argc;
34396 PyObject *argv[5];
34397 int ii;
34398
34399 argc = PyObject_Length(args);
34400 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
34401 argv[ii] = PyTuple_GetItem(args,ii);
34402 }
34403 if ((argc >= 2) && (argc <= 3)) {
34404 int _v;
34405 {
34406 void *ptr;
34407 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34408 _v = 0;
34409 PyErr_Clear();
34410 } else {
34411 _v = 1;
34412 }
34413 }
34414 if (_v) {
34415 {
34416 void *ptr;
34417 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34418 _v = 0;
34419 PyErr_Clear();
34420 } else {
34421 _v = 1;
34422 }
34423 }
34424 if (_v) {
34425 if (argc <= 2) {
34426 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34427 }
34428 {
34429 void *ptr;
34430 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34431 _v = 0;
34432 PyErr_Clear();
34433 } else {
34434 _v = 1;
34435 }
34436 }
34437 if (_v) {
34438 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34439 }
34440 }
34441 }
34442 }
34443 if ((argc >= 3) && (argc <= 4)) {
34444 int _v;
34445 {
34446 void *ptr;
34447 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34448 _v = 0;
34449 PyErr_Clear();
34450 } else {
34451 _v = 1;
34452 }
34453 }
34454 if (_v) {
34455 {
34456 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
34457 }
34458 if (_v) {
34459 {
34460 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34461 }
34462 if (_v) {
34463 if (argc <= 3) {
34464 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34465 }
34466 {
34467 void *ptr;
34468 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34469 _v = 0;
34470 PyErr_Clear();
34471 } else {
34472 _v = 1;
34473 }
34474 }
34475 if (_v) {
34476 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34477 }
34478 }
34479 }
34480 }
34481 }
34482
34483 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34484 return NULL;
34485}
34486
34487
34488static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34489 PyObject *obj;
34490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34491 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34492 Py_INCREF(obj);
34493 return Py_BuildValue((char *)"");
34494}
34495static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34496 PyObject *resultobj;
34497 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34498 int arg2 ;
34499 wxWindow *arg3 = (wxWindow *) 0 ;
34500 int arg4 ;
34501 int arg5 = (int) 0 ;
34502 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34503 PyObject * obj0 = 0 ;
34504 PyObject * obj2 = 0 ;
34505 char *kwnames[] = {
34506 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34507 };
34508
34509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34511 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34512 {
34513 PyThreadState* __tstate = wxPyBeginAllowThreads();
34514 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34515
34516 wxPyEndAllowThreads(__tstate);
34517 if (PyErr_Occurred()) SWIG_fail;
34518 }
34519 Py_INCREF(Py_None); resultobj = Py_None;
34520 return resultobj;
34521 fail:
34522 return NULL;
34523}
34524
34525
34526static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34527 PyObject *resultobj;
34528 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34529 wxWindow *arg2 = (wxWindow *) 0 ;
34530 int arg3 = (int) 0 ;
34531 PyObject * obj0 = 0 ;
34532 PyObject * obj1 = 0 ;
34533 char *kwnames[] = {
34534 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34535 };
34536
34537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34540 {
34541 PyThreadState* __tstate = wxPyBeginAllowThreads();
34542 (arg1)->LeftOf(arg2,arg3);
34543
34544 wxPyEndAllowThreads(__tstate);
34545 if (PyErr_Occurred()) SWIG_fail;
34546 }
34547 Py_INCREF(Py_None); resultobj = Py_None;
34548 return resultobj;
34549 fail:
34550 return NULL;
34551}
34552
34553
34554static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34555 PyObject *resultobj;
34556 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34557 wxWindow *arg2 = (wxWindow *) 0 ;
34558 int arg3 = (int) 0 ;
34559 PyObject * obj0 = 0 ;
34560 PyObject * obj1 = 0 ;
34561 char *kwnames[] = {
34562 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34563 };
34564
34565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34568 {
34569 PyThreadState* __tstate = wxPyBeginAllowThreads();
34570 (arg1)->RightOf(arg2,arg3);
34571
34572 wxPyEndAllowThreads(__tstate);
34573 if (PyErr_Occurred()) SWIG_fail;
34574 }
34575 Py_INCREF(Py_None); resultobj = Py_None;
34576 return resultobj;
34577 fail:
34578 return NULL;
34579}
34580
34581
34582static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34583 PyObject *resultobj;
34584 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34585 wxWindow *arg2 = (wxWindow *) 0 ;
34586 int arg3 = (int) 0 ;
34587 PyObject * obj0 = 0 ;
34588 PyObject * obj1 = 0 ;
34589 char *kwnames[] = {
34590 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34591 };
34592
34593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34596 {
34597 PyThreadState* __tstate = wxPyBeginAllowThreads();
34598 (arg1)->Above(arg2,arg3);
34599
34600 wxPyEndAllowThreads(__tstate);
34601 if (PyErr_Occurred()) SWIG_fail;
34602 }
34603 Py_INCREF(Py_None); resultobj = Py_None;
34604 return resultobj;
34605 fail:
34606 return NULL;
34607}
34608
34609
34610static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34611 PyObject *resultobj;
34612 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34613 wxWindow *arg2 = (wxWindow *) 0 ;
34614 int arg3 = (int) 0 ;
34615 PyObject * obj0 = 0 ;
34616 PyObject * obj1 = 0 ;
34617 char *kwnames[] = {
34618 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34619 };
34620
34621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34624 {
34625 PyThreadState* __tstate = wxPyBeginAllowThreads();
34626 (arg1)->Below(arg2,arg3);
34627
34628 wxPyEndAllowThreads(__tstate);
34629 if (PyErr_Occurred()) SWIG_fail;
34630 }
34631 Py_INCREF(Py_None); resultobj = Py_None;
34632 return resultobj;
34633 fail:
34634 return NULL;
34635}
34636
34637
34638static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34639 PyObject *resultobj;
34640 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34641 wxWindow *arg2 = (wxWindow *) 0 ;
34642 int arg3 ;
34643 int arg4 = (int) 0 ;
34644 PyObject * obj0 = 0 ;
34645 PyObject * obj1 = 0 ;
34646 char *kwnames[] = {
34647 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34648 };
34649
34650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34653 {
34654 PyThreadState* __tstate = wxPyBeginAllowThreads();
34655 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34656
34657 wxPyEndAllowThreads(__tstate);
34658 if (PyErr_Occurred()) SWIG_fail;
34659 }
34660 Py_INCREF(Py_None); resultobj = Py_None;
34661 return resultobj;
34662 fail:
34663 return NULL;
34664}
34665
34666
34667static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34668 PyObject *resultobj;
34669 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34670 wxWindow *arg2 = (wxWindow *) 0 ;
34671 int arg3 ;
34672 int arg4 ;
34673 PyObject * obj0 = 0 ;
34674 PyObject * obj1 = 0 ;
34675 char *kwnames[] = {
34676 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34677 };
34678
34679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34682 {
34683 PyThreadState* __tstate = wxPyBeginAllowThreads();
34684 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34685
34686 wxPyEndAllowThreads(__tstate);
34687 if (PyErr_Occurred()) SWIG_fail;
34688 }
34689 Py_INCREF(Py_None); resultobj = Py_None;
34690 return resultobj;
34691 fail:
34692 return NULL;
34693}
34694
34695
34696static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34697 PyObject *resultobj;
34698 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34699 int arg2 ;
34700 PyObject * obj0 = 0 ;
34701 char *kwnames[] = {
34702 (char *) "self",(char *) "val", NULL
34703 };
34704
34705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34707 {
34708 PyThreadState* __tstate = wxPyBeginAllowThreads();
34709 (arg1)->Absolute(arg2);
34710
34711 wxPyEndAllowThreads(__tstate);
34712 if (PyErr_Occurred()) SWIG_fail;
34713 }
34714 Py_INCREF(Py_None); resultobj = Py_None;
34715 return resultobj;
34716 fail:
34717 return NULL;
34718}
34719
34720
34721static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34722 PyObject *resultobj;
34723 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34724 PyObject * obj0 = 0 ;
34725 char *kwnames[] = {
34726 (char *) "self", NULL
34727 };
34728
34729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34731 {
34732 PyThreadState* __tstate = wxPyBeginAllowThreads();
34733 (arg1)->Unconstrained();
34734
34735 wxPyEndAllowThreads(__tstate);
34736 if (PyErr_Occurred()) SWIG_fail;
34737 }
34738 Py_INCREF(Py_None); resultobj = Py_None;
34739 return resultobj;
34740 fail:
34741 return NULL;
34742}
34743
34744
34745static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34746 PyObject *resultobj;
34747 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34748 PyObject * obj0 = 0 ;
34749 char *kwnames[] = {
34750 (char *) "self", NULL
34751 };
34752
34753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34755 {
34756 PyThreadState* __tstate = wxPyBeginAllowThreads();
34757 (arg1)->AsIs();
34758
34759 wxPyEndAllowThreads(__tstate);
34760 if (PyErr_Occurred()) SWIG_fail;
34761 }
34762 Py_INCREF(Py_None); resultobj = Py_None;
34763 return resultobj;
34764 fail:
34765 return NULL;
34766}
34767
34768
34769static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34770 PyObject *resultobj;
34771 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34772 wxWindow *result;
34773 PyObject * obj0 = 0 ;
34774 char *kwnames[] = {
34775 (char *) "self", NULL
34776 };
34777
34778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34780 {
34781 PyThreadState* __tstate = wxPyBeginAllowThreads();
34782 result = (wxWindow *)(arg1)->GetOtherWindow();
34783
34784 wxPyEndAllowThreads(__tstate);
34785 if (PyErr_Occurred()) SWIG_fail;
34786 }
34787 {
34788 resultobj = wxPyMake_wxObject(result);
34789 }
34790 return resultobj;
34791 fail:
34792 return NULL;
34793}
34794
34795
34796static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34797 PyObject *resultobj;
34798 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34799 int result;
34800 PyObject * obj0 = 0 ;
34801 char *kwnames[] = {
34802 (char *) "self", NULL
34803 };
34804
34805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34807 {
34808 PyThreadState* __tstate = wxPyBeginAllowThreads();
34809 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34810
34811 wxPyEndAllowThreads(__tstate);
34812 if (PyErr_Occurred()) SWIG_fail;
34813 }
34814 resultobj = PyInt_FromLong((long)result);
34815 return resultobj;
34816 fail:
34817 return NULL;
34818}
34819
34820
34821static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34822 PyObject *resultobj;
34823 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34824 int arg2 ;
34825 PyObject * obj0 = 0 ;
34826 char *kwnames[] = {
34827 (char *) "self",(char *) "which", NULL
34828 };
34829
34830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34832 {
34833 PyThreadState* __tstate = wxPyBeginAllowThreads();
34834 (arg1)->SetEdge((wxEdge )arg2);
34835
34836 wxPyEndAllowThreads(__tstate);
34837 if (PyErr_Occurred()) SWIG_fail;
34838 }
34839 Py_INCREF(Py_None); resultobj = Py_None;
34840 return resultobj;
34841 fail:
34842 return NULL;
34843}
34844
34845
34846static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34847 PyObject *resultobj;
34848 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34849 int arg2 ;
34850 PyObject * obj0 = 0 ;
34851 char *kwnames[] = {
34852 (char *) "self",(char *) "v", NULL
34853 };
34854
34855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34857 {
34858 PyThreadState* __tstate = wxPyBeginAllowThreads();
34859 (arg1)->SetValue(arg2);
34860
34861 wxPyEndAllowThreads(__tstate);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 }
34864 Py_INCREF(Py_None); resultobj = Py_None;
34865 return resultobj;
34866 fail:
34867 return NULL;
34868}
34869
34870
34871static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34872 PyObject *resultobj;
34873 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34874 int result;
34875 PyObject * obj0 = 0 ;
34876 char *kwnames[] = {
34877 (char *) "self", NULL
34878 };
34879
34880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34882 {
34883 PyThreadState* __tstate = wxPyBeginAllowThreads();
34884 result = (int)(arg1)->GetMargin();
34885
34886 wxPyEndAllowThreads(__tstate);
34887 if (PyErr_Occurred()) SWIG_fail;
34888 }
34889 resultobj = PyInt_FromLong((long)result);
34890 return resultobj;
34891 fail:
34892 return NULL;
34893}
34894
34895
34896static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34897 PyObject *resultobj;
34898 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34899 int arg2 ;
34900 PyObject * obj0 = 0 ;
34901 char *kwnames[] = {
34902 (char *) "self",(char *) "m", NULL
34903 };
34904
34905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34907 {
34908 PyThreadState* __tstate = wxPyBeginAllowThreads();
34909 (arg1)->SetMargin(arg2);
34910
34911 wxPyEndAllowThreads(__tstate);
34912 if (PyErr_Occurred()) SWIG_fail;
34913 }
34914 Py_INCREF(Py_None); resultobj = Py_None;
34915 return resultobj;
34916 fail:
34917 return NULL;
34918}
34919
34920
34921static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34922 PyObject *resultobj;
34923 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34924 int result;
34925 PyObject * obj0 = 0 ;
34926 char *kwnames[] = {
34927 (char *) "self", NULL
34928 };
34929
34930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34932 {
34933 PyThreadState* __tstate = wxPyBeginAllowThreads();
34934 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34935
34936 wxPyEndAllowThreads(__tstate);
34937 if (PyErr_Occurred()) SWIG_fail;
34938 }
34939 resultobj = PyInt_FromLong((long)result);
34940 return resultobj;
34941 fail:
34942 return NULL;
34943}
34944
34945
34946static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34947 PyObject *resultobj;
34948 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34949 int result;
34950 PyObject * obj0 = 0 ;
34951 char *kwnames[] = {
34952 (char *) "self", NULL
34953 };
34954
34955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34957 {
34958 PyThreadState* __tstate = wxPyBeginAllowThreads();
34959 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34960
34961 wxPyEndAllowThreads(__tstate);
34962 if (PyErr_Occurred()) SWIG_fail;
34963 }
34964 resultobj = PyInt_FromLong((long)result);
34965 return resultobj;
34966 fail:
34967 return NULL;
34968}
34969
34970
34971static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34972 PyObject *resultobj;
34973 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34974 int result;
34975 PyObject * obj0 = 0 ;
34976 char *kwnames[] = {
34977 (char *) "self", NULL
34978 };
34979
34980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34982 {
34983 PyThreadState* __tstate = wxPyBeginAllowThreads();
34984 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34985
34986 wxPyEndAllowThreads(__tstate);
34987 if (PyErr_Occurred()) SWIG_fail;
34988 }
34989 resultobj = PyInt_FromLong((long)result);
34990 return resultobj;
34991 fail:
34992 return NULL;
34993}
34994
34995
34996static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34997 PyObject *resultobj;
34998 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34999 bool result;
35000 PyObject * obj0 = 0 ;
35001 char *kwnames[] = {
35002 (char *) "self", NULL
35003 };
35004
35005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
35006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35007 {
35008 PyThreadState* __tstate = wxPyBeginAllowThreads();
35009 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
35010
35011 wxPyEndAllowThreads(__tstate);
35012 if (PyErr_Occurred()) SWIG_fail;
35013 }
35014 resultobj = PyInt_FromLong((long)result);
35015 return resultobj;
35016 fail:
35017 return NULL;
35018}
35019
35020
35021static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
35022 PyObject *resultobj;
35023 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35024 bool arg2 ;
35025 PyObject * obj0 = 0 ;
35026 PyObject * obj1 = 0 ;
35027 char *kwnames[] = {
35028 (char *) "self",(char *) "d", NULL
35029 };
35030
35031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
35032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35033 arg2 = PyInt_AsLong(obj1) ? true : false;
35034 if (PyErr_Occurred()) SWIG_fail;
35035 {
35036 PyThreadState* __tstate = wxPyBeginAllowThreads();
35037 (arg1)->SetDone(arg2);
35038
35039 wxPyEndAllowThreads(__tstate);
35040 if (PyErr_Occurred()) SWIG_fail;
35041 }
35042 Py_INCREF(Py_None); resultobj = Py_None;
35043 return resultobj;
35044 fail:
35045 return NULL;
35046}
35047
35048
35049static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35050 PyObject *resultobj;
35051 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35052 int result;
35053 PyObject * obj0 = 0 ;
35054 char *kwnames[] = {
35055 (char *) "self", NULL
35056 };
35057
35058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
35059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35060 {
35061 PyThreadState* __tstate = wxPyBeginAllowThreads();
35062 result = (int)(arg1)->GetRelationship();
35063
35064 wxPyEndAllowThreads(__tstate);
35065 if (PyErr_Occurred()) SWIG_fail;
35066 }
35067 resultobj = PyInt_FromLong((long)result);
35068 return resultobj;
35069 fail:
35070 return NULL;
35071}
35072
35073
35074static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
35075 PyObject *resultobj;
35076 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35077 int arg2 ;
35078 PyObject * obj0 = 0 ;
35079 char *kwnames[] = {
35080 (char *) "self",(char *) "r", NULL
35081 };
35082
35083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
35084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35085 {
35086 PyThreadState* __tstate = wxPyBeginAllowThreads();
35087 (arg1)->SetRelationship((wxRelationship )arg2);
35088
35089 wxPyEndAllowThreads(__tstate);
35090 if (PyErr_Occurred()) SWIG_fail;
35091 }
35092 Py_INCREF(Py_None); resultobj = Py_None;
35093 return resultobj;
35094 fail:
35095 return NULL;
35096}
35097
35098
35099static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
35100 PyObject *resultobj;
35101 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35102 wxWindow *arg2 = (wxWindow *) 0 ;
35103 bool result;
35104 PyObject * obj0 = 0 ;
35105 PyObject * obj1 = 0 ;
35106 char *kwnames[] = {
35107 (char *) "self",(char *) "otherW", NULL
35108 };
35109
35110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) 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_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35113 {
35114 PyThreadState* __tstate = wxPyBeginAllowThreads();
35115 result = (bool)(arg1)->ResetIfWin(arg2);
35116
35117 wxPyEndAllowThreads(__tstate);
35118 if (PyErr_Occurred()) SWIG_fail;
35119 }
35120 resultobj = PyInt_FromLong((long)result);
35121 return resultobj;
35122 fail:
35123 return NULL;
35124}
35125
35126
35127static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
35128 PyObject *resultobj;
35129 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35130 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
35131 wxWindow *arg3 = (wxWindow *) 0 ;
35132 bool result;
35133 PyObject * obj0 = 0 ;
35134 PyObject * obj1 = 0 ;
35135 PyObject * obj2 = 0 ;
35136 char *kwnames[] = {
35137 (char *) "self",(char *) "constraints",(char *) "win", NULL
35138 };
35139
35140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
35141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35143 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35144 {
35145 PyThreadState* __tstate = wxPyBeginAllowThreads();
35146 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
35147
35148 wxPyEndAllowThreads(__tstate);
35149 if (PyErr_Occurred()) SWIG_fail;
35150 }
35151 resultobj = PyInt_FromLong((long)result);
35152 return resultobj;
35153 fail:
35154 return NULL;
35155}
35156
35157
35158static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35159 PyObject *resultobj;
35160 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35161 int arg2 ;
35162 wxWindow *arg3 = (wxWindow *) 0 ;
35163 wxWindow *arg4 = (wxWindow *) 0 ;
35164 int result;
35165 PyObject * obj0 = 0 ;
35166 PyObject * obj2 = 0 ;
35167 PyObject * obj3 = 0 ;
35168 char *kwnames[] = {
35169 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35170 };
35171
35172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
35173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35174 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35175 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35176 {
35177 PyThreadState* __tstate = wxPyBeginAllowThreads();
35178 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
35179
35180 wxPyEndAllowThreads(__tstate);
35181 if (PyErr_Occurred()) SWIG_fail;
35182 }
35183 resultobj = PyInt_FromLong((long)result);
35184 return resultobj;
35185 fail:
35186 return NULL;
35187}
35188
35189
35190static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
35191 PyObject *obj;
35192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35193 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
35194 Py_INCREF(obj);
35195 return Py_BuildValue((char *)"");
35196}
35197static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35198 PyObject *resultobj;
35199 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35200 wxIndividualLayoutConstraint *result;
35201 PyObject * obj0 = 0 ;
35202 char *kwnames[] = {
35203 (char *) "self", NULL
35204 };
35205
35206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
35207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35208 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
35209
35210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35211 return resultobj;
35212 fail:
35213 return NULL;
35214}
35215
35216
35217static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35218 PyObject *resultobj;
35219 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35220 wxIndividualLayoutConstraint *result;
35221 PyObject * obj0 = 0 ;
35222 char *kwnames[] = {
35223 (char *) "self", NULL
35224 };
35225
35226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
35227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35228 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
35229
35230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35231 return resultobj;
35232 fail:
35233 return NULL;
35234}
35235
35236
35237static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35238 PyObject *resultobj;
35239 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35240 wxIndividualLayoutConstraint *result;
35241 PyObject * obj0 = 0 ;
35242 char *kwnames[] = {
35243 (char *) "self", NULL
35244 };
35245
35246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
35247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35248 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
35249
35250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35251 return resultobj;
35252 fail:
35253 return NULL;
35254}
35255
35256
35257static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35258 PyObject *resultobj;
35259 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35260 wxIndividualLayoutConstraint *result;
35261 PyObject * obj0 = 0 ;
35262 char *kwnames[] = {
35263 (char *) "self", NULL
35264 };
35265
35266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
35267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35268 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
35269
35270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35271 return resultobj;
35272 fail:
35273 return NULL;
35274}
35275
35276
35277static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35278 PyObject *resultobj;
35279 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35280 wxIndividualLayoutConstraint *result;
35281 PyObject * obj0 = 0 ;
35282 char *kwnames[] = {
35283 (char *) "self", NULL
35284 };
35285
35286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
35287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35288 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
35289
35290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35291 return resultobj;
35292 fail:
35293 return NULL;
35294}
35295
35296
35297static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35298 PyObject *resultobj;
35299 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35300 wxIndividualLayoutConstraint *result;
35301 PyObject * obj0 = 0 ;
35302 char *kwnames[] = {
35303 (char *) "self", NULL
35304 };
35305
35306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
35307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35308 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
35309
35310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35311 return resultobj;
35312 fail:
35313 return NULL;
35314}
35315
35316
35317static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35318 PyObject *resultobj;
35319 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35320 wxIndividualLayoutConstraint *result;
35321 PyObject * obj0 = 0 ;
35322 char *kwnames[] = {
35323 (char *) "self", NULL
35324 };
35325
35326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
35327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35328 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
35329
35330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35331 return resultobj;
35332 fail:
35333 return NULL;
35334}
35335
35336
35337static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35338 PyObject *resultobj;
35339 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35340 wxIndividualLayoutConstraint *result;
35341 PyObject * obj0 = 0 ;
35342 char *kwnames[] = {
35343 (char *) "self", NULL
35344 };
35345
35346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
35347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35348 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
35349
35350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35351 return resultobj;
35352 fail:
35353 return NULL;
35354}
35355
35356
35357static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35358 PyObject *resultobj;
35359 wxLayoutConstraints *result;
35360 char *kwnames[] = {
35361 NULL
35362 };
35363
35364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
35365 {
35366 PyThreadState* __tstate = wxPyBeginAllowThreads();
35367 result = (wxLayoutConstraints *)new wxLayoutConstraints();
35368
35369 wxPyEndAllowThreads(__tstate);
35370 if (PyErr_Occurred()) SWIG_fail;
35371 }
35372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
35373 return resultobj;
35374 fail:
35375 return NULL;
35376}
35377
35378
35379static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35380 PyObject *resultobj;
35381 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35382 wxWindow *arg2 = (wxWindow *) 0 ;
35383 int *arg3 = (int *) 0 ;
35384 bool result;
35385 int temp3 ;
35386 PyObject * obj0 = 0 ;
35387 PyObject * obj1 = 0 ;
35388 char *kwnames[] = {
35389 (char *) "self",(char *) "win", NULL
35390 };
35391
35392 arg3 = &temp3;
35393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
35394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35396 {
35397 PyThreadState* __tstate = wxPyBeginAllowThreads();
35398 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
35399
35400 wxPyEndAllowThreads(__tstate);
35401 if (PyErr_Occurred()) SWIG_fail;
35402 }
35403 resultobj = PyInt_FromLong((long)result);
35404 {
35405 PyObject *o = PyInt_FromLong((long) (*arg3));
35406 resultobj = t_output_helper(resultobj,o);
35407 }
35408 return resultobj;
35409 fail:
35410 return NULL;
35411}
35412
35413
35414static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
35415 PyObject *resultobj;
35416 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35417 bool result;
35418 PyObject * obj0 = 0 ;
35419 char *kwnames[] = {
35420 (char *) "self", NULL
35421 };
35422
35423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
35424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35425 {
35426 PyThreadState* __tstate = wxPyBeginAllowThreads();
35427 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
35428
35429 wxPyEndAllowThreads(__tstate);
35430 if (PyErr_Occurred()) SWIG_fail;
35431 }
35432 resultobj = PyInt_FromLong((long)result);
35433 return resultobj;
35434 fail:
35435 return NULL;
35436}
35437
35438
35439static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
35440 PyObject *obj;
35441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35442 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
35443 Py_INCREF(obj);
35444 return Py_BuildValue((char *)"");
35445}
35446static PyMethodDef SwigMethods[] = {
35447 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
35448 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
35449 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
35450 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
35451 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
35452 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
35453 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
35455 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
35457 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
35460 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35462 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35463 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35464 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35466 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35467 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
423f194a 35468 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35469 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35470 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35472 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35473 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35474 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35475 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35476 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35477 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
35478 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35479 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 35480 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35481 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35482 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35483 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35485 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35487 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35489 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35490 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35491 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35492 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35493 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35494 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35496 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35497 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35498 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35500 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35502 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35503 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35505 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35506 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35507 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35513 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35515 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35519 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35522 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35526 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35528 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35529 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35530 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35533 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35540 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35541 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35542 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35543 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35544 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35545 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35550 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35555 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35556 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35560 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35566 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 35571 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
35572 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35573 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35574 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35577 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35584 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35591 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35593 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35595 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35601 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35602 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35606 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35608 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35614 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35616 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35625 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35626 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35630 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35636 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35640 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35646 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35656 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35660 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35664 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35693 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35709 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35719 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35723 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35730 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35733 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35735 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35737 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35739 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35741 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35743 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35745 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35747 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35749 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35751 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35753 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35755 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35767 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35785 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35788 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35791 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35802 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35803 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35808 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35814 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35820 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35882 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35889 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35924 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35934 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35944 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35946 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35948 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35951 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35955 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35958 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35961 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35963 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35968 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35976 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35980 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35983 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35985 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35989 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
36006 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
36008 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
36009 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
36011 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
36013 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
36017 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
36019 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
36021 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
36029 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
36032 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
36035 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
36039 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
36046 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
36051 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
36056 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36059 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
36070 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"PyApp_OnIdle", (PyCFunction) _wrap_PyApp_OnIdle, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
36098 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
36100 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
36101 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
36102 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
36129 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
36130 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
36136 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
36139 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36140 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
36148 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
36149 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
36150 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
36151 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
36154 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36163 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
36166 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
36167 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
36171 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36173 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36177 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
36179 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36180 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36181 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
36182 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36183 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36184 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
36185 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
36186 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
36187 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
36188 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
36189 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
36190 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36191 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36192 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
36193 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
36194 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
36195 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
36196 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
36197 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
36198 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
36199 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
36200 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36201 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36202 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36203 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36204 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
36205 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
36206 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
36207 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
36208 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
36209 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36210 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36211 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
36212 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
36213 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
36214 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
36215 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
36216 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
36217 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
36218 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
36219 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
36220 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
36221 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
36222 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
36223 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
36224 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
36225 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
36226 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
36227 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
36228 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
36229 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
36230 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
36231 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
36232 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
36233 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
36234 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
36235 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
36236 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36237 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36238 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36239 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36240 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
36241 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
36242 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
36243 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
36244 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
36245 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
36246 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
36247 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
36248 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
36249 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
36250 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
36251 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
36252 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
36253 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
36254 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
36255 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
36256 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
36257 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
36258 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
36259 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
36260 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
36261 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
36262 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS },
36263 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
36264 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
36265 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
36266 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
36267 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
36268 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
36269 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
36270 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
36271 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
36272 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
36273 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
36274 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
36275 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
36276 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
36277 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
36278 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
36279 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
36280 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
36281 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
36282 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
36283 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
36284 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
36285 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
36286 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
36287 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36288 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36289 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
36290 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
36291 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
36292 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
36293 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36294 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36295 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
36296 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36297 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36298 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
36299 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
36300 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
36301 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
36302 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
36303 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
36304 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
36305 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
36306 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
36307 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
36308 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
36309 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
36310 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
36311 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36312 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
36313 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
36314 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
36315 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
36316 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
36317 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
36318 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
36319 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
36320 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
36321 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
36322 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
36323 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
36324 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
36325 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
36326 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
36327 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
36328 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
36329 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
36330 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
36331 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
36332 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
36333 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
36334 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
36335 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
36336 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
36337 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
36338 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
36339 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
36340 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
36341 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
36342 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
36343 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
36344 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
36345 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
36346 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36347 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
36348 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
36349 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
36350 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
36351 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36352 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36353 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
36354 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
36355 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36356 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36357 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36358 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36359 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
36360 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
36361 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
36362 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
36363 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
36364 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
36365 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
36366 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
36367 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
36368 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
36369 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
36370 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
36371 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
36372 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
36373 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
36374 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
36375 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
36376 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
36377 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
36378 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
36379 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
36380 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
36381 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
36382 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
36383 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
36384 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
36385 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36386 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
36387 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
36388 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36389 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36390 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
36391 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
36392 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
36393 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
36394 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
36395 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
36396 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
36397 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
36398 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
36399 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
36400 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
36401 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
36402 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
36403 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
36404 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
36405 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
36406 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
36407 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
36408 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
36409 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
36410 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
36411 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
36412 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36413 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
36414 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
36415 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
36416 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
36417 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
36418 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
36419 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
36420 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
36421 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
36422 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
36423 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
36424 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36425 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36426 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
36427 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
36428 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
36429 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
36430 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
36431 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
36432 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36433 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36434 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
36435 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
36436 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
36437 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
36438 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
36439 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
36440 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
36441 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
36442 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
36443 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
36444 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
36445 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
36446 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
36447 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
36448 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
36449 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
36450 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
36451 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
36452 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
36453 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
36454 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
36455 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
36456 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
36457 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
36458 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
36459 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
36460 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
36461 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
36462 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
36463 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
36464 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36465 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36466 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36467 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36468 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
36469 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
36470 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
36471 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
36472 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36473 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
36474 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
36475 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
36476 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36477 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36478 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36479 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36480 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36481 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36482 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36483 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36484 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36485 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36486 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36487 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36488 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36489 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36490 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36491 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36492 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36493 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36494 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36495 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36496 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36497 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36498 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36499 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36500 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36501 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36502 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36503 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36504 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36505 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36506 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36507 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36508 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36509 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36510 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36511 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36512 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36513 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36514 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36515 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36516 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36517 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36518 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36519 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36520 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36521 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36522 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36523 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36524 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36525 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36526 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36527 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36528 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36529 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36530 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36531 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36532 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36533 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36534 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36535 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36536 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36537 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36538 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36539 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36540 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36541 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36542 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36543 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36544 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36545 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36546 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36547 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36548 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36549 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36550 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36551 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36552 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36553 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36554 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36555 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36556 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36557 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36558 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36559 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36560 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36561 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36562 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36563 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36564 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36565 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36566 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36567 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36568 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36569 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36570 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36571 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36572 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36573 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36574 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36575 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36576 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36577 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36578 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36579 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36580 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36581 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36582 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36583 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
36584 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36585 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36586 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36587 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36588 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36589 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36590 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36591 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36592 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36593 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36594 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36595 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36596 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36597 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36598 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36599 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36600 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36601 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36602 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36603 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36604 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36605 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36606 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36607 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36608 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36609 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36610 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
423f194a 36611 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
36612 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36613 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36614 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36615 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36616 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36617 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36618 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36619 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36620 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36621 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36622 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36623 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36624 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36625 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36626 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36627 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36628 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36629 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36630 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36631 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36632 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36633 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36634 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36635 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36636 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36637 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36638 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36639 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36640 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36641 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36642 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36643 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36644 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36645 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36646 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36647 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36648 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36649 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36650 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36651 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36652 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36653 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36654 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36655 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36656 { NULL, NULL }
36657};
36658
36659
36660/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36661
36662static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36663 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36664}
36665static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36666 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36667}
36668static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36669 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36670}
36671static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36672 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36673}
36674static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36675 return (void *)((wxSizer *) ((wxGridSizer *) x));
36676}
36677static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36678 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36679}
36680static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36681 return (void *)((wxSizer *) ((wxPySizer *) x));
36682}
36683static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36684 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36685}
36686static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36687 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36688}
36689static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36690 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36691}
36692static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36693 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36694}
36695static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36696 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36697}
36698static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36699 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36700}
36701static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36702 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36703}
36704static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36705 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36706}
36707static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36708 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36709}
36710static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36711 return (void *)((wxEvent *) ((wxPyEvent *) x));
36712}
36713static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36714 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36715}
36716static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36717 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36718}
36719static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36720 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36721}
36722static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36723 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36724}
36725static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36726 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36727}
36728static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36729 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36730}
36731static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36732 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36733}
36734static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36735 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36736}
36737static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36738 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36739}
36740static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36741 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36742}
36743static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36744 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36745}
36746static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36748}
36749static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36750 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36751}
36752static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36753 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36754}
36755static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36756 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36757}
36758static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36759 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36760}
36761static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36762 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36763}
36764static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36765 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36766}
36767static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36769}
36770static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36771 return (void *)((wxEvent *) ((wxShowEvent *) x));
36772}
36773static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36774 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36775}
36776static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36778}
36779static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36781}
36782static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36783 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36784}
36785static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36786 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36787}
36788static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36789 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36790}
36791static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36792 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36793}
36794static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36795 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36796}
36797static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36798 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36799}
36800static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36801 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36802}
36803static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36804 return (void *)((wxControl *) ((wxControlWithItems *) x));
36805}
36806static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36807 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36808}
36809static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36810 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36811}
36812static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36813 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36814}
36815static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36816 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36817}
36818static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36819 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36820}
36821static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36822 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36823}
36824static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36825 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36826}
36827static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36828 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36829}
36830static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36831 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36832}
36833static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36834 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36835}
36836static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36837 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36838}
36839static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36840 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36841}
36842static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36843 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36844}
36845static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36846 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36847}
36848static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36849 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36850}
36851static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36852 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36853}
36854static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36855 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36856}
36857static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36858 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36859}
36860static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36861 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36862}
36863static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36864 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36865}
36866static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36867 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36868}
36869static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36870 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36871}
36872static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36873 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36874}
36875static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36876 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36877}
36878static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36879 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36880}
36881static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36882 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36883}
36884static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36885 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36886}
36887static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36888 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36889}
36890static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36891 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36892}
36893static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36894 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36895}
36896static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36897 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36898}
36899static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36901}
36902static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36903 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36904}
36905static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36906 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36907}
36908static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36909 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36910}
36911static void *_p_wxValidatorTo_p_wxObject(void *x) {
36912 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36913}
36914static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36915 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36916}
36917static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36919}
36920static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36921 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36922}
36923static void *_p_wxSizerTo_p_wxObject(void *x) {
36924 return (void *)((wxObject *) ((wxSizer *) x));
36925}
36926static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36927 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36928}
36929static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36930 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36931}
36932static void *_p_wxMenuTo_p_wxObject(void *x) {
36933 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36934}
36935static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36936 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36937}
36938static void *_p_wxImageTo_p_wxObject(void *x) {
36939 return (void *)((wxObject *) ((wxImage *) x));
36940}
36941static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36942 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36943}
36944static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36946}
36947static void *_p_wxPyEventTo_p_wxObject(void *x) {
36948 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36949}
36950static void *_p_wxWindowTo_p_wxObject(void *x) {
36951 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36952}
36953static void *_p_wxControlTo_p_wxObject(void *x) {
36954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36955}
36956static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36957 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36958}
36959static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36960 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36961}
36962static void *_p_wxPyAppTo_p_wxObject(void *x) {
36963 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36964}
36965static void *_p_wxEventTo_p_wxObject(void *x) {
36966 return (void *)((wxObject *) ((wxEvent *) x));
36967}
36968static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36969 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36970}
36971static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36972 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36973}
36974static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36975 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36976}
36977static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36978 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36979}
36980static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36981 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36982}
36983static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36984 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36985}
36986static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36988}
36989static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36990 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36991}
36992static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36994}
36995static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36996 return (void *)((wxObject *) ((wxEvtHandler *) x));
36997}
36998static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36999 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37000}
37001static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37002 return (void *)((wxObject *) ((wxImageHandler *) x));
37003}
37004static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37005 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37006}
37007static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37008 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37009}
37010static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37011 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37012}
37013static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37014 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37015}
37016static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37017 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37018}
37019static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37020 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37021}
37022static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37023 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37024}
37025static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37026 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37027}
37028static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37029 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37030}
37031static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37032 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37033}
37034static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37035 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37036}
37037static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37038 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37039}
37040static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37042}
37043static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37044 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37045}
37046static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37047 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37048}
37049static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37050 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37051}
37052static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37053 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37054}
37055static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37056 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37057}
37058static void *_p_wxFileSystemTo_p_wxObject(void *x) {
37059 return (void *)((wxObject *) ((wxFileSystem *) x));
37060}
37061static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
37062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
37063}
37064static void *_p_wxFocusEventTo_p_wxObject(void *x) {
37065 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
37066}
37067static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
37068 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
37069}
37070static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37071 return (void *)((wxObject *) ((wxSizerItem *) x));
37072}
37073static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37074 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37075}
37076static void *_p_wxShowEventTo_p_wxObject(void *x) {
37077 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37078}
37079static void *_p_wxFSFileTo_p_wxObject(void *x) {
37080 return (void *)((wxObject *) ((wxFSFile *) x));
37081}
37082static void *_p_wxCommandEventTo_p_wxObject(void *x) {
37083 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
37084}
37085static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
37086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
37087}
37088static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37089 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37090}
37091static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37092 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37093}
37094static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37095 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37096}
37097static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37098 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37099}
37100static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37101 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37102}
37103static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37104 return (void *)((wxObject *) ((wxMenuItem *) x));
37105}
37106static void *_p_wxPySizerTo_p_wxObject(void *x) {
37107 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37108}
37109static void *_p_wxControlTo_p_wxWindow(void *x) {
37110 return (void *)((wxWindow *) ((wxControl *) x));
37111}
37112static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
37113 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
37114}
37115static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37116 return (void *)((wxWindow *) ((wxMenuBar *) x));
37117}
37118static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
37119 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
37120}
37121static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
37122 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
37123}
37124static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
37125 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
37126}
37127static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37128 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37129}
37130static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
37131 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37132}
37133static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
37134 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
37135}
37136static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37137 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37138}
37139static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
37140 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
37141}
37142static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37143 return (void *)((wxValidator *) ((wxPyValidator *) x));
37144}
37145static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37146static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37147static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
37148static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37149static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37150static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37151static 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}};
37152static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
37153static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37154static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37155static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37156static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37157static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37158static 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}};
37159static 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}};
37160static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
37161static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37162static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
37163static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37164static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37165static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37166static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37167static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37168static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37169static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
37170static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37171static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37172static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37173static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37174static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37175static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37176static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37177static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37178static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37179static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37180static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37181static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37182static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37183static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37184static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37185static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37186static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37187static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37188static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37189static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37190static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37191static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37192static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37193static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37194static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37195static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37196static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37197static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37198static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37199static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37200static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37201static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37202static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37203static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37204static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37205static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37206static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37207static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37208static 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}};
37209static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
37210static 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}};
37211static 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}};
37212static 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}};
37213static 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}};
37214static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37215static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37216static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37217static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37218static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37219static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37220static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37221static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37222static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37223static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37224static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37225static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37226static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37227static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37228static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37229static 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}};
37230static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37231static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37232static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37233static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37234static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37235static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37236static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37237static 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}};
37238static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37239static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37240static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37241static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37242static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37243static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37244static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37245static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37246static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37247static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37248static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37249static 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}};
37250static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37251static swig_type_info _swigt__p_wxDropTarget[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
37252static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37253static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37254static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37255static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37256static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37257static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
37258static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37259
37260static swig_type_info *swig_types_initial[] = {
37261_swigt__p_wxLayoutConstraints,
37262_swigt__p_wxRealPoint,
37263_swigt__p_wxSizerItem,
37264_swigt__p_wxGBSizerItem,
37265_swigt__p_wxScrollEvent,
37266_swigt__p_wxIndividualLayoutConstraint,
37267_swigt__p_wxSizer,
37268_swigt__p_wxBoxSizer,
37269_swigt__p_wxStaticBoxSizer,
37270_swigt__p_wxGridBagSizer,
37271_swigt__p_wxAcceleratorEntry,
37272_swigt__p_wxUpdateUIEvent,
37273_swigt__p_wxMenu,
37274_swigt__p_wxEvent,
37275_swigt__p_wxGridSizer,
37276_swigt__p_wxFlexGridSizer,
37277_swigt__p_wxInitDialogEvent,
37278_swigt__p_wxItemContainer,
37279_swigt__p_wxNcPaintEvent,
37280_swigt__p_wxPaintEvent,
37281_swigt__p_wxSysColourChangedEvent,
37282_swigt__p_wxMouseCaptureChangedEvent,
37283_swigt__p_wxDisplayChangedEvent,
37284_swigt__p_wxPaletteChangedEvent,
37285_swigt__p_wxControl,
37286_swigt__p_wxFont,
37287_swigt__p_wxMenuBarBase,
37288_swigt__p_wxSetCursorEvent,
37289_swigt__p_wxFSFile,
37290_swigt__p_wxCaret,
37291_swigt__p_wxRegion,
37292_swigt__p_wxPoint2D,
37293_swigt__p_int,
37294_swigt__p_wxSize,
37295_swigt__p_wxDC,
37296_swigt__p_wxPySizer,
37297_swigt__p_wxNotifyEvent,
37298_swigt__p_wxPyEvent,
37299_swigt__p_wxPropagationDisabler,
37300_swigt__p_wxAppTraits,
37301_swigt__p_wxArrayString,
37302_swigt__p_wxShowEvent,
37303_swigt__p_wxToolTip,
37304_swigt__p_wxMaximizeEvent,
37305_swigt__p_wxIconizeEvent,
37306_swigt__p_wxActivateEvent,
37307_swigt__p_wxMoveEvent,
37308_swigt__p_wxSizeEvent,
37309_swigt__p_wxQueryNewPaletteEvent,
37310_swigt__p_wxWindowCreateEvent,
37311_swigt__p_wxIdleEvent,
37312_swigt__p_wxMenuItem,
37313_swigt__p_wxStaticBox,
37314_swigt__p_long,
37315_swigt__p_wxTIFFHandler,
37316_swigt__p_wxXPMHandler,
37317_swigt__p_wxPNMHandler,
37318_swigt__p_wxJPEGHandler,
37319_swigt__p_wxPCXHandler,
37320_swigt__p_wxGIFHandler,
37321_swigt__p_wxPNGHandler,
37322_swigt__p_wxANIHandler,
37323_swigt__p_wxMemoryFSHandler,
37324_swigt__p_wxEvtHandler,
37325_swigt__p_wxCURHandler,
37326_swigt__p_wxICOHandler,
37327_swigt__p_wxBMPHandler,
37328_swigt__p_wxImageHandler,
37329_swigt__p_wxFileSystemHandler,
37330_swigt__p_wxPyFileSystemHandler,
37331_swigt__p_wxInternetFSHandler,
37332_swigt__p_wxZipFSHandler,
37333_swigt__p_wxRect,
37334_swigt__p_wxGBSpan,
37335_swigt__p_wxPropagateOnce,
37336_swigt__p_wxAcceleratorTable,
37337_swigt__p_wxGBPosition,
37338_swigt__p_wxImage,
37339_swigt__p_wxFrame,
37340_swigt__p_wxScrollWinEvent,
37341_swigt__p_wxImageHistogram,
37342_swigt__p_byte,
37343_swigt__p_wxPoint,
37344_swigt__p_wxCursor,
37345_swigt__p_wxObject,
37346_swigt__p_wxPyInputStream,
37347_swigt__p_wxOutputStream,
37348_swigt__p_wxInputStream,
37349_swigt__p_wxDateTime,
37350_swigt__p_wxKeyEvent,
37351_swigt__p_wxNavigationKeyEvent,
37352_swigt__p_wxWindowDestroyEvent,
37353_swigt__p_wxWindow,
37354_swigt__p_wxMenuBar,
37355_swigt__p_wxString,
37356_swigt__p_wxFileSystem,
37357_swigt__p_wxBitmap,
37358_swigt__p_wxMenuEvent,
37359_swigt__p_wxContextMenuEvent,
37360_swigt__p_unsigned_char,
37361_swigt__p_wxCloseEvent,
37362_swigt__p_wxEraseEvent,
37363_swigt__p_wxMouseEvent,
37364_swigt__p_wxPyApp,
37365_swigt__p_wxCommandEvent,
37366_swigt__p_wxPyCommandEvent,
37367_swigt__p_wxDropTarget,
37368_swigt__p_wxChildFocusEvent,
37369_swigt__p_wxFocusEvent,
37370_swigt__p_wxDropFilesEvent,
37371_swigt__p_wxControlWithItems,
37372_swigt__p_wxColour,
37373_swigt__p_wxValidator,
37374_swigt__p_wxPyValidator,
373750
37376};
37377
37378
37379/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37380
37381static swig_const_info swig_const_table[] = {
37382{ SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
37383{ SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
37384{ SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
37385{ SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
37386{ SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
37387{ SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
37388{ SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
37389{ SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
37390{ SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
37391{ SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
37392{ SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
37393{ SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
37394{ SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
37395{ SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
37396{ SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
37397{ SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
37398{ SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
37399{ SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
37400{ SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
37401{ SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
37402{ SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
37403{ SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
37404{ SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
37405{ SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
37406{ SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
37407{ SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
37408{ SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
37409{ SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
37410{ SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
37411{ SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
37412{ SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
37413{ SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
37414{ SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
37415{ SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
37416{ SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
37417{ SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
37418{ SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
37419{ SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
37420{ SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
37421{ SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
37422{ SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
37423{ SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
37424{ SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
37425{ SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
37426{ SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
37427{ SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
37428{ SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
37429{ SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
37430{ SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
37431{ SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
37432{ SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
37433{ SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
37434{ SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
37435{ SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
37436{ SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
37437{ SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
37438{ SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
37439{ SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
37440{ SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
37441{ SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
37442{ SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
37443{ SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
37444{ SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
37445{ SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
37446{ SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
37447{ SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
37448{ SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
37449{ SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
37450{ SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
37451{ SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
37452{ SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
37453{ SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
37454{ SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
37455{ SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
37456{ SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
37457{ SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
37458{ SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
37459{ SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
37460{ SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
37461{ SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
37462{ SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
37463{ SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
37464{ SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
37465{ SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
37466{ SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
37467{ SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
37468{ SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
37469{ SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
37470{ SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
37471{ SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
37472{ SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
37473{ SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
37474{ SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
37475{ SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
37476{ SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37477{ SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37478{ SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37479{ SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37480{ SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37481{ SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37482{ SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37483{ SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37484{ SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37485{ SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37486{ SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37487{ SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37488{ SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37489{ SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37490{ SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37491{ SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37492{ SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37493{ SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37494{ SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37495{ SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37496{ SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37497{ SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37498{ SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37499{ SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37500{ SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37501{ SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37502{ SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37503{ SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37504{ SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37505{ SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37506{ SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37507{ SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37508{ SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37509{ SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37510{ SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37511{ SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37512{ SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37513{ SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37514{ SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37515{ SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37516{ SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37517{ SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37518{ SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37519{ SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37520{ SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37521{ SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37522{ SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37523{ SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37524{ SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37525{ SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37526{ SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37527{ SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37528{ SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37529{ SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37530{ SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37531{ SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37532{ SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37533{ SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37534{ SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37535{ SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37536{ SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37537{ SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37538{ SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37539{ SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37540{ SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37541{ SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37542{ SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37543{ SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37544{ SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37545{ SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37546{ SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37547{ SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37548{ SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37549{ SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37550{ SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37551{ SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37552{ SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37553{ SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37554{ SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37555{ SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37556{ SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37557{ SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37558{ SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37559{ SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37560{ SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37561{ SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37562{ SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37563{ SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37564{ SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37565{ SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37566{ SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37567{ SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37568{ SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37569{ SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37570{ SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37571{ SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37572{ SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37573{ SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37574{ SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37575{ SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37576{ SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37577{ SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37578{ SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37579{ SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37580{ SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37581{ SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37582{ SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37583{ SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37584{ SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37585{ SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37586{ SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37587{ SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37588{ SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37589{ SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37590{ SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37591{ SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37592{ SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37593{ SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37594{ SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37595{ SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37596{ SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37597{ SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37598{ SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37599{ SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37600{ SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37601{ SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37602{ SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37603{ SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37604{ SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37605{ SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37606{ SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37607{ SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37608{ SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37609{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37610{ SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37611{ SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37612{ SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37613{ SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37614{ SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37615{ SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37616{ SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37617{ SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37618{ SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37619{ SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37620{ SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37621{ SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37622{ SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37623{ SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37624{ SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37625{ SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37626{ SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37627{ SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37628{ SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37629{ SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37630{ SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37631{ SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37632{ SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37633{ SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37634{ SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37635{ SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37636{ SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37637{ SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37638{ SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37639{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37640{ SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37641{ SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37642{ SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37643{ SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37644{ SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37645{ SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37646{ SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37647{ SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37648{ SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37649{ SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37650{ SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37651{ SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37652{ SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37653{ SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37654{ SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37655{ SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37656{ SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37657{ SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37658{ SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37659{ SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37660{ SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37661{ SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37662{ SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37663{ SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37664{ SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37665{ SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37666{ SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37667{ SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37668{ SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37669{ SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37670{ SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37671{ SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37672{ SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37673{ SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37674{ SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37675{ SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37676{ SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37677{ SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37678{ SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37679{ SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37680{ SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37681{ SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37682{ SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37683{ SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37684{ SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37685{ SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37686{ SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37687{ SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37688{ SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37689{ SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37690{ SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37691{ SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37692{ SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37693{ SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37694{ SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37695{ SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37696{ SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37697{ SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37698{ SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37699{ SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37700{ SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37701{ SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37702{ SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37703{ SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37704{ SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37705{ SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37706{ SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37707{ SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37708{ SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37709{ SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37710{ SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37711{ SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37712{ SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37713{ SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37714{ SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37715{ SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37716{ SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37717{ SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37718{ SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37719{ SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37720{ SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37721{ SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37722{ SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37723{ SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37724{ SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37725{ SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37726{ SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37727{ SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37728{ SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37729{ SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37730{ SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37731{ SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37732{ SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37733{ SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37734{ SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37735{ SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37736{ SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37737{ SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37738{ SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37739{ SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37740{ SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37741{ SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37742{ SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37743{ SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37744{ SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37745{ SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37746{ SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37747{ SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37748{ SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37749{ SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37750{ SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37751{ SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37752{ SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37753{ SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37754{ SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37755{ SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37756{ SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37757{ SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37758{ SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37759{ SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37760{ SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37761{ SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37762{ SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37763{ SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37764{ SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37765{ SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37766{ SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37767{ SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37768{ SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37769{ SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37770{ SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37771{ SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37772{ SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37773{ SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37774{ SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37775{ SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37776{ SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37777{ SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37778{ SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37779{ SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37780{ SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37781{ SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37782{ SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37783{ SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37784{ SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37785{ SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37786{ SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37787{ SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37788{ SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37789{ SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37790{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37791{ SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37792{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37793{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37794{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37795{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37796{ SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37797{ SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37798{ SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37799{ SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37800{ SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37801{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37802{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37803{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37804{ SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37805{ SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37806{ SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37807{ SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37808{ SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37809{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37810{ SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37811{ SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37812{ SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37813{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37814{ SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37815{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37816{ SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37817{ SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37818{ SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37819{ SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37820{ SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37821{ SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37822{ SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37823{ SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37824{ SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37825{ SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37826{ SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37827{ SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37828{ SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37829{ SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37830{ SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37831{ SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37832{ SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37833{ SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37834{ SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37835{ SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37836{ SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37837{ SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37838{ SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37839{ SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37840{ SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37841{ SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37842{ SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37843{ SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37844{ SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37845{ SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37846{ SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37847{ SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37848{ SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37849{ SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37850{ SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37851{ SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37852{ SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37853{ SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37854{ SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37855{ SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37856{ SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37857{ SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37858{ SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37859{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37860{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37861{ SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37862{ SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37863{ SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37864{ SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37865{ SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37866{ SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37867{ SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37868{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37869{ SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37870{ SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37871{ SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37872{ SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37873{ SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37874{ SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37875{ SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37876{ SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37877{ SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37878{ SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37879{ SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37880{ SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37881{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37882{ SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37883{ SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37884{ SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37885{ SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37886{ SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37887{ SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37888{ SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37889{ SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37890{ SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37891{ SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37892{ SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37893{ SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37894{ SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37895{ SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37896{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37897{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37898{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37899{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37900{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37901{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37902{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37903{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37904{ SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37905{ SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37906{ SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37907{ SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37908{ SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37909{ SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37910{ SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37911{ SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37912{ SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37913{ SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37914{ SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37915{ SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37916{ SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37917{ SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37918{ SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37919{ SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37920{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37921{ SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37922{ SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37923{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37924{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37925{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37926{ SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37927{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37928{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37929{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37930{ SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37931{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37932{ SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37933{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37934{ SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37935{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37936{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37937{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37938{ SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37939{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37940{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37941{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37942{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37943{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37944{ SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37945{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37946{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37947{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37948{ SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37949{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37950{ SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37951{ SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37952{ SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37953{ SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37954{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37955{ SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37956{ SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37957{ SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37958{ SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37959{ SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37960{ SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37961{ SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37962{ SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37963{ SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37964{ SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37965{ SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37966{ SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37967{ SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37968{ SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37969{ SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37970{ SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37971{ SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37972{ SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37973{ SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37974{ SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37975{ SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37976{ SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37977{ SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37978{ SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37979{ SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37980{ SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37981{ SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37982{ SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37983{ SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37984{ SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37985{ SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37986{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37987{ SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37988{ SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37989{ SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37990{ SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37991{ SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37992{ SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37993{ SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37994{ SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37995{ SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37996{ SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37997{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37998{ SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37999{ SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
38000{ SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
38001{ SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
38002{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
38003{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
38004{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
38005{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
38006{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
38007{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
38008{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
38009{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
38010{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
38011{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
38012{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
38013{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
38014{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
38015{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
38016{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
38017{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
38018{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
38019{ SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
38020{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
38021{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
38022{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
38023{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
38024{ SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
38025{ SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
38026{ SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
38027{ SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
38028{ SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
38029{ SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
38030{ SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
38031{ SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
38032{ SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
38033{ SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
38034{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
38035{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
38036{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
38037{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
38038{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
38039{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
38040{ SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
38041{ SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
38042{ SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
38043{ SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
38044{ SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
38045{ SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
38046{ SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
38047{ SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
38048{ SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
38049{ SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
38050{ SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
38051{ SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
38052{ SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
38053{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
38054{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
38055{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
38056{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
38057{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
38058{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
38059{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
38060{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
38061{ SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
38062{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
38063{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
38064{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
38065{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
38066{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
38067{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
38068{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
38069{ SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
38070{ SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
38071{ SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
38072{ SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
38073{ SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
38074{ SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
38075{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
38076{ SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
38077{ SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
38078{ SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
38079{ SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
38080{ SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
38081{ SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
38082{ SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
38083{ SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
38084{ SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
38085{ SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
38086{ SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
38087{ SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
38088{ SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
38089{ SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
38090{ SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
38091{ SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
38092{ SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
38093{ SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
38094{ SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
38095{ SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
38096{ SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
38097{ SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
38098{ SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
38099{ SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
38100{ SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
38101{ SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
38102{ SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
38103{ SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
38104{ SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
38105{ SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
38106{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
38107{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
38108{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
38109{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
38110{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
38111{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
38112{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
38113{ SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
38114{ SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
38115{ SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
38116{ SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
38117{ SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
38118{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
38119{ SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
38120{ SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
38121{ SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
38122{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
38123{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
38124{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
38125{ SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
38126{ SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
38127{ SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
38128{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
38129{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
38130{ SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
38131{ SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
38132{ SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
38133{ SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
38134{ SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
38135{ SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
38136{ SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
38137{ SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
38138{ SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
38139{ SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
38140{ SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
38141{ SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
38142{ SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
38143{ SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
38144{ SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
38145{ SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
38146{ SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
38147{ SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
38148{ SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
38149{ SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
38150{0}};
38151
38152#ifdef __cplusplus
38153}
38154#endif
38155
38156#ifdef __cplusplus
38157extern "C"
38158#endif
38159SWIGEXPORT(void) SWIG_init(void) {
38160 static PyObject *SWIG_globals = 0;
38161 static int typeinit = 0;
38162 PyObject *m, *d;
38163 int i;
38164 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
38165 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38166 d = PyModule_GetDict(m);
38167
38168 if (!typeinit) {
38169 for (i = 0; swig_types_initial[i]; i++) {
38170 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
38171 }
38172 typeinit = 1;
38173 }
38174 SWIG_InstallConstants(d,swig_const_table);
38175
38176
38177#ifndef wxPyUSE_EXPORT
38178 // Make our API structure a CObject so other modules can import it
38179 // from this module.
38180 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
38181 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
38182 Py_XDECREF(cobj);
38183#endif
38184
38185 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
38186 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
38187 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
38188
38189 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38190
38191
38192 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38193
38194 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
38195 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
38196 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
38197 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
38198 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
38199 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
38200 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
38201 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
38202 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
38203 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
38204 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
38205 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
38206 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
38207 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
38208 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
38209 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
38210 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
38211 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
38212 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
38213 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
38214 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
38215 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
38216 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
38217 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
38218 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
38219 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
38220 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
38221 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
38222 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
38223 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
38224 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
38225 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
38226 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
38227 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
38228 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
38229 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
38230 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
38231 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
38232 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
38233 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
38234 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
38235 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
38236 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
38237 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
38238 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
38239 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
38240 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
38241 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
38242 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
38243 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
38244 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
38245 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
38246 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
38247 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
38248 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
38249 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
38250 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
38251 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
38252 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
38253 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
38254 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
38255 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
38256 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
38257 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
38258 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
38259 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
38260 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
38261 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
38262 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
38263 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
38264 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
38265 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
38266 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
38267 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
38268 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
38269 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
38270 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
38271 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
38272 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
38273 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
38274 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
38275 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
38276 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
38277 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
38278 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
38279 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
38280 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
38281 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
38282 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
38283 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
38284 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
38285 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
38286 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
38287 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
38288 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
38289 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
38290 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
38291 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
38292 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
38293 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
38294 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
38295 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
38296 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
38297 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
38298 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
38299 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
38300 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
38301 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
38302 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
38303 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
38304 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
38305 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
38306 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
38307 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
38308 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
38309 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
38310 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
38311 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
38312 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
38313 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
423f194a 38314 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
d14a1e28
RD
38315 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
38316 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
38317
38318 // Initialize threading, some globals and such
38319 __wxPyPreStart(d);
38320
38321
38322 // Although these are defined in __version__ they need to be here too so
38323 // that an assert can be done to ensure that the wxPython and the wxWindows
38324 // versions match.
38325 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
38326 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
38327 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
38328
38329}
38330