]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/core_wrap.cpp
e8691b4d69a526b7c62142743c89f325c5ae2df4
[wxWidgets.git] / wxPython / src / mac / core_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
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
138 extern "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 */
156 typedef 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
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
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_wxPyDropTarget 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]
332 static 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>
354 WX_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.
360 extern PyObject* wxPyPtrTypeMap;
361 static
362 swig_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
399 bool 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.
408 PyObject* 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
422 // error should be handled properly in the caller. Returns True on success.
423 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
424 const wxChar* className) {
425
426 swig_type_info* swigType = wxPyFindSwigType(className);
427 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
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
434 PyObject* 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.
463 static 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);
547 // DECLARE_DEF_STRING(PanelNameStr);
548
549
550 #if ! wxUSE_HOTKEY
551 enum 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
562 wxString wxObject_GetClassName(wxObject *self){
563 return self->GetClassInfo()->GetClassName();
564 }
565 void wxObject_Destroy(wxObject *self){
566 delete self;
567 }
568
569 #ifndef __WXMAC__
570 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
571 #endif
572
573 PyObject *wxSize_Get(wxSize *self){
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 }
581 void wxRealPoint_Set(wxRealPoint *self,double x,double y){
582 self->x = x;
583 self->y = y;
584 }
585 PyObject *wxRealPoint_Get(wxRealPoint *self){
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 }
593 void wxPoint_Set(wxPoint *self,long x,long y){
594 self->x = x;
595 self->y = y;
596 }
597 PyObject *wxPoint_Get(wxPoint *self){
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 }
605 void 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 }
611 PyObject *wxRect_Get(wxRect *self){
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);
634 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
635 wxPyEndBlockThreads();
636 return obj;
637 }
638 Py_INCREF(Py_None);
639 return Py_None;
640 }
641
642
643 static 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
669 void wxPoint2D_Set(wxPoint2D *self,double x,double y){
670 self->m_x = x;
671 self->m_y = y;
672 }
673 PyObject *wxPoint2D_Get(wxPoint2D *self){
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
684 wxPyInputStream *new_wxPyInputStream(PyObject *p){
685 wxInputStream* wxis = wxPyCBInputStream::create(p);
686 if (wxis)
687 return new wxPyInputStream(wxis);
688 else
689 return NULL;
690 }
691 void 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
706 class wxPyFileSystemHandler : public wxFileSystemHandler
707 {
708 public:
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
740 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
741 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
742 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
743 IMP_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
775 wxImage *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 }
781 wxImage *new_wxImage(wxBitmap const &bitmap){
782 return new wxImage(bitmap.ConvertToImage());
783 }
784 wxImage *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);
792 return new wxImage(width, height, copy, False);
793 }
794 PyObject *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 }
801 void 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 }
815 PyObject *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 }
822 void 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 }
838 PyObject *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 }
849 void 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 }
863 PyObject *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 }
870 void 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 }
886 wxBitmap wxImage_ConvertToBitmap(wxImage *self){
887 wxBitmap bitmap(*self);
888 return bitmap;
889 }
890 wxBitmap 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);
900 void 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 }
915 bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
916 return self->Disconnect(id, lastId, eventType,
917 (wxObjectEventFunction)
918 &wxPyCallback::EventThunker);
919 }
920 void 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 }
931 int wxKeyEvent_GetUniChar(wxKeyEvent *self){
932 #if wxUSE_UNICODE
933 return self->m_uniChar;
934 #else
935 return 0;
936 #endif
937 }
938 void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
939 self->m_size = size;
940 }
941 void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
942 self->m_pos = pos;
943 }
944 PyObject *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 PyList_SetItem(list, i, wx2PyString(files[i]));
956 }
957 return list;
958 }
959
960
961 wxPyApp *new_wxPyApp(){
962 wxPythonApp = new wxPyApp();
963 return wxPythonApp;
964 }
965 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError); return 0; }
966
967 void wxApp_CleanUp() {
968 __wxPyCleanup();
969 }
970
971
972 wxPyApp* wxGetApp() {
973 return (wxPyApp*)wxTheApp;
974 }
975
976
977
978 static const wxString wxPyPanelNameStr(wxPanelNameStr);
979 PyObject *wxWindow_GetChildren(wxWindow *self){
980 wxWindowList& list = self->GetChildren();
981 return wxPy_ConvertList(&list);
982 }
983 bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
984
985
986
987 return False;
988
989 }
990 bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
991
992
993
994 return False;
995
996 }
997 long wxWindow_GetHandle(wxWindow *self){
998 return wxPyGetWinHandle(self);
999 }
1000
1001 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1002 return wxWindow::FindWindowById(id, parent);
1003 }
1004
1005 wxWindow* wxFindWindowByName( const wxString& name,
1006 const wxWindow *parent = NULL ) {
1007 return wxWindow::FindWindowByName(name, parent);
1008 }
1009
1010 wxWindow* wxFindWindowByLabel( const wxString& label,
1011 const wxWindow *parent = NULL ) {
1012 return wxWindow::FindWindowByLabel(label, parent);
1013 }
1014
1015
1016 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1017 #ifdef __WXMSW__
1018 wxWindow* win = new wxWindow;
1019 win->SetHWND(hWnd);
1020 win->SubclassWin(hWnd);
1021 return win;
1022 #else
1023 PyErr_SetNone(PyExc_NotImplementedError);
1024 return NULL;
1025 #endif
1026 }
1027
1028
1029 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1030 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1031 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1032
1033 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1034
1035 void wxMenu_Destroy(wxMenu *self){ delete self; }
1036 PyObject *wxMenu_GetMenuItems(wxMenu *self){
1037 wxMenuItemList& list = self->GetMenuItems();
1038 return wxPy_ConvertList(&list);
1039 }
1040 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1041
1042 DECLARE_DEF_STRING(ControlNameStr);
1043
1044 int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1045 if (clientData) {
1046 wxPyClientData* data = new wxPyClientData(clientData);
1047 return self->Append(item, data);
1048 } else
1049 return self->Append(item);
1050 }
1051 int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1052 if (clientData) {
1053 wxPyClientData* data = new wxPyClientData(clientData);
1054 return self->Insert(item, pos, data);
1055 } else
1056 return self->Insert(item, pos);
1057 }
1058 PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1059 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1060 if (data) {
1061 Py_INCREF(data->m_obj);
1062 return data->m_obj;
1063 } else {
1064 Py_INCREF(Py_None);
1065 return Py_None;
1066 }
1067 }
1068 void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1069 wxPyClientData* data = new wxPyClientData(clientData);
1070 self->SetClientObject(n, data);
1071 }
1072
1073
1074 PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1075 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1076 if (data) {
1077 Py_INCREF(data->m_obj);
1078 return data->m_obj;
1079 } else {
1080 Py_INCREF(Py_None);
1081 return Py_None;
1082 }
1083 }
1084
1085 // Figure out the type of the sizer item
1086
1087 struct wxPySizerItemInfo {
1088 wxPySizerItemInfo()
1089 : window(NULL), sizer(NULL), gotSize(False),
1090 size(wxDefaultSize), gotPos(False), pos(-1)
1091 {}
1092
1093 wxWindow* window;
1094 wxSizer* sizer;
1095 bool gotSize;
1096 wxSize size;
1097 bool gotPos;
1098 int pos;
1099 };
1100
1101 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1102
1103 wxPySizerItemInfo info;
1104 wxSize size;
1105 wxSize* sizePtr = &size;
1106
1107 // Find out what the type of the item is
1108 // try wxWindow
1109 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1110 PyErr_Clear();
1111 info.window = NULL;
1112
1113 // try wxSizer
1114 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1115 PyErr_Clear();
1116 info.sizer = NULL;
1117
1118 // try wxSize or (w,h)
1119 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1120 info.size = *sizePtr;
1121 info.gotSize = True;
1122 }
1123
1124 // or a single int
1125 if (checkIdx && PyInt_Check(item)) {
1126 info.pos = PyInt_AsLong(item);
1127 info.gotPos = True;
1128 }
1129 }
1130 }
1131
1132 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1133 // no expected type, figure out what kind of error message to generate
1134 if ( !checkSize && !checkIdx )
1135 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1136 else if ( checkSize && !checkIdx )
1137 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1138 else if ( !checkSize && checkIdx)
1139 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1140 else
1141 // can this one happen?
1142 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1143 }
1144
1145 return info;
1146 }
1147
1148 void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1149 self->SetClientObject(new wxPyOORClientData(_self));
1150 }
1151 void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1152
1153 wxPyUserData* data = NULL;
1154 wxPyBeginBlockThreads();
1155 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1156 if ( userData && (info.window || info.sizer || info.gotSize) )
1157 data = new wxPyUserData(userData);
1158 wxPyEndBlockThreads();
1159
1160 // Now call the real Add method if a valid item type was found
1161 if ( info.window )
1162 self->Add(info.window, proportion, flag, border, data);
1163 else if ( info.sizer )
1164 self->Add(info.sizer, proportion, flag, border, data);
1165 else if (info.gotSize)
1166 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1167 proportion, flag, border, data);
1168 }
1169 void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1170
1171 wxPyUserData* data = NULL;
1172 wxPyBeginBlockThreads();
1173 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1174 if ( userData && (info.window || info.sizer || info.gotSize) )
1175 data = new wxPyUserData(userData);
1176 wxPyEndBlockThreads();
1177
1178 // Now call the real Insert method if a valid item type was found
1179 if ( info.window )
1180 self->Insert(before, info.window, proportion, flag, border, data);
1181 else if ( info.sizer )
1182 self->Insert(before, info.sizer, proportion, flag, border, data);
1183 else if (info.gotSize)
1184 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1185 proportion, flag, border, data);
1186 }
1187 void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1188
1189 wxPyUserData* data = NULL;
1190 wxPyBeginBlockThreads();
1191 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1192 if ( userData && (info.window || info.sizer || info.gotSize) )
1193 data = new wxPyUserData(userData);
1194 wxPyEndBlockThreads();
1195
1196 // Now call the real Prepend method if a valid item type was found
1197 if ( info.window )
1198 self->Prepend(info.window, proportion, flag, border, data);
1199 else if ( info.sizer )
1200 self->Prepend(info.sizer, proportion, flag, border, data);
1201 else if (info.gotSize)
1202 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1203 proportion, flag, border, data);
1204 }
1205 bool wxSizer_Remove(wxSizer *self,PyObject *item){
1206 wxPyBeginBlockThreads();
1207 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1208 wxPyEndBlockThreads();
1209 if ( info.window )
1210 return self->Remove(info.window);
1211 else if ( info.sizer )
1212 return self->Remove(info.sizer);
1213 else if ( info.gotPos )
1214 return self->Remove(info.pos);
1215 else
1216 return False;
1217 }
1218 void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1219 wxPyBeginBlockThreads();
1220 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1221 wxPyEndBlockThreads();
1222 if ( info.window )
1223 self->SetItemMinSize(info.window, size);
1224 else if ( info.sizer )
1225 self->SetItemMinSize(info.sizer, size);
1226 else if ( info.gotPos )
1227 self->SetItemMinSize(info.pos, size);
1228 }
1229 PyObject *wxSizer_GetChildren(wxSizer *self){
1230 wxSizerItemList& list = self->GetChildren();
1231 return wxPy_ConvertList(&list);
1232 }
1233 void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1234 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1235 if ( info.window )
1236 self->Show(info.window, show);
1237 else if ( info.sizer )
1238 self->Show(info.sizer, show);
1239 }
1240 void wxSizer_Hide(wxSizer *self,PyObject *item){
1241 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1242 if ( info.window )
1243 self->Hide(info.window);
1244 else if ( info.sizer )
1245 self->Hide(info.sizer);
1246 }
1247 bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1248 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1249 if ( info.window )
1250 return self->IsShown(info.window);
1251 else if ( info.sizer )
1252 return self->IsShown(info.sizer);
1253 else
1254 return False;
1255 }
1256
1257 // See pyclasses.h
1258 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1259 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1260 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1261
1262
1263
1264
1265 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1266 {
1267 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1268 }
1269
1270 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1271 {
1272 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1273 }
1274
1275
1276 void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1277 self->SetRow(row);
1278 self->SetCol(col);
1279 }
1280 PyObject *wxGBPosition_Get(wxGBPosition *self){
1281 wxPyBeginBlockThreads();
1282 PyObject* tup = PyTuple_New(2);
1283 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1284 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1285 wxPyEndBlockThreads();
1286 return tup;
1287 }
1288 void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1289 self->SetRowspan(rowspan);
1290 self->SetColspan(colspan);
1291 }
1292 PyObject *wxGBSpan_Get(wxGBSpan *self){
1293 wxPyBeginBlockThreads();
1294 PyObject* tup = PyTuple_New(2);
1295 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1296 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1297 wxPyEndBlockThreads();
1298 return tup;
1299 }
1300 bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1301
1302 wxPyUserData* data = NULL;
1303 wxPyBeginBlockThreads();
1304 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1305 if ( userData && (info.window || info.sizer || info.gotSize) )
1306 data = new wxPyUserData(userData);
1307 wxPyEndBlockThreads();
1308
1309 // Now call the real Add method if a valid item type was found
1310 if ( info.window )
1311 return self->Add(info.window, pos, span, flag, border, data);
1312 else if ( info.sizer )
1313 return self->Add(info.sizer, pos, span, flag, border, data);
1314 else if (info.gotSize)
1315 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1316 pos, span, flag, border, data);
1317 return False;
1318 }
1319
1320
1321 #ifdef __cplusplus
1322 extern "C" {
1323 #endif
1324 static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxObject *arg1 = (wxObject *) 0 ;
1327 wxString result;
1328 PyObject * obj0 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335 {
1336 PyThreadState* __tstate = wxPyBeginAllowThreads();
1337 result = wxObject_GetClassName(arg1);
1338
1339 wxPyEndAllowThreads(__tstate);
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 #if wxUSE_UNICODE
1344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1345 #else
1346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1347 #endif
1348 }
1349 return resultobj;
1350 fail:
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject *resultobj;
1357 wxObject *arg1 = (wxObject *) 0 ;
1358 PyObject * obj0 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "self", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365 {
1366 PyThreadState* __tstate = wxPyBeginAllowThreads();
1367 wxObject_Destroy(arg1);
1368
1369 wxPyEndAllowThreads(__tstate);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 }
1372 Py_INCREF(Py_None); resultobj = Py_None;
1373 return resultobj;
1374 fail:
1375 return NULL;
1376 }
1377
1378
1379 static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1380 PyObject *obj;
1381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1382 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1383 Py_INCREF(obj);
1384 return Py_BuildValue((char *)"");
1385 }
1386 static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1387 PyObject *resultobj;
1388 wxSize *arg1 = (wxSize *) 0 ;
1389 int arg2 ;
1390 PyObject * obj0 = 0 ;
1391 char *kwnames[] = {
1392 (char *) "self",(char *) "x", NULL
1393 };
1394
1395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1397 if (arg1) (arg1)->x = arg2;
1398
1399 Py_INCREF(Py_None); resultobj = Py_None;
1400 return resultobj;
1401 fail:
1402 return NULL;
1403 }
1404
1405
1406 static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject *resultobj;
1408 wxSize *arg1 = (wxSize *) 0 ;
1409 int result;
1410 PyObject * obj0 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1417 result = (int) ((arg1)->x);
1418
1419 resultobj = PyInt_FromLong((long)result);
1420 return resultobj;
1421 fail:
1422 return NULL;
1423 }
1424
1425
1426 static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject *resultobj;
1428 wxSize *arg1 = (wxSize *) 0 ;
1429 int arg2 ;
1430 PyObject * obj0 = 0 ;
1431 char *kwnames[] = {
1432 (char *) "self",(char *) "y", NULL
1433 };
1434
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1437 if (arg1) (arg1)->y = arg2;
1438
1439 Py_INCREF(Py_None); resultobj = Py_None;
1440 return resultobj;
1441 fail:
1442 return NULL;
1443 }
1444
1445
1446 static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1447 PyObject *resultobj;
1448 wxSize *arg1 = (wxSize *) 0 ;
1449 int result;
1450 PyObject * obj0 = 0 ;
1451 char *kwnames[] = {
1452 (char *) "self", NULL
1453 };
1454
1455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1457 result = (int) ((arg1)->y);
1458
1459 resultobj = PyInt_FromLong((long)result);
1460 return resultobj;
1461 fail:
1462 return NULL;
1463 }
1464
1465
1466 static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 int arg1 = (int) 0 ;
1469 int arg2 = (int) 0 ;
1470 wxSize *result;
1471 char *kwnames[] = {
1472 (char *) "w",(char *) "h", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 result = (wxSize *)new wxSize(arg1,arg2);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1484 return resultobj;
1485 fail:
1486 return NULL;
1487 }
1488
1489
1490 static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject *resultobj;
1492 wxSize *arg1 = (wxSize *) 0 ;
1493 PyObject * obj0 = 0 ;
1494 char *kwnames[] = {
1495 (char *) "self", NULL
1496 };
1497
1498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 delete arg1;
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 Py_INCREF(Py_None); resultobj = Py_None;
1508 return resultobj;
1509 fail:
1510 return NULL;
1511 }
1512
1513
1514 static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject *resultobj;
1516 wxSize *arg1 = (wxSize *) 0 ;
1517 wxSize *arg2 = 0 ;
1518 bool result;
1519 wxSize temp2 ;
1520 PyObject * obj0 = 0 ;
1521 PyObject * obj1 = 0 ;
1522 char *kwnames[] = {
1523 (char *) "self",(char *) "sz", NULL
1524 };
1525
1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1528 {
1529 arg2 = &temp2;
1530 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1531 }
1532 {
1533 PyThreadState* __tstate = wxPyBeginAllowThreads();
1534 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
1535
1536 wxPyEndAllowThreads(__tstate);
1537 if (PyErr_Occurred()) SWIG_fail;
1538 }
1539 resultobj = PyInt_FromLong((long)result);
1540 return resultobj;
1541 fail:
1542 return NULL;
1543 }
1544
1545
1546 static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1547 PyObject *resultobj;
1548 wxSize *arg1 = (wxSize *) 0 ;
1549 wxSize *arg2 = 0 ;
1550 bool result;
1551 wxSize temp2 ;
1552 PyObject * obj0 = 0 ;
1553 PyObject * obj1 = 0 ;
1554 char *kwnames[] = {
1555 (char *) "self",(char *) "sz", NULL
1556 };
1557
1558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1560 {
1561 arg2 = &temp2;
1562 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1563 }
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = PyInt_FromLong((long)result);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 wxSize *arg1 = (wxSize *) 0 ;
1581 wxSize *arg2 = 0 ;
1582 wxSize result;
1583 wxSize temp2 ;
1584 PyObject * obj0 = 0 ;
1585 PyObject * obj1 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self",(char *) "sz", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1592 {
1593 arg2 = &temp2;
1594 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1595 }
1596 {
1597 PyThreadState* __tstate = wxPyBeginAllowThreads();
1598 result = (arg1)->operator +((wxSize const &)*arg2);
1599
1600 wxPyEndAllowThreads(__tstate);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 {
1604 wxSize * resultptr;
1605 resultptr = new wxSize((wxSize &) result);
1606 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1607 }
1608 return resultobj;
1609 fail:
1610 return NULL;
1611 }
1612
1613
1614 static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject *resultobj;
1616 wxSize *arg1 = (wxSize *) 0 ;
1617 wxSize *arg2 = 0 ;
1618 wxSize result;
1619 wxSize temp2 ;
1620 PyObject * obj0 = 0 ;
1621 PyObject * obj1 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self",(char *) "sz", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 {
1629 arg2 = &temp2;
1630 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1631 }
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (arg1)->operator -((wxSize const &)*arg2);
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 {
1640 wxSize * resultptr;
1641 resultptr = new wxSize((wxSize &) result);
1642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1643 }
1644 return resultobj;
1645 fail:
1646 return NULL;
1647 }
1648
1649
1650 static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxSize *arg1 = (wxSize *) 0 ;
1653 wxSize *arg2 = 0 ;
1654 wxSize temp2 ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self",(char *) "sz", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1663 {
1664 arg2 = &temp2;
1665 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1666 }
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 (arg1)->IncTo((wxSize const &)*arg2);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 Py_INCREF(Py_None); resultobj = Py_None;
1675 return resultobj;
1676 fail:
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxSize *arg1 = (wxSize *) 0 ;
1684 wxSize *arg2 = 0 ;
1685 wxSize temp2 ;
1686 PyObject * obj0 = 0 ;
1687 PyObject * obj1 = 0 ;
1688 char *kwnames[] = {
1689 (char *) "self",(char *) "sz", NULL
1690 };
1691
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1694 {
1695 arg2 = &temp2;
1696 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1697 }
1698 {
1699 PyThreadState* __tstate = wxPyBeginAllowThreads();
1700 (arg1)->DecTo((wxSize const &)*arg2);
1701
1702 wxPyEndAllowThreads(__tstate);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 }
1705 Py_INCREF(Py_None); resultobj = Py_None;
1706 return resultobj;
1707 fail:
1708 return NULL;
1709 }
1710
1711
1712 static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject *resultobj;
1714 wxSize *arg1 = (wxSize *) 0 ;
1715 int arg2 ;
1716 int arg3 ;
1717 PyObject * obj0 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "self",(char *) "w",(char *) "h", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 (arg1)->Set(arg2,arg3);
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 Py_INCREF(Py_None); resultobj = Py_None;
1732 return resultobj;
1733 fail:
1734 return NULL;
1735 }
1736
1737
1738 static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1739 PyObject *resultobj;
1740 wxSize *arg1 = (wxSize *) 0 ;
1741 int arg2 ;
1742 PyObject * obj0 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self",(char *) "w", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1749 {
1750 PyThreadState* __tstate = wxPyBeginAllowThreads();
1751 (arg1)->SetWidth(arg2);
1752
1753 wxPyEndAllowThreads(__tstate);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
1756 Py_INCREF(Py_None); resultobj = Py_None;
1757 return resultobj;
1758 fail:
1759 return NULL;
1760 }
1761
1762
1763 static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject *resultobj;
1765 wxSize *arg1 = (wxSize *) 0 ;
1766 int arg2 ;
1767 PyObject * obj0 = 0 ;
1768 char *kwnames[] = {
1769 (char *) "self",(char *) "h", NULL
1770 };
1771
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1774 {
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
1776 (arg1)->SetHeight(arg2);
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 }
1781 Py_INCREF(Py_None); resultobj = Py_None;
1782 return resultobj;
1783 fail:
1784 return NULL;
1785 }
1786
1787
1788 static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1789 PyObject *resultobj;
1790 wxSize *arg1 = (wxSize *) 0 ;
1791 int result;
1792 PyObject * obj0 = 0 ;
1793 char *kwnames[] = {
1794 (char *) "self", NULL
1795 };
1796
1797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 result = (int)((wxSize const *)arg1)->GetWidth();
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 resultobj = PyInt_FromLong((long)result);
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxSize *arg1 = (wxSize *) 0 ;
1816 int result;
1817 PyObject * obj0 = 0 ;
1818 char *kwnames[] = {
1819 (char *) "self", NULL
1820 };
1821
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1824 {
1825 PyThreadState* __tstate = wxPyBeginAllowThreads();
1826 result = (int)((wxSize const *)arg1)->GetHeight();
1827
1828 wxPyEndAllowThreads(__tstate);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 }
1831 resultobj = PyInt_FromLong((long)result);
1832 return resultobj;
1833 fail:
1834 return NULL;
1835 }
1836
1837
1838 static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
1839 PyObject *resultobj;
1840 wxSize *arg1 = (wxSize *) 0 ;
1841 PyObject *result;
1842 PyObject * obj0 = 0 ;
1843 char *kwnames[] = {
1844 (char *) "self", NULL
1845 };
1846
1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
1848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 result = (PyObject *)wxSize_Get(arg1);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 resultobj = result;
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1864 PyObject *obj;
1865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1866 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1867 Py_INCREF(obj);
1868 return Py_BuildValue((char *)"");
1869 }
1870 static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1873 double arg2 ;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self",(char *) "x", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 if (arg1) (arg1)->x = arg2;
1882
1883 Py_INCREF(Py_None); resultobj = Py_None;
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1893 double result;
1894 PyObject * obj0 = 0 ;
1895 char *kwnames[] = {
1896 (char *) "self", NULL
1897 };
1898
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1901 result = (double) ((arg1)->x);
1902
1903 resultobj = PyFloat_FromDouble(result);
1904 return resultobj;
1905 fail:
1906 return NULL;
1907 }
1908
1909
1910 static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1913 double arg2 ;
1914 PyObject * obj0 = 0 ;
1915 char *kwnames[] = {
1916 (char *) "self",(char *) "y", NULL
1917 };
1918
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1921 if (arg1) (arg1)->y = arg2;
1922
1923 Py_INCREF(Py_None); resultobj = Py_None;
1924 return resultobj;
1925 fail:
1926 return NULL;
1927 }
1928
1929
1930 static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject *resultobj;
1932 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1933 double result;
1934 PyObject * obj0 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1941 result = (double) ((arg1)->y);
1942
1943 resultobj = PyFloat_FromDouble(result);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 double arg1 = (double) 0.0 ;
1953 double arg2 = (double) 0.0 ;
1954 wxRealPoint *result;
1955 char *kwnames[] = {
1956 (char *) "x",(char *) "y", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 }
1967 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
1968 return resultobj;
1969 fail:
1970 return NULL;
1971 }
1972
1973
1974 static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject *resultobj;
1976 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1977 PyObject * obj0 = 0 ;
1978 char *kwnames[] = {
1979 (char *) "self", NULL
1980 };
1981
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
1983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 delete arg1;
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 }
1991 Py_INCREF(Py_None); resultobj = Py_None;
1992 return resultobj;
1993 fail:
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2001 wxRealPoint *arg2 = 0 ;
2002 bool result;
2003 wxRealPoint temp2 ;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "pt", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2012 {
2013 arg2 = &temp2;
2014 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2015 }
2016 {
2017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2018 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2019
2020 wxPyEndAllowThreads(__tstate);
2021 if (PyErr_Occurred()) SWIG_fail;
2022 }
2023 resultobj = PyInt_FromLong((long)result);
2024 return resultobj;
2025 fail:
2026 return NULL;
2027 }
2028
2029
2030 static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject *resultobj;
2032 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2033 wxRealPoint *arg2 = 0 ;
2034 bool result;
2035 wxRealPoint temp2 ;
2036 PyObject * obj0 = 0 ;
2037 PyObject * obj1 = 0 ;
2038 char *kwnames[] = {
2039 (char *) "self",(char *) "pt", NULL
2040 };
2041
2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2044 {
2045 arg2 = &temp2;
2046 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2047 }
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 resultobj = PyInt_FromLong((long)result);
2056 return resultobj;
2057 fail:
2058 return NULL;
2059 }
2060
2061
2062 static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2065 wxRealPoint *arg2 = 0 ;
2066 wxRealPoint result;
2067 wxRealPoint temp2 ;
2068 PyObject * obj0 = 0 ;
2069 PyObject * obj1 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "pt", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 {
2077 arg2 = &temp2;
2078 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2079 }
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 {
2088 wxRealPoint * resultptr;
2089 resultptr = new wxRealPoint((wxRealPoint &) result);
2090 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2091 }
2092 return resultobj;
2093 fail:
2094 return NULL;
2095 }
2096
2097
2098 static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject *resultobj;
2100 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2101 wxRealPoint *arg2 = 0 ;
2102 wxRealPoint result;
2103 wxRealPoint temp2 ;
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "self",(char *) "pt", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2112 {
2113 arg2 = &temp2;
2114 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 {
2124 wxRealPoint * resultptr;
2125 resultptr = new wxRealPoint((wxRealPoint &) result);
2126 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2127 }
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2135 PyObject *resultobj;
2136 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2137 double arg2 ;
2138 double arg3 ;
2139 PyObject * obj0 = 0 ;
2140 char *kwnames[] = {
2141 (char *) "self",(char *) "x",(char *) "y", NULL
2142 };
2143
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2146 {
2147 PyThreadState* __tstate = wxPyBeginAllowThreads();
2148 wxRealPoint_Set(arg1,arg2,arg3);
2149
2150 wxPyEndAllowThreads(__tstate);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 }
2153 Py_INCREF(Py_None); resultobj = Py_None;
2154 return resultobj;
2155 fail:
2156 return NULL;
2157 }
2158
2159
2160 static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject *resultobj;
2162 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2163 PyObject *result;
2164 PyObject * obj0 = 0 ;
2165 char *kwnames[] = {
2166 (char *) "self", NULL
2167 };
2168
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (PyObject *)wxRealPoint_Get(arg1);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 resultobj = result;
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2186 PyObject *obj;
2187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2188 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2189 Py_INCREF(obj);
2190 return Py_BuildValue((char *)"");
2191 }
2192 static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2193 PyObject *resultobj;
2194 wxPoint *arg1 = (wxPoint *) 0 ;
2195 int arg2 ;
2196 PyObject * obj0 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self",(char *) "x", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 if (arg1) (arg1)->x = arg2;
2204
2205 Py_INCREF(Py_None); resultobj = Py_None;
2206 return resultobj;
2207 fail:
2208 return NULL;
2209 }
2210
2211
2212 static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject *resultobj;
2214 wxPoint *arg1 = (wxPoint *) 0 ;
2215 int result;
2216 PyObject * obj0 = 0 ;
2217 char *kwnames[] = {
2218 (char *) "self", NULL
2219 };
2220
2221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2223 result = (int) ((arg1)->x);
2224
2225 resultobj = PyInt_FromLong((long)result);
2226 return resultobj;
2227 fail:
2228 return NULL;
2229 }
2230
2231
2232 static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxPoint *arg1 = (wxPoint *) 0 ;
2235 int arg2 ;
2236 PyObject * obj0 = 0 ;
2237 char *kwnames[] = {
2238 (char *) "self",(char *) "y", NULL
2239 };
2240
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2243 if (arg1) (arg1)->y = arg2;
2244
2245 Py_INCREF(Py_None); resultobj = Py_None;
2246 return resultobj;
2247 fail:
2248 return NULL;
2249 }
2250
2251
2252 static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject *resultobj;
2254 wxPoint *arg1 = (wxPoint *) 0 ;
2255 int result;
2256 PyObject * obj0 = 0 ;
2257 char *kwnames[] = {
2258 (char *) "self", NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2263 result = (int) ((arg1)->y);
2264
2265 resultobj = PyInt_FromLong((long)result);
2266 return resultobj;
2267 fail:
2268 return NULL;
2269 }
2270
2271
2272 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject *resultobj;
2274 int arg1 = (int) 0 ;
2275 int arg2 = (int) 0 ;
2276 wxPoint *result;
2277 char *kwnames[] = {
2278 (char *) "x",(char *) "y", NULL
2279 };
2280
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 result = (wxPoint *)new wxPoint(arg1,arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2290 return resultobj;
2291 fail:
2292 return NULL;
2293 }
2294
2295
2296 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2297 PyObject *resultobj;
2298 wxPoint *arg1 = (wxPoint *) 0 ;
2299 PyObject * obj0 = 0 ;
2300 char *kwnames[] = {
2301 (char *) "self", NULL
2302 };
2303
2304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 delete arg1;
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 Py_INCREF(Py_None); resultobj = Py_None;
2314 return resultobj;
2315 fail:
2316 return NULL;
2317 }
2318
2319
2320 static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2321 PyObject *resultobj;
2322 wxPoint *arg1 = (wxPoint *) 0 ;
2323 wxPoint *arg2 = 0 ;
2324 bool result;
2325 wxPoint temp2 ;
2326 PyObject * obj0 = 0 ;
2327 PyObject * obj1 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "self",(char *) "pt", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2334 {
2335 arg2 = &temp2;
2336 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2337 }
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 resultobj = PyInt_FromLong((long)result);
2346 return resultobj;
2347 fail:
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxPoint *arg1 = (wxPoint *) 0 ;
2355 wxPoint *arg2 = 0 ;
2356 bool result;
2357 wxPoint temp2 ;
2358 PyObject * obj0 = 0 ;
2359 PyObject * obj1 = 0 ;
2360 char *kwnames[] = {
2361 (char *) "self",(char *) "pt", NULL
2362 };
2363
2364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2366 {
2367 arg2 = &temp2;
2368 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2369 }
2370 {
2371 PyThreadState* __tstate = wxPyBeginAllowThreads();
2372 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
2373
2374 wxPyEndAllowThreads(__tstate);
2375 if (PyErr_Occurred()) SWIG_fail;
2376 }
2377 resultobj = PyInt_FromLong((long)result);
2378 return resultobj;
2379 fail:
2380 return NULL;
2381 }
2382
2383
2384 static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2385 PyObject *resultobj;
2386 wxPoint *arg1 = (wxPoint *) 0 ;
2387 wxPoint *arg2 = 0 ;
2388 wxPoint result;
2389 wxPoint temp2 ;
2390 PyObject * obj0 = 0 ;
2391 PyObject * obj1 = 0 ;
2392 char *kwnames[] = {
2393 (char *) "self",(char *) "pt", NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2398 {
2399 arg2 = &temp2;
2400 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2401 }
2402 {
2403 PyThreadState* __tstate = wxPyBeginAllowThreads();
2404 result = (arg1)->operator +((wxPoint const &)*arg2);
2405
2406 wxPyEndAllowThreads(__tstate);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
2409 {
2410 wxPoint * resultptr;
2411 resultptr = new wxPoint((wxPoint &) result);
2412 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2413 }
2414 return resultobj;
2415 fail:
2416 return NULL;
2417 }
2418
2419
2420 static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2421 PyObject *resultobj;
2422 wxPoint *arg1 = (wxPoint *) 0 ;
2423 wxPoint *arg2 = 0 ;
2424 wxPoint result;
2425 wxPoint temp2 ;
2426 PyObject * obj0 = 0 ;
2427 PyObject * obj1 = 0 ;
2428 char *kwnames[] = {
2429 (char *) "self",(char *) "pt", NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2434 {
2435 arg2 = &temp2;
2436 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2437 }
2438 {
2439 PyThreadState* __tstate = wxPyBeginAllowThreads();
2440 result = (arg1)->operator -((wxPoint const &)*arg2);
2441
2442 wxPyEndAllowThreads(__tstate);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 }
2445 {
2446 wxPoint * resultptr;
2447 resultptr = new wxPoint((wxPoint &) result);
2448 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2449 }
2450 return resultobj;
2451 fail:
2452 return NULL;
2453 }
2454
2455
2456 static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject *resultobj;
2458 wxPoint *arg1 = (wxPoint *) 0 ;
2459 wxPoint *arg2 = 0 ;
2460 wxPoint *result;
2461 wxPoint temp2 ;
2462 PyObject * obj0 = 0 ;
2463 PyObject * obj1 = 0 ;
2464 char *kwnames[] = {
2465 (char *) "self",(char *) "pt", NULL
2466 };
2467
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2470 {
2471 arg2 = &temp2;
2472 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2473 }
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 {
2477 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2478 result = (wxPoint *) &_result_ref;
2479 }
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2485 return resultobj;
2486 fail:
2487 return NULL;
2488 }
2489
2490
2491 static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxPoint *arg1 = (wxPoint *) 0 ;
2494 wxPoint *arg2 = 0 ;
2495 wxPoint *result;
2496 wxPoint temp2 ;
2497 PyObject * obj0 = 0 ;
2498 PyObject * obj1 = 0 ;
2499 char *kwnames[] = {
2500 (char *) "self",(char *) "pt", NULL
2501 };
2502
2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2505 {
2506 arg2 = &temp2;
2507 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2508 }
2509 {
2510 PyThreadState* __tstate = wxPyBeginAllowThreads();
2511 {
2512 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2513 result = (wxPoint *) &_result_ref;
2514 }
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2520 return resultobj;
2521 fail:
2522 return NULL;
2523 }
2524
2525
2526 static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxPoint *arg1 = (wxPoint *) 0 ;
2529 long arg2 ;
2530 long arg3 ;
2531 PyObject * obj0 = 0 ;
2532 char *kwnames[] = {
2533 (char *) "self",(char *) "x",(char *) "y", NULL
2534 };
2535
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 wxPoint_Set(arg1,arg2,arg3);
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 Py_INCREF(Py_None); resultobj = Py_None;
2546 return resultobj;
2547 fail:
2548 return NULL;
2549 }
2550
2551
2552 static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2553 PyObject *resultobj;
2554 wxPoint *arg1 = (wxPoint *) 0 ;
2555 PyObject *result;
2556 PyObject * obj0 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 result = (PyObject *)wxPoint_Get(arg1);
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 resultobj = result;
2571 return resultobj;
2572 fail:
2573 return NULL;
2574 }
2575
2576
2577 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2578 PyObject *obj;
2579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2580 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2581 Py_INCREF(obj);
2582 return Py_BuildValue((char *)"");
2583 }
2584 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 int arg1 = (int) 0 ;
2587 int arg2 = (int) 0 ;
2588 int arg3 = (int) 0 ;
2589 int arg4 = (int) 0 ;
2590 wxRect *result;
2591 char *kwnames[] = {
2592 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2604 return resultobj;
2605 fail:
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxPoint *arg1 = 0 ;
2613 wxPoint *arg2 = 0 ;
2614 wxRect *result;
2615 wxPoint temp1 ;
2616 wxPoint temp2 ;
2617 PyObject * obj0 = 0 ;
2618 PyObject * obj1 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "topLeft",(char *) "bottomRight", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2624 {
2625 arg1 = &temp1;
2626 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2627 }
2628 {
2629 arg2 = &temp2;
2630 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2631 }
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2635
2636 wxPyEndAllowThreads(__tstate);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
2639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2640 return resultobj;
2641 fail:
2642 return NULL;
2643 }
2644
2645
2646 static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2647 PyObject *resultobj;
2648 wxPoint *arg1 = 0 ;
2649 wxSize *arg2 = 0 ;
2650 wxRect *result;
2651 wxPoint temp1 ;
2652 wxSize temp2 ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "pos",(char *) "size", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2660 {
2661 arg1 = &temp1;
2662 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2663 }
2664 {
2665 arg2 = &temp2;
2666 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2667 }
2668 {
2669 PyThreadState* __tstate = wxPyBeginAllowThreads();
2670 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2671
2672 wxPyEndAllowThreads(__tstate);
2673 if (PyErr_Occurred()) SWIG_fail;
2674 }
2675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2676 return resultobj;
2677 fail:
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject *resultobj;
2684 wxRect *arg1 = (wxRect *) 0 ;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 delete arg1;
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 Py_INCREF(Py_None); resultobj = Py_None;
2700 return resultobj;
2701 fail:
2702 return NULL;
2703 }
2704
2705
2706 static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2707 PyObject *resultobj;
2708 wxRect *arg1 = (wxRect *) 0 ;
2709 int result;
2710 PyObject * obj0 = 0 ;
2711 char *kwnames[] = {
2712 (char *) "self", NULL
2713 };
2714
2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 result = (int)((wxRect const *)arg1)->GetX();
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 resultobj = PyInt_FromLong((long)result);
2725 return resultobj;
2726 fail:
2727 return NULL;
2728 }
2729
2730
2731 static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj;
2733 wxRect *arg1 = (wxRect *) 0 ;
2734 int arg2 ;
2735 PyObject * obj0 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "x", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 (arg1)->SetX(arg2);
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxRect *arg1 = (wxRect *) 0 ;
2759 int result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 result = (int)(arg1)->GetY();
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 resultobj = PyInt_FromLong((long)result);
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxRect *arg1 = (wxRect *) 0 ;
2784 int arg2 ;
2785 PyObject * obj0 = 0 ;
2786 char *kwnames[] = {
2787 (char *) "self",(char *) "y", NULL
2788 };
2789
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2792 {
2793 PyThreadState* __tstate = wxPyBeginAllowThreads();
2794 (arg1)->SetY(arg2);
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 Py_INCREF(Py_None); resultobj = Py_None;
2800 return resultobj;
2801 fail:
2802 return NULL;
2803 }
2804
2805
2806 static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxRect *arg1 = (wxRect *) 0 ;
2809 int result;
2810 PyObject * obj0 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "self", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (int)((wxRect const *)arg1)->GetWidth();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 resultobj = PyInt_FromLong((long)result);
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxRect *arg1 = (wxRect *) 0 ;
2834 int arg2 ;
2835 PyObject * obj0 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self",(char *) "w", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 (arg1)->SetWidth(arg2);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 Py_INCREF(Py_None); resultobj = Py_None;
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 wxRect *arg1 = (wxRect *) 0 ;
2859 int result;
2860 PyObject * obj0 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 result = (int)((wxRect const *)arg1)->GetHeight();
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 resultobj = PyInt_FromLong((long)result);
2875 return resultobj;
2876 fail:
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxRect *arg1 = (wxRect *) 0 ;
2884 int arg2 ;
2885 PyObject * obj0 = 0 ;
2886 char *kwnames[] = {
2887 (char *) "self",(char *) "h", NULL
2888 };
2889
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2892 {
2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
2894 (arg1)->SetHeight(arg2);
2895
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) SWIG_fail;
2898 }
2899 Py_INCREF(Py_None); resultobj = Py_None;
2900 return resultobj;
2901 fail:
2902 return NULL;
2903 }
2904
2905
2906 static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject *resultobj;
2908 wxRect *arg1 = (wxRect *) 0 ;
2909 wxPoint result;
2910 PyObject * obj0 = 0 ;
2911 char *kwnames[] = {
2912 (char *) "self", NULL
2913 };
2914
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 result = ((wxRect const *)arg1)->GetPosition();
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 {
2925 wxPoint * resultptr;
2926 resultptr = new wxPoint((wxPoint &) result);
2927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2928 }
2929 return resultobj;
2930 fail:
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj;
2937 wxRect *arg1 = (wxRect *) 0 ;
2938 wxPoint *arg2 = 0 ;
2939 wxPoint temp2 ;
2940 PyObject * obj0 = 0 ;
2941 PyObject * obj1 = 0 ;
2942 char *kwnames[] = {
2943 (char *) "self",(char *) "p", NULL
2944 };
2945
2946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2948 {
2949 arg2 = &temp2;
2950 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2951 }
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 (arg1)->SetPosition((wxPoint const &)*arg2);
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 return resultobj;
2961 fail:
2962 return NULL;
2963 }
2964
2965
2966 static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxRect *arg1 = (wxRect *) 0 ;
2969 wxSize result;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "self", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2977 {
2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
2979 result = ((wxRect const *)arg1)->GetSize();
2980
2981 wxPyEndAllowThreads(__tstate);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 {
2985 wxSize * resultptr;
2986 resultptr = new wxSize((wxSize &) result);
2987 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
2988 }
2989 return resultobj;
2990 fail:
2991 return NULL;
2992 }
2993
2994
2995 static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2996 PyObject *resultobj;
2997 wxRect *arg1 = (wxRect *) 0 ;
2998 wxSize *arg2 = 0 ;
2999 wxSize temp2 ;
3000 PyObject * obj0 = 0 ;
3001 PyObject * obj1 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self",(char *) "s", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3008 {
3009 arg2 = &temp2;
3010 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 (arg1)->SetSize((wxSize const &)*arg2);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 return resultobj;
3021 fail:
3022 return NULL;
3023 }
3024
3025
3026 static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3027 PyObject *resultobj;
3028 wxRect *arg1 = (wxRect *) 0 ;
3029 int result;
3030 PyObject * obj0 = 0 ;
3031 char *kwnames[] = {
3032 (char *) "self", NULL
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 result = (int)((wxRect const *)arg1)->GetLeft();
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 resultobj = PyInt_FromLong((long)result);
3045 return resultobj;
3046 fail:
3047 return NULL;
3048 }
3049
3050
3051 static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxRect *arg1 = (wxRect *) 0 ;
3054 int result;
3055 PyObject * obj0 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3062 {
3063 PyThreadState* __tstate = wxPyBeginAllowThreads();
3064 result = (int)((wxRect const *)arg1)->GetTop();
3065
3066 wxPyEndAllowThreads(__tstate);
3067 if (PyErr_Occurred()) SWIG_fail;
3068 }
3069 resultobj = PyInt_FromLong((long)result);
3070 return resultobj;
3071 fail:
3072 return NULL;
3073 }
3074
3075
3076 static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3077 PyObject *resultobj;
3078 wxRect *arg1 = (wxRect *) 0 ;
3079 int result;
3080 PyObject * obj0 = 0 ;
3081 char *kwnames[] = {
3082 (char *) "self", NULL
3083 };
3084
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3087 {
3088 PyThreadState* __tstate = wxPyBeginAllowThreads();
3089 result = (int)((wxRect const *)arg1)->GetBottom();
3090
3091 wxPyEndAllowThreads(__tstate);
3092 if (PyErr_Occurred()) SWIG_fail;
3093 }
3094 resultobj = PyInt_FromLong((long)result);
3095 return resultobj;
3096 fail:
3097 return NULL;
3098 }
3099
3100
3101 static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3102 PyObject *resultobj;
3103 wxRect *arg1 = (wxRect *) 0 ;
3104 int result;
3105 PyObject * obj0 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = (int)((wxRect const *)arg1)->GetRight();
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 resultobj = PyInt_FromLong((long)result);
3120 return resultobj;
3121 fail:
3122 return NULL;
3123 }
3124
3125
3126 static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3127 PyObject *resultobj;
3128 wxRect *arg1 = (wxRect *) 0 ;
3129 int arg2 ;
3130 PyObject * obj0 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "left", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 (arg1)->SetLeft(arg2);
3140
3141 wxPyEndAllowThreads(__tstate);
3142 if (PyErr_Occurred()) SWIG_fail;
3143 }
3144 Py_INCREF(Py_None); resultobj = Py_None;
3145 return resultobj;
3146 fail:
3147 return NULL;
3148 }
3149
3150
3151 static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3152 PyObject *resultobj;
3153 wxRect *arg1 = (wxRect *) 0 ;
3154 int arg2 ;
3155 PyObject * obj0 = 0 ;
3156 char *kwnames[] = {
3157 (char *) "self",(char *) "right", NULL
3158 };
3159
3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 (arg1)->SetRight(arg2);
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 Py_INCREF(Py_None); resultobj = Py_None;
3170 return resultobj;
3171 fail:
3172 return NULL;
3173 }
3174
3175
3176 static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3177 PyObject *resultobj;
3178 wxRect *arg1 = (wxRect *) 0 ;
3179 int arg2 ;
3180 PyObject * obj0 = 0 ;
3181 char *kwnames[] = {
3182 (char *) "self",(char *) "top", NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 (arg1)->SetTop(arg2);
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 Py_INCREF(Py_None); resultobj = Py_None;
3195 return resultobj;
3196 fail:
3197 return NULL;
3198 }
3199
3200
3201 static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3202 PyObject *resultobj;
3203 wxRect *arg1 = (wxRect *) 0 ;
3204 int arg2 ;
3205 PyObject * obj0 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self",(char *) "bottom", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
3214 (arg1)->SetBottom(arg2);
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 Py_INCREF(Py_None); resultobj = Py_None;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj;
3228 wxRect *arg1 = (wxRect *) 0 ;
3229 int arg2 ;
3230 int arg3 ;
3231 wxRect *result;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self",(char *) "dx",(char *) "dy", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 {
3242 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3243 result = (wxRect *) &_result_ref;
3244 }
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3250 return resultobj;
3251 fail:
3252 return NULL;
3253 }
3254
3255
3256 static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxRect *arg1 = (wxRect *) 0 ;
3259 int arg2 ;
3260 int arg3 ;
3261 wxRect *result;
3262 PyObject * obj0 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "dx",(char *) "dy", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 {
3272 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3273 result = (wxRect *) &_result_ref;
3274 }
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxRect *arg1 = (wxRect *) 0 ;
3289 int arg2 ;
3290 int arg3 ;
3291 PyObject * obj0 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self",(char *) "dx",(char *) "dy", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 (arg1)->Offset(arg2,arg3);
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 Py_INCREF(Py_None); resultobj = Py_None;
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxRect *arg1 = (wxRect *) 0 ;
3315 wxPoint *arg2 = 0 ;
3316 wxPoint temp2 ;
3317 PyObject * obj0 = 0 ;
3318 PyObject * obj1 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "pt", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3325 {
3326 arg2 = &temp2;
3327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 (arg1)->Offset((wxPoint const &)*arg2);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxRect *arg1 = (wxRect *) 0 ;
3346 wxRect *arg2 = 0 ;
3347 wxRect *result;
3348 wxRect temp2 ;
3349 PyObject * obj0 = 0 ;
3350 PyObject * obj1 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self",(char *) "rect", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3357 {
3358 arg2 = &temp2;
3359 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3360 }
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 {
3364 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3365 result = (wxRect *) &_result_ref;
3366 }
3367
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3372 return resultobj;
3373 fail:
3374 return NULL;
3375 }
3376
3377
3378 static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3379 PyObject *resultobj;
3380 wxRect *arg1 = (wxRect *) 0 ;
3381 wxRect *arg2 = 0 ;
3382 wxRect result;
3383 wxRect temp2 ;
3384 PyObject * obj0 = 0 ;
3385 PyObject * obj1 = 0 ;
3386 char *kwnames[] = {
3387 (char *) "self",(char *) "rect", NULL
3388 };
3389
3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3392 {
3393 arg2 = &temp2;
3394 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3395 }
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 {
3404 wxRect * resultptr;
3405 resultptr = new wxRect((wxRect &) result);
3406 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3407 }
3408 return resultobj;
3409 fail:
3410 return NULL;
3411 }
3412
3413
3414 static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3415 PyObject *resultobj;
3416 wxRect *arg1 = (wxRect *) 0 ;
3417 wxRect *arg2 = 0 ;
3418 wxRect *result;
3419 wxRect temp2 ;
3420 PyObject * obj0 = 0 ;
3421 PyObject * obj1 = 0 ;
3422 char *kwnames[] = {
3423 (char *) "self",(char *) "rect", NULL
3424 };
3425
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3428 {
3429 arg2 = &temp2;
3430 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3431 }
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 {
3435 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3436 result = (wxRect *) &_result_ref;
3437 }
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxRect *arg1 = (wxRect *) 0 ;
3452 wxRect *arg2 = 0 ;
3453 bool result;
3454 wxRect temp2 ;
3455 PyObject * obj0 = 0 ;
3456 PyObject * obj1 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "rect", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3463 {
3464 arg2 = &temp2;
3465 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 resultobj = PyInt_FromLong((long)result);
3475 return resultobj;
3476 fail:
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxRect *arg1 = (wxRect *) 0 ;
3484 wxRect *arg2 = 0 ;
3485 bool result;
3486 wxRect temp2 ;
3487 PyObject * obj0 = 0 ;
3488 PyObject * obj1 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self",(char *) "rect", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3495 {
3496 arg2 = &temp2;
3497 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3498 }
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 resultobj = PyInt_FromLong((long)result);
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxRect *arg1 = (wxRect *) 0 ;
3516 int arg2 ;
3517 int arg3 ;
3518 bool result;
3519 PyObject * obj0 = 0 ;
3520 char *kwnames[] = {
3521 (char *) "self",(char *) "x",(char *) "y", NULL
3522 };
3523
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 resultobj = PyInt_FromLong((long)result);
3534 return resultobj;
3535 fail:
3536 return NULL;
3537 }
3538
3539
3540 static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject *resultobj;
3542 wxRect *arg1 = (wxRect *) 0 ;
3543 wxPoint *arg2 = 0 ;
3544 bool result;
3545 wxPoint temp2 ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "pt", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3554 {
3555 arg2 = &temp2;
3556 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3557 }
3558 {
3559 PyThreadState* __tstate = wxPyBeginAllowThreads();
3560 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3561
3562 wxPyEndAllowThreads(__tstate);
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 resultobj = PyInt_FromLong((long)result);
3566 return resultobj;
3567 fail:
3568 return NULL;
3569 }
3570
3571
3572 static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxRect *arg1 = (wxRect *) 0 ;
3575 wxRect *arg2 = 0 ;
3576 bool result;
3577 wxRect temp2 ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "rect", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 {
3587 arg2 = &temp2;
3588 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3589 }
3590 {
3591 PyThreadState* __tstate = wxPyBeginAllowThreads();
3592 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3593
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
3597 resultobj = PyInt_FromLong((long)result);
3598 return resultobj;
3599 fail:
3600 return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj;
3606 wxRect *arg1 = (wxRect *) 0 ;
3607 int arg2 ;
3608 PyObject * obj0 = 0 ;
3609 char *kwnames[] = {
3610 (char *) "self",(char *) "x", NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 if (arg1) (arg1)->x = arg2;
3616
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxRect *arg1 = (wxRect *) 0 ;
3627 int result;
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3635 result = (int) ((arg1)->x);
3636
3637 resultobj = PyInt_FromLong((long)result);
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxRect *arg1 = (wxRect *) 0 ;
3647 int arg2 ;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self",(char *) "y", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3655 if (arg1) (arg1)->y = arg2;
3656
3657 Py_INCREF(Py_None); resultobj = Py_None;
3658 return resultobj;
3659 fail:
3660 return NULL;
3661 }
3662
3663
3664 static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject *resultobj;
3666 wxRect *arg1 = (wxRect *) 0 ;
3667 int result;
3668 PyObject * obj0 = 0 ;
3669 char *kwnames[] = {
3670 (char *) "self", NULL
3671 };
3672
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 result = (int) ((arg1)->y);
3676
3677 resultobj = PyInt_FromLong((long)result);
3678 return resultobj;
3679 fail:
3680 return NULL;
3681 }
3682
3683
3684 static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxRect *arg1 = (wxRect *) 0 ;
3687 int arg2 ;
3688 PyObject * obj0 = 0 ;
3689 char *kwnames[] = {
3690 (char *) "self",(char *) "width", NULL
3691 };
3692
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3695 if (arg1) (arg1)->width = arg2;
3696
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxRect *arg1 = (wxRect *) 0 ;
3707 int result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3715 result = (int) ((arg1)->width);
3716
3717 resultobj = PyInt_FromLong((long)result);
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxRect *arg1 = (wxRect *) 0 ;
3727 int arg2 ;
3728 PyObject * obj0 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self",(char *) "height", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3735 if (arg1) (arg1)->height = arg2;
3736
3737 Py_INCREF(Py_None); resultobj = Py_None;
3738 return resultobj;
3739 fail:
3740 return NULL;
3741 }
3742
3743
3744 static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxRect *arg1 = (wxRect *) 0 ;
3747 int result;
3748 PyObject * obj0 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3755 result = (int) ((arg1)->height);
3756
3757 resultobj = PyInt_FromLong((long)result);
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj;
3766 wxRect *arg1 = (wxRect *) 0 ;
3767 int arg2 = (int) 0 ;
3768 int arg3 = (int) 0 ;
3769 int arg4 = (int) 0 ;
3770 int arg5 = (int) 0 ;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 Py_INCREF(Py_None); resultobj = Py_None;
3786 return resultobj;
3787 fail:
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxRect *arg1 = (wxRect *) 0 ;
3795 PyObject *result;
3796 PyObject * obj0 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
3802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (PyObject *)wxRect_Get(arg1);
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 resultobj = result;
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3818 PyObject *obj;
3819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3820 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3821 Py_INCREF(obj);
3822 return Py_BuildValue((char *)"");
3823 }
3824 static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxRect *arg1 = (wxRect *) 0 ;
3827 wxRect *arg2 = (wxRect *) 0 ;
3828 PyObject *result;
3829 PyObject * obj0 = 0 ;
3830 PyObject * obj1 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "r1",(char *) "r2", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (PyObject *)wxIntersectRect(arg1,arg2);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 resultobj = result;
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 double arg1 = (double) 0.0 ;
3855 double arg2 = (double) 0.0 ;
3856 wxPoint2D *result;
3857 char *kwnames[] = {
3858 (char *) "x",(char *) "y", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj;
3878 wxPoint2D *arg1 = 0 ;
3879 wxPoint2D *result;
3880 wxPoint2D temp1 ;
3881 PyObject * obj0 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "pt", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
3887 {
3888 arg1 = &temp1;
3889 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3899 return resultobj;
3900 fail:
3901 return NULL;
3902 }
3903
3904
3905 static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3906 PyObject *resultobj;
3907 wxPoint *arg1 = 0 ;
3908 wxPoint2D *result;
3909 wxPoint temp1 ;
3910 PyObject * obj0 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "pt", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
3916 {
3917 arg1 = &temp1;
3918 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3919 }
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3928 return resultobj;
3929 fail:
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3937 int *arg2 = (int *) 0 ;
3938 int *arg3 = (int *) 0 ;
3939 int temp2 ;
3940 int temp3 ;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 arg2 = &temp2;
3947 arg3 = &temp3;
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
3949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 Py_INCREF(Py_None); resultobj = Py_None;
3958 {
3959 PyObject *o = PyInt_FromLong((long) (*arg2));
3960 resultobj = t_output_helper(resultobj,o);
3961 }
3962 {
3963 PyObject *o = PyInt_FromLong((long) (*arg3));
3964 resultobj = t_output_helper(resultobj,o);
3965 }
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3975 int *arg2 = (int *) 0 ;
3976 int *arg3 = (int *) 0 ;
3977 int temp2 ;
3978 int temp3 ;
3979 PyObject * obj0 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self", NULL
3982 };
3983
3984 arg2 = &temp2;
3985 arg3 = &temp3;
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
3987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 {
3997 PyObject *o = PyInt_FromLong((long) (*arg2));
3998 resultobj = t_output_helper(resultobj,o);
3999 }
4000 {
4001 PyObject *o = PyInt_FromLong((long) (*arg3));
4002 resultobj = t_output_helper(resultobj,o);
4003 }
4004 return resultobj;
4005 fail:
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4013 double result;
4014 PyObject * obj0 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "self", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 resultobj = PyFloat_FromDouble(result);
4029 return resultobj;
4030 fail:
4031 return NULL;
4032 }
4033
4034
4035 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj;
4037 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4038 double result;
4039 PyObject * obj0 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 resultobj = PyFloat_FromDouble(result);
4054 return resultobj;
4055 fail:
4056 return NULL;
4057 }
4058
4059
4060 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4063 double arg2 ;
4064 PyObject * obj0 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self",(char *) "length", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 (arg1)->SetVectorLength(arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 Py_INCREF(Py_None); resultobj = Py_None;
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4088 double arg2 ;
4089 PyObject * obj0 = 0 ;
4090 char *kwnames[] = {
4091 (char *) "self",(char *) "degrees", NULL
4092 };
4093
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 (arg1)->SetVectorAngle(arg2);
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 Py_INCREF(Py_None); resultobj = Py_None;
4104 return resultobj;
4105 fail:
4106 return NULL;
4107 }
4108
4109
4110 static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4111 PyObject *resultobj;
4112 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4113 wxPoint2D *arg2 = 0 ;
4114 double result;
4115 wxPoint2D temp2 ;
4116 PyObject * obj0 = 0 ;
4117 PyObject * obj1 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "pt", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4124 {
4125 arg2 = &temp2;
4126 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4127 }
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 resultobj = PyFloat_FromDouble(result);
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4145 wxPoint2D *arg2 = 0 ;
4146 double result;
4147 wxPoint2D temp2 ;
4148 PyObject * obj0 = 0 ;
4149 PyObject * obj1 = 0 ;
4150 char *kwnames[] = {
4151 (char *) "self",(char *) "pt", NULL
4152 };
4153
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4156 {
4157 arg2 = &temp2;
4158 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 resultobj = PyFloat_FromDouble(result);
4168 return resultobj;
4169 fail:
4170 return NULL;
4171 }
4172
4173
4174 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4175 PyObject *resultobj;
4176 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4177 wxPoint2D *arg2 = 0 ;
4178 double result;
4179 wxPoint2D temp2 ;
4180 PyObject * obj0 = 0 ;
4181 PyObject * obj1 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "vec", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4188 {
4189 arg2 = &temp2;
4190 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 resultobj = PyFloat_FromDouble(result);
4200 return resultobj;
4201 fail:
4202 return NULL;
4203 }
4204
4205
4206 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj;
4208 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4209 wxPoint2D *arg2 = 0 ;
4210 double result;
4211 wxPoint2D temp2 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self",(char *) "vec", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4220 {
4221 arg2 = &temp2;
4222 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = PyFloat_FromDouble(result);
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj;
4240 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4241 wxPoint2D result;
4242 PyObject * obj0 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "self", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 result = (arg1)->operator -();
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 {
4257 wxPoint2D * resultptr;
4258 resultptr = new wxPoint2D((wxPoint2D &) result);
4259 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4260 }
4261 return resultobj;
4262 fail:
4263 return NULL;
4264 }
4265
4266
4267 static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4270 wxPoint2D *arg2 = 0 ;
4271 wxPoint2D *result;
4272 wxPoint2D temp2 ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 char *kwnames[] = {
4276 (char *) "self",(char *) "pt", NULL
4277 };
4278
4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4281 {
4282 arg2 = &temp2;
4283 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4284 }
4285 {
4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
4287 {
4288 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4289 result = (wxPoint2D *) &_result_ref;
4290 }
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4296 return resultobj;
4297 fail:
4298 return NULL;
4299 }
4300
4301
4302 static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject *resultobj;
4304 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4305 wxPoint2D *arg2 = 0 ;
4306 wxPoint2D *result;
4307 wxPoint2D temp2 ;
4308 PyObject * obj0 = 0 ;
4309 PyObject * obj1 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "self",(char *) "pt", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4316 {
4317 arg2 = &temp2;
4318 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 {
4323 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4324 result = (wxPoint2D *) &_result_ref;
4325 }
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4331 return resultobj;
4332 fail:
4333 return NULL;
4334 }
4335
4336
4337 static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4338 PyObject *resultobj;
4339 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4340 wxPoint2D *arg2 = 0 ;
4341 wxPoint2D *result;
4342 wxPoint2D temp2 ;
4343 PyObject * obj0 = 0 ;
4344 PyObject * obj1 = 0 ;
4345 char *kwnames[] = {
4346 (char *) "self",(char *) "pt", NULL
4347 };
4348
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 {
4352 arg2 = &temp2;
4353 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4354 }
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 {
4358 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4359 result = (wxPoint2D *) &_result_ref;
4360 }
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4366 return resultobj;
4367 fail:
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4375 wxPoint2D *arg2 = 0 ;
4376 wxPoint2D *result;
4377 wxPoint2D temp2 ;
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self",(char *) "pt", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4386 {
4387 arg2 = &temp2;
4388 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 {
4393 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4394 result = (wxPoint2D *) &_result_ref;
4395 }
4396
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj;
4409 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4410 wxPoint2D *arg2 = 0 ;
4411 bool result;
4412 wxPoint2D temp2 ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "pt", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4421 {
4422 arg2 = &temp2;
4423 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4424 }
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = PyInt_FromLong((long)result);
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4442 wxPoint2D *arg2 = 0 ;
4443 bool result;
4444 wxPoint2D temp2 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self",(char *) "pt", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 {
4454 arg2 = &temp2;
4455 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 resultobj = PyInt_FromLong((long)result);
4465 return resultobj;
4466 fail:
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4474 double arg2 ;
4475 PyObject * obj0 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "m_x", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4482 if (arg1) (arg1)->m_x = arg2;
4483
4484 Py_INCREF(Py_None); resultobj = Py_None;
4485 return resultobj;
4486 fail:
4487 return NULL;
4488 }
4489
4490
4491 static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject *resultobj;
4493 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4494 double result;
4495 PyObject * obj0 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4502 result = (double) ((arg1)->m_x);
4503
4504 resultobj = PyFloat_FromDouble(result);
4505 return resultobj;
4506 fail:
4507 return NULL;
4508 }
4509
4510
4511 static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4512 PyObject *resultobj;
4513 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4514 double arg2 ;
4515 PyObject * obj0 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "self",(char *) "m_y", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4522 if (arg1) (arg1)->m_y = arg2;
4523
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4534 double result;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4542 result = (double) ((arg1)->m_y);
4543
4544 resultobj = PyFloat_FromDouble(result);
4545 return resultobj;
4546 fail:
4547 return NULL;
4548 }
4549
4550
4551 static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4554 double arg2 = (double) 0 ;
4555 double arg3 = (double) 0 ;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self",(char *) "x",(char *) "y", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 wxPoint2D_Set(arg1,arg2,arg3);
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 Py_INCREF(Py_None); resultobj = Py_None;
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4580 PyObject *result;
4581 PyObject * obj0 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (PyObject *)wxPoint2D_Get(arg1);
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 resultobj = result;
4596 return resultobj;
4597 fail:
4598 return NULL;
4599 }
4600
4601
4602 static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4603 PyObject *obj;
4604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4605 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4606 Py_INCREF(obj);
4607 return Py_BuildValue((char *)"");
4608 }
4609 static int _wrap_DefaultPosition_set(PyObject *_val) {
4610 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4611 return 1;
4612 }
4613
4614
4615 static PyObject *_wrap_DefaultPosition_get() {
4616 PyObject *pyobj;
4617
4618 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4619 return pyobj;
4620 }
4621
4622
4623 static int _wrap_DefaultSize_set(PyObject *_val) {
4624 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4625 return 1;
4626 }
4627
4628
4629 static PyObject *_wrap_DefaultSize_get() {
4630 PyObject *pyobj;
4631
4632 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4633 return pyobj;
4634 }
4635
4636
4637 static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj;
4639 PyObject *arg1 = (PyObject *) 0 ;
4640 wxPyInputStream *result;
4641 PyObject * obj0 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "p", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4647 arg1 = obj0;
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4665 PyObject * obj0 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 (arg1)->close();
4675
4676 wxPyEndAllowThreads(__tstate);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 }
4679 Py_INCREF(Py_None); resultobj = Py_None;
4680 return resultobj;
4681 fail:
4682 return NULL;
4683 }
4684
4685
4686 static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4687 PyObject *resultobj;
4688 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4689 PyObject * obj0 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 (arg1)->flush();
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 Py_INCREF(Py_None); resultobj = Py_None;
4704 return resultobj;
4705 fail:
4706 return NULL;
4707 }
4708
4709
4710 static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4711 PyObject *resultobj;
4712 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4713 bool result;
4714 PyObject * obj0 = 0 ;
4715 char *kwnames[] = {
4716 (char *) "self", NULL
4717 };
4718
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (bool)(arg1)->eof();
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 resultobj = PyInt_FromLong((long)result);
4729 return resultobj;
4730 fail:
4731 return NULL;
4732 }
4733
4734
4735 static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4738 int arg2 = (int) -1 ;
4739 PyObject *result;
4740 PyObject * obj0 = 0 ;
4741 char *kwnames[] = {
4742 (char *) "self",(char *) "size", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (PyObject *)(arg1)->read(arg2);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 resultobj = result;
4755 return resultobj;
4756 fail:
4757 return NULL;
4758 }
4759
4760
4761 static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4764 int arg2 = (int) -1 ;
4765 PyObject *result;
4766 PyObject * obj0 = 0 ;
4767 char *kwnames[] = {
4768 (char *) "self",(char *) "size", NULL
4769 };
4770
4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (PyObject *)(arg1)->readline(arg2);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = result;
4781 return resultobj;
4782 fail:
4783 return NULL;
4784 }
4785
4786
4787 static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4788 PyObject *resultobj;
4789 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4790 int arg2 = (int) -1 ;
4791 PyObject *result;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self",(char *) "sizehint", NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) goto fail;
4798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 result = (PyObject *)(arg1)->readlines(arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 resultobj = result;
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4816 int arg2 ;
4817 int arg3 = (int) 0 ;
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "self",(char *) "offset",(char *) "whence", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 (arg1)->seek(arg2,arg3);
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 Py_INCREF(Py_None); resultobj = Py_None;
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4842 int result;
4843 PyObject * obj0 = 0 ;
4844 char *kwnames[] = {
4845 (char *) "self", NULL
4846 };
4847
4848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (int)(arg1)->tell();
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 resultobj = PyInt_FromLong((long)result);
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4867 char result;
4868 PyObject * obj0 = 0 ;
4869 char *kwnames[] = {
4870 (char *) "self", NULL
4871 };
4872
4873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
4874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (char)(arg1)->Peek();
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = Py_BuildValue((char*)"c",result);
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4892 char result;
4893 PyObject * obj0 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = (char)(arg1)->GetC();
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = Py_BuildValue((char*)"c",result);
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject *resultobj;
4916 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4917 size_t result;
4918 PyObject * obj0 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (size_t)(arg1)->LastRead();
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = PyInt_FromLong((long)result);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4942 bool result;
4943 PyObject * obj0 = 0 ;
4944 char *kwnames[] = {
4945 (char *) "self", NULL
4946 };
4947
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
4949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (bool)(arg1)->CanRead();
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = PyInt_FromLong((long)result);
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4967 bool result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 result = (bool)(arg1)->Eof();
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 resultobj = PyInt_FromLong((long)result);
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4992 char arg2 ;
4993 bool result;
4994 PyObject * obj0 = 0 ;
4995 char *kwnames[] = {
4996 (char *) "self",(char *) "c", NULL
4997 };
4998
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
5000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 result = (bool)(arg1)->Ungetch(arg2);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 resultobj = PyInt_FromLong((long)result);
5009 return resultobj;
5010 fail:
5011 return NULL;
5012 }
5013
5014
5015 static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject *resultobj;
5017 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5018 long arg2 ;
5019 int arg3 = (int) wxFromStart ;
5020 long result;
5021 PyObject * obj0 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "pos",(char *) "mode", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 resultobj = PyInt_FromLong((long)result);
5036 return resultobj;
5037 fail:
5038 return NULL;
5039 }
5040
5041
5042 static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5045 long result;
5046 PyObject * obj0 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (long)(arg1)->TellI();
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 resultobj = PyInt_FromLong((long)result);
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5068 PyObject *obj;
5069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5070 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5071 Py_INCREF(obj);
5072 return Py_BuildValue((char *)"");
5073 }
5074 static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5077 PyObject *arg2 = (PyObject *) 0 ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "obj", NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5086 arg2 = obj1;
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 wxOutputStream_write(arg1,arg2);
5090
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 Py_INCREF(Py_None); resultobj = Py_None;
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5102 PyObject *obj;
5103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5104 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5105 Py_INCREF(obj);
5106 return Py_BuildValue((char *)"");
5107 }
5108 static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxInputStream *arg1 = (wxInputStream *) 0 ;
5111 wxString *arg2 = 0 ;
5112 wxString *arg3 = 0 ;
5113 wxString *arg4 = 0 ;
5114 wxDateTime arg5 ;
5115 wxFSFile *result;
5116 wxPyInputStream *temp1 ;
5117 bool created1 ;
5118 bool temp2 = False ;
5119 bool temp3 = False ;
5120 bool temp4 = False ;
5121 wxDateTime *argp5 ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 PyObject * obj2 = 0 ;
5125 PyObject * obj3 = 0 ;
5126 PyObject * obj4 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5132 {
5133 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5134 arg1 = temp1->m_wxis;
5135 created1 = False;
5136 } else {
5137 PyErr_Clear(); // clear the failure of the wxPyConvert above
5138 arg1 = wxPyCBInputStream_create(obj0, False);
5139 if (arg1 == NULL) {
5140 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5141 SWIG_fail;
5142 }
5143 created1 = True;
5144 }
5145 }
5146 {
5147 arg2 = wxString_in_helper(obj1);
5148 if (arg2 == NULL) SWIG_fail;
5149 temp2 = True;
5150 }
5151 {
5152 arg3 = wxString_in_helper(obj2);
5153 if (arg3 == NULL) SWIG_fail;
5154 temp3 = True;
5155 }
5156 {
5157 arg4 = wxString_in_helper(obj3);
5158 if (arg4 == NULL) SWIG_fail;
5159 temp4 = True;
5160 }
5161 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5162 arg5 = *argp5;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 {
5171 resultobj = wxPyMake_wxObject(result);
5172 }
5173 {
5174 if (created1)
5175 delete arg1;
5176 }
5177 {
5178 if (temp2)
5179 delete arg2;
5180 }
5181 {
5182 if (temp3)
5183 delete arg3;
5184 }
5185 {
5186 if (temp4)
5187 delete arg4;
5188 }
5189 return resultobj;
5190 fail:
5191 {
5192 if (created1)
5193 delete arg1;
5194 }
5195 {
5196 if (temp2)
5197 delete arg2;
5198 }
5199 {
5200 if (temp3)
5201 delete arg3;
5202 }
5203 {
5204 if (temp4)
5205 delete arg4;
5206 }
5207 return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxFSFile *arg1 = (wxFSFile *) 0 ;
5214 PyObject * obj0 = 0 ;
5215 char *kwnames[] = {
5216 (char *) "self", NULL
5217 };
5218
5219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 delete arg1;
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 Py_INCREF(Py_None); resultobj = Py_None;
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxFSFile *arg1 = (wxFSFile *) 0 ;
5238 wxInputStream *result;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 result = (wxInputStream *)(arg1)->GetStream();
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 {
5254 wxPyInputStream * _ptr = NULL;
5255
5256 if (result) {
5257 _ptr = new wxPyInputStream(result);
5258 }
5259 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
5260 }
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxFSFile *arg1 = (wxFSFile *) 0 ;
5270 wxString *result;
5271 PyObject * obj0 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 {
5281 wxString const &_result_ref = (arg1)->GetMimeType();
5282 result = (wxString *) &_result_ref;
5283 }
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
5288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5289 return resultobj;
5290 fail:
5291 return NULL;
5292 }
5293
5294
5295 static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxFSFile *arg1 = (wxFSFile *) 0 ;
5298 wxString *result;
5299 PyObject * obj0 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 {
5309 wxString const &_result_ref = (arg1)->GetLocation();
5310 result = (wxString *) &_result_ref;
5311 }
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5317 return resultobj;
5318 fail:
5319 return NULL;
5320 }
5321
5322
5323 static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj;
5325 wxFSFile *arg1 = (wxFSFile *) 0 ;
5326 wxString *result;
5327 PyObject * obj0 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 {
5337 wxString const &_result_ref = (arg1)->GetAnchor();
5338 result = (wxString *) &_result_ref;
5339 }
5340
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5345 return resultobj;
5346 fail:
5347 return NULL;
5348 }
5349
5350
5351 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5352 PyObject *resultobj;
5353 wxFSFile *arg1 = (wxFSFile *) 0 ;
5354 wxDateTime result;
5355 PyObject * obj0 = 0 ;
5356 char *kwnames[] = {
5357 (char *) "self", NULL
5358 };
5359
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (arg1)->GetModificationTime();
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 wxDateTime * resultptr;
5371 resultptr = new wxDateTime((wxDateTime &) result);
5372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5373 }
5374 return resultobj;
5375 fail:
5376 return NULL;
5377 }
5378
5379
5380 static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5381 PyObject *obj;
5382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5383 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5384 Py_INCREF(obj);
5385 return Py_BuildValue((char *)"");
5386 }
5387 static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5388 PyObject *obj;
5389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5390 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5391 Py_INCREF(obj);
5392 return Py_BuildValue((char *)"");
5393 }
5394 static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5395 PyObject *resultobj;
5396 wxPyFileSystemHandler *result;
5397 char *kwnames[] = {
5398 NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5419 PyObject *arg2 = (PyObject *) 0 ;
5420 PyObject *arg3 = (PyObject *) 0 ;
5421 PyObject * obj0 = 0 ;
5422 PyObject * obj1 = 0 ;
5423 PyObject * obj2 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self",(char *) "self",(char *) "_class", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5430 arg2 = obj1;
5431 arg3 = obj2;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 (arg1)->_setCallbackInfo(arg2,arg3);
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 Py_INCREF(Py_None); resultobj = Py_None;
5440 return resultobj;
5441 fail:
5442 return NULL;
5443 }
5444
5445
5446 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj;
5448 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5449 wxString *arg2 = 0 ;
5450 bool result;
5451 bool temp2 = False ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "location", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 arg2 = wxString_in_helper(obj1);
5462 if (arg2 == NULL) SWIG_fail;
5463 temp2 = True;
5464 }
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5468
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 resultobj = PyInt_FromLong((long)result);
5473 {
5474 if (temp2)
5475 delete arg2;
5476 }
5477 return resultobj;
5478 fail:
5479 {
5480 if (temp2)
5481 delete arg2;
5482 }
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5490 wxFileSystem *arg2 = 0 ;
5491 wxString *arg3 = 0 ;
5492 wxFSFile *result;
5493 bool temp3 = False ;
5494 PyObject * obj0 = 0 ;
5495 PyObject * obj1 = 0 ;
5496 PyObject * obj2 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self",(char *) "fs",(char *) "location", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 if (arg2 == NULL) {
5505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5506 }
5507 {
5508 arg3 = wxString_in_helper(obj2);
5509 if (arg3 == NULL) SWIG_fail;
5510 temp3 = True;
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = wxPyMake_wxObject(result);
5521 }
5522 {
5523 if (temp3)
5524 delete arg3;
5525 }
5526 return resultobj;
5527 fail:
5528 {
5529 if (temp3)
5530 delete arg3;
5531 }
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj;
5538 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5539 wxString *arg2 = 0 ;
5540 int arg3 = (int) 0 ;
5541 wxString result;
5542 bool temp2 = False ;
5543 PyObject * obj0 = 0 ;
5544 PyObject * obj1 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self",(char *) "spec",(char *) "flags", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5551 {
5552 arg2 = wxString_in_helper(obj1);
5553 if (arg2 == NULL) SWIG_fail;
5554 temp2 = True;
5555 }
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 #if wxUSE_UNICODE
5565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5566 #else
5567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5568 #endif
5569 }
5570 {
5571 if (temp2)
5572 delete arg2;
5573 }
5574 return resultobj;
5575 fail:
5576 {
5577 if (temp2)
5578 delete arg2;
5579 }
5580 return NULL;
5581 }
5582
5583
5584 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj;
5586 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5587 wxString result;
5588 PyObject * obj0 = 0 ;
5589 char *kwnames[] = {
5590 (char *) "self", NULL
5591 };
5592
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 result = (arg1)->FindNext();
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 {
5603 #if wxUSE_UNICODE
5604 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5605 #else
5606 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5607 #endif
5608 }
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5618 wxString *arg2 = 0 ;
5619 wxString result;
5620 bool temp2 = False ;
5621 PyObject * obj0 = 0 ;
5622 PyObject * obj1 = 0 ;
5623 char *kwnames[] = {
5624 (char *) "self",(char *) "location", NULL
5625 };
5626
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5629 {
5630 arg2 = wxString_in_helper(obj1);
5631 if (arg2 == NULL) SWIG_fail;
5632 temp2 = True;
5633 }
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 result = (arg1)->GetProtocol((wxString const &)*arg2);
5637
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 {
5642 #if wxUSE_UNICODE
5643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5644 #else
5645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5646 #endif
5647 }
5648 {
5649 if (temp2)
5650 delete arg2;
5651 }
5652 return resultobj;
5653 fail:
5654 {
5655 if (temp2)
5656 delete arg2;
5657 }
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5665 wxString *arg2 = 0 ;
5666 wxString result;
5667 bool temp2 = False ;
5668 PyObject * obj0 = 0 ;
5669 PyObject * obj1 = 0 ;
5670 char *kwnames[] = {
5671 (char *) "self",(char *) "location", NULL
5672 };
5673
5674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5676 {
5677 arg2 = wxString_in_helper(obj1);
5678 if (arg2 == NULL) SWIG_fail;
5679 temp2 = True;
5680 }
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) SWIG_fail;
5687 }
5688 {
5689 #if wxUSE_UNICODE
5690 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5691 #else
5692 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5693 #endif
5694 }
5695 {
5696 if (temp2)
5697 delete arg2;
5698 }
5699 return resultobj;
5700 fail:
5701 {
5702 if (temp2)
5703 delete arg2;
5704 }
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5712 wxString *arg2 = 0 ;
5713 wxString result;
5714 bool temp2 = False ;
5715 PyObject * obj0 = 0 ;
5716 PyObject * obj1 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self",(char *) "location", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5723 {
5724 arg2 = wxString_in_helper(obj1);
5725 if (arg2 == NULL) SWIG_fail;
5726 temp2 = True;
5727 }
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (arg1)->GetAnchor((wxString const &)*arg2);
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 {
5736 #if wxUSE_UNICODE
5737 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5738 #else
5739 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5740 #endif
5741 }
5742 {
5743 if (temp2)
5744 delete arg2;
5745 }
5746 return resultobj;
5747 fail:
5748 {
5749 if (temp2)
5750 delete arg2;
5751 }
5752 return NULL;
5753 }
5754
5755
5756 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj;
5758 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5759 wxString *arg2 = 0 ;
5760 wxString result;
5761 bool temp2 = False ;
5762 PyObject * obj0 = 0 ;
5763 PyObject * obj1 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "location", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5770 {
5771 arg2 = wxString_in_helper(obj1);
5772 if (arg2 == NULL) SWIG_fail;
5773 temp2 = True;
5774 }
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 {
5783 #if wxUSE_UNICODE
5784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5785 #else
5786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5787 #endif
5788 }
5789 {
5790 if (temp2)
5791 delete arg2;
5792 }
5793 return resultobj;
5794 fail:
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5806 wxString *arg2 = 0 ;
5807 wxString result;
5808 bool temp2 = False ;
5809 PyObject * obj0 = 0 ;
5810 PyObject * obj1 = 0 ;
5811 char *kwnames[] = {
5812 (char *) "self",(char *) "location", NULL
5813 };
5814
5815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5817 {
5818 arg2 = wxString_in_helper(obj1);
5819 if (arg2 == NULL) SWIG_fail;
5820 temp2 = True;
5821 }
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 #if wxUSE_UNICODE
5831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5832 #else
5833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5834 #endif
5835 }
5836 {
5837 if (temp2)
5838 delete arg2;
5839 }
5840 return resultobj;
5841 fail:
5842 {
5843 if (temp2)
5844 delete arg2;
5845 }
5846 return NULL;
5847 }
5848
5849
5850 static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5851 PyObject *obj;
5852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5853 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
5854 Py_INCREF(obj);
5855 return Py_BuildValue((char *)"");
5856 }
5857 static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxFileSystem *result;
5860 char *kwnames[] = {
5861 NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 result = (wxFileSystem *)new wxFileSystem();
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 {
5873 resultobj = wxPyMake_wxObject(result);
5874 }
5875 return resultobj;
5876 fail:
5877 return NULL;
5878 }
5879
5880
5881 static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5884 PyObject * obj0 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
5890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 delete arg1;
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 Py_INCREF(Py_None); resultobj = Py_None;
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5908 wxString *arg2 = 0 ;
5909 bool arg3 = (bool) False ;
5910 bool temp2 = False ;
5911 PyObject * obj0 = 0 ;
5912 PyObject * obj1 = 0 ;
5913 PyObject * obj2 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 {
5921 arg2 = wxString_in_helper(obj1);
5922 if (arg2 == NULL) SWIG_fail;
5923 temp2 = True;
5924 }
5925 if (obj2) {
5926 arg3 = PyInt_AsLong(obj2) ? true : false;
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 {
5938 if (temp2)
5939 delete arg2;
5940 }
5941 return resultobj;
5942 fail:
5943 {
5944 if (temp2)
5945 delete arg2;
5946 }
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5954 wxString result;
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
5961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5962 {
5963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5964 result = (arg1)->GetPath();
5965
5966 wxPyEndAllowThreads(__tstate);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 }
5969 {
5970 #if wxUSE_UNICODE
5971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5972 #else
5973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5974 #endif
5975 }
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
5985 wxString *arg2 = 0 ;
5986 wxFSFile *result;
5987 bool temp2 = False ;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self",(char *) "location", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
5995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996 {
5997 arg2 = wxString_in_helper(obj1);
5998 if (arg2 == NULL) SWIG_fail;
5999 temp2 = True;
6000 }
6001 {
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 {
6009 resultobj = wxPyMake_wxObject(result);
6010 }
6011 {
6012 if (temp2)
6013 delete arg2;
6014 }
6015 return resultobj;
6016 fail:
6017 {
6018 if (temp2)
6019 delete arg2;
6020 }
6021 return NULL;
6022 }
6023
6024
6025 static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6028 wxString *arg2 = 0 ;
6029 int arg3 = (int) 0 ;
6030 wxString result;
6031 bool temp2 = False ;
6032 PyObject * obj0 = 0 ;
6033 PyObject * obj1 = 0 ;
6034 char *kwnames[] = {
6035 (char *) "self",(char *) "spec",(char *) "flags", NULL
6036 };
6037
6038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6040 {
6041 arg2 = wxString_in_helper(obj1);
6042 if (arg2 == NULL) SWIG_fail;
6043 temp2 = True;
6044 }
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 {
6053 #if wxUSE_UNICODE
6054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6055 #else
6056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6057 #endif
6058 }
6059 {
6060 if (temp2)
6061 delete arg2;
6062 }
6063 return resultobj;
6064 fail:
6065 {
6066 if (temp2)
6067 delete arg2;
6068 }
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6076 wxString result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (arg1)->FindNext();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 {
6092 #if wxUSE_UNICODE
6093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6094 #else
6095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6096 #endif
6097 }
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject *resultobj;
6106 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "handler", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 wxFileSystem::AddHandler(arg1);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 Py_INCREF(Py_None); resultobj = Py_None;
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 char *kwnames[] = {
6131 NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 wxFileSystem::CleanUpHandlers();
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 Py_INCREF(Py_None); resultobj = Py_None;
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxString *arg1 = 0 ;
6152 wxString result;
6153 bool temp1 = False ;
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "filename", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6160 {
6161 arg1 = wxString_in_helper(obj0);
6162 if (arg1 == NULL) SWIG_fail;
6163 temp1 = True;
6164 }
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 {
6173 #if wxUSE_UNICODE
6174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6175 #else
6176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6177 #endif
6178 }
6179 {
6180 if (temp1)
6181 delete arg1;
6182 }
6183 return resultobj;
6184 fail:
6185 {
6186 if (temp1)
6187 delete arg1;
6188 }
6189 return NULL;
6190 }
6191
6192
6193 static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6194 PyObject *obj;
6195 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6196 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6197 Py_INCREF(obj);
6198 return Py_BuildValue((char *)"");
6199 }
6200 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxString *arg1 = 0 ;
6203 wxString result;
6204 bool temp1 = False ;
6205 PyObject * obj0 = 0 ;
6206 char *kwnames[] = {
6207 (char *) "url", NULL
6208 };
6209
6210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6211 {
6212 arg1 = wxString_in_helper(obj0);
6213 if (arg1 == NULL) SWIG_fail;
6214 temp1 = True;
6215 }
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 {
6224 #if wxUSE_UNICODE
6225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6226 #else
6227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6228 #endif
6229 }
6230 {
6231 if (temp1)
6232 delete arg1;
6233 }
6234 return resultobj;
6235 fail:
6236 {
6237 if (temp1)
6238 delete arg1;
6239 }
6240 return NULL;
6241 }
6242
6243
6244 static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxInternetFSHandler *result;
6247 char *kwnames[] = {
6248 NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6269 wxString *arg2 = 0 ;
6270 bool result;
6271 bool temp2 = False ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self",(char *) "location", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6280 {
6281 arg2 = wxString_in_helper(obj1);
6282 if (arg2 == NULL) SWIG_fail;
6283 temp2 = True;
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 resultobj = PyInt_FromLong((long)result);
6293 {
6294 if (temp2)
6295 delete arg2;
6296 }
6297 return resultobj;
6298 fail:
6299 {
6300 if (temp2)
6301 delete arg2;
6302 }
6303 return NULL;
6304 }
6305
6306
6307 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj;
6309 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6310 wxFileSystem *arg2 = 0 ;
6311 wxString *arg3 = 0 ;
6312 wxFSFile *result;
6313 bool temp3 = False ;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 PyObject * obj2 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "self",(char *) "fs",(char *) "location", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6324 if (arg2 == NULL) {
6325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6326 }
6327 {
6328 arg3 = wxString_in_helper(obj2);
6329 if (arg3 == NULL) SWIG_fail;
6330 temp3 = True;
6331 }
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 {
6340 resultobj = wxPyMake_wxObject(result);
6341 }
6342 {
6343 if (temp3)
6344 delete arg3;
6345 }
6346 return resultobj;
6347 fail:
6348 {
6349 if (temp3)
6350 delete arg3;
6351 }
6352 return NULL;
6353 }
6354
6355
6356 static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6357 PyObject *obj;
6358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6359 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6360 Py_INCREF(obj);
6361 return Py_BuildValue((char *)"");
6362 }
6363 static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxZipFSHandler *result;
6366 char *kwnames[] = {
6367 NULL
6368 };
6369
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6371 {
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 result = (wxZipFSHandler *)new wxZipFSHandler();
6374
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6388 wxString *arg2 = 0 ;
6389 bool result;
6390 bool temp2 = False ;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self",(char *) "location", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 {
6400 arg2 = wxString_in_helper(obj1);
6401 if (arg2 == NULL) SWIG_fail;
6402 temp2 = True;
6403 }
6404 {
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6407
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 resultobj = PyInt_FromLong((long)result);
6412 {
6413 if (temp2)
6414 delete arg2;
6415 }
6416 return resultobj;
6417 fail:
6418 {
6419 if (temp2)
6420 delete arg2;
6421 }
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6429 wxFileSystem *arg2 = 0 ;
6430 wxString *arg3 = 0 ;
6431 wxFSFile *result;
6432 bool temp3 = False ;
6433 PyObject * obj0 = 0 ;
6434 PyObject * obj1 = 0 ;
6435 PyObject * obj2 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self",(char *) "fs",(char *) "location", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6443 if (arg2 == NULL) {
6444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6445 }
6446 {
6447 arg3 = wxString_in_helper(obj2);
6448 if (arg3 == NULL) SWIG_fail;
6449 temp3 = True;
6450 }
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 {
6459 resultobj = wxPyMake_wxObject(result);
6460 }
6461 {
6462 if (temp3)
6463 delete arg3;
6464 }
6465 return resultobj;
6466 fail:
6467 {
6468 if (temp3)
6469 delete arg3;
6470 }
6471 return NULL;
6472 }
6473
6474
6475 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj;
6477 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6478 wxString *arg2 = 0 ;
6479 int arg3 = (int) 0 ;
6480 wxString result;
6481 bool temp2 = False ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 char *kwnames[] = {
6485 (char *) "self",(char *) "spec",(char *) "flags", NULL
6486 };
6487
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6490 {
6491 arg2 = wxString_in_helper(obj1);
6492 if (arg2 == NULL) SWIG_fail;
6493 temp2 = True;
6494 }
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6498
6499 wxPyEndAllowThreads(__tstate);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 }
6502 {
6503 #if wxUSE_UNICODE
6504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6505 #else
6506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6507 #endif
6508 }
6509 {
6510 if (temp2)
6511 delete arg2;
6512 }
6513 return resultobj;
6514 fail:
6515 {
6516 if (temp2)
6517 delete arg2;
6518 }
6519 return NULL;
6520 }
6521
6522
6523 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj;
6525 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6526 wxString result;
6527 PyObject * obj0 = 0 ;
6528 char *kwnames[] = {
6529 (char *) "self", NULL
6530 };
6531
6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (arg1)->FindNext();
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 {
6542 #if wxUSE_UNICODE
6543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6544 #else
6545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6546 #endif
6547 }
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6555 PyObject *obj;
6556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6558 Py_INCREF(obj);
6559 return Py_BuildValue((char *)"");
6560 }
6561 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxString *arg1 = 0 ;
6564 wxImage *arg2 = 0 ;
6565 long arg3 ;
6566 bool temp1 = False ;
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569 char *kwnames[] = {
6570 (char *) "filename",(char *) "image",(char *) "type", NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6574 {
6575 arg1 = wxString_in_helper(obj0);
6576 if (arg1 == NULL) SWIG_fail;
6577 temp1 = True;
6578 }
6579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 if (arg2 == NULL) {
6581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 Py_INCREF(Py_None); resultobj = Py_None;
6591 {
6592 if (temp1)
6593 delete arg1;
6594 }
6595 return resultobj;
6596 fail:
6597 {
6598 if (temp1)
6599 delete arg1;
6600 }
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxString *arg1 = 0 ;
6608 wxBitmap *arg2 = 0 ;
6609 long arg3 ;
6610 bool temp1 = False ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6618 {
6619 arg1 = wxString_in_helper(obj0);
6620 if (arg1 == NULL) SWIG_fail;
6621 temp1 = True;
6622 }
6623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6624 if (arg2 == NULL) {
6625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6626 }
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 Py_INCREF(Py_None); resultobj = Py_None;
6635 {
6636 if (temp1)
6637 delete arg1;
6638 }
6639 return resultobj;
6640 fail:
6641 {
6642 if (temp1)
6643 delete arg1;
6644 }
6645 return NULL;
6646 }
6647
6648
6649 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxString *arg1 = 0 ;
6652 PyObject *arg2 = (PyObject *) 0 ;
6653 bool temp1 = False ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "filename",(char *) "data", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6661 {
6662 arg1 = wxString_in_helper(obj0);
6663 if (arg1 == NULL) SWIG_fail;
6664 temp1 = True;
6665 }
6666 arg2 = obj1;
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 Py_INCREF(Py_None); resultobj = Py_None;
6675 {
6676 if (temp1)
6677 delete arg1;
6678 }
6679 return resultobj;
6680 fail:
6681 {
6682 if (temp1)
6683 delete arg1;
6684 }
6685 return NULL;
6686 }
6687
6688
6689 static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxMemoryFSHandler *result;
6692 char *kwnames[] = {
6693 NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxString *arg1 = 0 ;
6714 bool temp1 = False ;
6715 PyObject * obj0 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "filename", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6721 {
6722 arg1 = wxString_in_helper(obj0);
6723 if (arg1 == NULL) SWIG_fail;
6724 temp1 = True;
6725 }
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 Py_INCREF(Py_None); resultobj = Py_None;
6734 {
6735 if (temp1)
6736 delete arg1;
6737 }
6738 return resultobj;
6739 fail:
6740 {
6741 if (temp1)
6742 delete arg1;
6743 }
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6751 wxString *arg2 = 0 ;
6752 bool result;
6753 bool temp2 = False ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self",(char *) "location", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6762 {
6763 arg2 = wxString_in_helper(obj1);
6764 if (arg2 == NULL) SWIG_fail;
6765 temp2 = True;
6766 }
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = PyInt_FromLong((long)result);
6775 {
6776 if (temp2)
6777 delete arg2;
6778 }
6779 return resultobj;
6780 fail:
6781 {
6782 if (temp2)
6783 delete arg2;
6784 }
6785 return NULL;
6786 }
6787
6788
6789 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6792 wxFileSystem *arg2 = 0 ;
6793 wxString *arg3 = 0 ;
6794 wxFSFile *result;
6795 bool temp3 = False ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 PyObject * obj2 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self",(char *) "fs",(char *) "location", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6806 if (arg2 == NULL) {
6807 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6808 }
6809 {
6810 arg3 = wxString_in_helper(obj2);
6811 if (arg3 == NULL) SWIG_fail;
6812 temp3 = True;
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 {
6822 resultobj = wxPyMake_wxObject(result);
6823 }
6824 {
6825 if (temp3)
6826 delete arg3;
6827 }
6828 return resultobj;
6829 fail:
6830 {
6831 if (temp3)
6832 delete arg3;
6833 }
6834 return NULL;
6835 }
6836
6837
6838 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6841 wxString *arg2 = 0 ;
6842 int arg3 = (int) 0 ;
6843 wxString result;
6844 bool temp2 = False ;
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self",(char *) "spec",(char *) "flags", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 {
6854 arg2 = wxString_in_helper(obj1);
6855 if (arg2 == NULL) SWIG_fail;
6856 temp2 = True;
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 {
6866 #if wxUSE_UNICODE
6867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6868 #else
6869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6870 #endif
6871 }
6872 {
6873 if (temp2)
6874 delete arg2;
6875 }
6876 return resultobj;
6877 fail:
6878 {
6879 if (temp2)
6880 delete arg2;
6881 }
6882 return NULL;
6883 }
6884
6885
6886 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6887 PyObject *resultobj;
6888 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6889 wxString result;
6890 PyObject * obj0 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (arg1)->FindNext();
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 {
6905 #if wxUSE_UNICODE
6906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6907 #else
6908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6909 #endif
6910 }
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
6918 PyObject *obj;
6919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6920 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
6921 Py_INCREF(obj);
6922 return Py_BuildValue((char *)"");
6923 }
6924 static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
6925 PyObject *resultobj;
6926 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6927 wxString result;
6928 PyObject * obj0 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = (arg1)->GetName();
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 {
6943 #if wxUSE_UNICODE
6944 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6945 #else
6946 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6947 #endif
6948 }
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6958 wxString result;
6959 PyObject * obj0 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
6965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 result = (arg1)->GetExtension();
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 {
6974 #if wxUSE_UNICODE
6975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6976 #else
6977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6978 #endif
6979 }
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
6989 long result;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (long)(arg1)->GetType();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = PyInt_FromLong((long)result);
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7014 wxString result;
7015 PyObject * obj0 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (arg1)->GetMimeType();
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 {
7030 #if wxUSE_UNICODE
7031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7032 #else
7033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7034 #endif
7035 }
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7045 wxString *arg2 = 0 ;
7046 bool result;
7047 bool temp2 = False ;
7048 PyObject * obj0 = 0 ;
7049 PyObject * obj1 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self",(char *) "name", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7056 {
7057 arg2 = wxString_in_helper(obj1);
7058 if (arg2 == NULL) SWIG_fail;
7059 temp2 = True;
7060 }
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 resultobj = PyInt_FromLong((long)result);
7069 {
7070 if (temp2)
7071 delete arg2;
7072 }
7073 return resultobj;
7074 fail:
7075 {
7076 if (temp2)
7077 delete arg2;
7078 }
7079 return NULL;
7080 }
7081
7082
7083 static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7086 wxString *arg2 = 0 ;
7087 bool temp2 = False ;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "name", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7096 {
7097 arg2 = wxString_in_helper(obj1);
7098 if (arg2 == NULL) SWIG_fail;
7099 temp2 = True;
7100 }
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->SetName((wxString const &)*arg2);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 Py_INCREF(Py_None); resultobj = Py_None;
7109 {
7110 if (temp2)
7111 delete arg2;
7112 }
7113 return resultobj;
7114 fail:
7115 {
7116 if (temp2)
7117 delete arg2;
7118 }
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7126 wxString *arg2 = 0 ;
7127 bool temp2 = False ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "self",(char *) "extension", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7136 {
7137 arg2 = wxString_in_helper(obj1);
7138 if (arg2 == NULL) SWIG_fail;
7139 temp2 = True;
7140 }
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 (arg1)->SetExtension((wxString const &)*arg2);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 {
7150 if (temp2)
7151 delete arg2;
7152 }
7153 return resultobj;
7154 fail:
7155 {
7156 if (temp2)
7157 delete arg2;
7158 }
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7166 long arg2 ;
7167 PyObject * obj0 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "type", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetType(arg2);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7191 wxString *arg2 = 0 ;
7192 bool temp2 = False ;
7193 PyObject * obj0 = 0 ;
7194 PyObject * obj1 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "mimetype", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7201 {
7202 arg2 = wxString_in_helper(obj1);
7203 if (arg2 == NULL) SWIG_fail;
7204 temp2 = True;
7205 }
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 (arg1)->SetMimeType((wxString const &)*arg2);
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 Py_INCREF(Py_None); resultobj = Py_None;
7214 {
7215 if (temp2)
7216 delete arg2;
7217 }
7218 return resultobj;
7219 fail:
7220 {
7221 if (temp2)
7222 delete arg2;
7223 }
7224 return NULL;
7225 }
7226
7227
7228 static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7229 PyObject *obj;
7230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7231 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7232 Py_INCREF(obj);
7233 return Py_BuildValue((char *)"");
7234 }
7235 static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj;
7237 wxImageHistogram *result;
7238 char *kwnames[] = {
7239 NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (wxImageHistogram *)new wxImageHistogram();
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 unsigned char arg1 ;
7260 unsigned char arg2 ;
7261 unsigned char arg3 ;
7262 unsigned long result;
7263 PyObject * obj0 = 0 ;
7264 PyObject * obj1 = 0 ;
7265 PyObject * obj2 = 0 ;
7266 char *kwnames[] = {
7267 (char *) "r",(char *) "g",(char *) "b", NULL
7268 };
7269
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7271 arg1 = (unsigned char) PyInt_AsLong(obj0);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 arg2 = (unsigned char) PyInt_AsLong(obj1);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 arg3 = (unsigned char) PyInt_AsLong(obj2);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = PyInt_FromLong((long)result);
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7294 unsigned char *arg2 = (unsigned char *) 0 ;
7295 unsigned char *arg3 = (unsigned char *) 0 ;
7296 unsigned char *arg4 = (unsigned char *) 0 ;
7297 unsigned char arg5 = (unsigned char) 1 ;
7298 unsigned char arg6 = (unsigned char) 0 ;
7299 unsigned char arg7 = (unsigned char) 0 ;
7300 bool result;
7301 unsigned char temp2 ;
7302 unsigned char temp3 ;
7303 unsigned char temp4 ;
7304 PyObject * obj0 = 0 ;
7305 PyObject * obj1 = 0 ;
7306 PyObject * obj2 = 0 ;
7307 PyObject * obj3 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7310 };
7311
7312 arg2 = &temp2;
7313 arg3 = &temp3;
7314 arg4 = &temp4;
7315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7317 if (obj1) {
7318 arg5 = (unsigned char) PyInt_AsLong(obj1);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 if (obj2) {
7322 arg6 = (unsigned char) PyInt_AsLong(obj2);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 if (obj3) {
7326 arg7 = (unsigned char) PyInt_AsLong(obj3);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 {
7330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7331 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7332
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 resultobj = PyInt_FromLong((long)result);
7337 {
7338 PyObject *o = PyInt_FromLong((long) (*arg2));
7339 resultobj = t_output_helper(resultobj,o);
7340 }
7341 {
7342 PyObject *o = PyInt_FromLong((long) (*arg3));
7343 resultobj = t_output_helper(resultobj,o);
7344 }
7345 {
7346 PyObject *o = PyInt_FromLong((long) (*arg4));
7347 resultobj = t_output_helper(resultobj,o);
7348 }
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7356 PyObject *obj;
7357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7359 Py_INCREF(obj);
7360 return Py_BuildValue((char *)"");
7361 }
7362 static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxString *arg1 = 0 ;
7365 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7366 int arg3 = (int) -1 ;
7367 wxImage *result;
7368 bool temp1 = False ;
7369 PyObject * obj0 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "name",(char *) "type",(char *) "index", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7375 {
7376 arg1 = wxString_in_helper(obj0);
7377 if (arg1 == NULL) SWIG_fail;
7378 temp1 = True;
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7388 {
7389 if (temp1)
7390 delete arg1;
7391 }
7392 return resultobj;
7393 fail:
7394 {
7395 if (temp1)
7396 delete arg1;
7397 }
7398 return NULL;
7399 }
7400
7401
7402 static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxImage *arg1 = (wxImage *) 0 ;
7405 PyObject * obj0 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "self", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7412 {
7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
7414 delete arg1;
7415
7416 wxPyEndAllowThreads(__tstate);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 Py_INCREF(Py_None); resultobj = Py_None;
7420 return resultobj;
7421 fail:
7422 return NULL;
7423 }
7424
7425
7426 static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7427 PyObject *resultobj;
7428 wxString *arg1 = 0 ;
7429 wxString *arg2 = 0 ;
7430 int arg3 = (int) -1 ;
7431 wxImage *result;
7432 bool temp1 = False ;
7433 bool temp2 = False ;
7434 PyObject * obj0 = 0 ;
7435 PyObject * obj1 = 0 ;
7436 char *kwnames[] = {
7437 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7441 {
7442 arg1 = wxString_in_helper(obj0);
7443 if (arg1 == NULL) SWIG_fail;
7444 temp1 = True;
7445 }
7446 {
7447 arg2 = wxString_in_helper(obj1);
7448 if (arg2 == NULL) SWIG_fail;
7449 temp2 = True;
7450 }
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7459 {
7460 if (temp1)
7461 delete arg1;
7462 }
7463 {
7464 if (temp2)
7465 delete arg2;
7466 }
7467 return resultobj;
7468 fail:
7469 {
7470 if (temp1)
7471 delete arg1;
7472 }
7473 {
7474 if (temp2)
7475 delete arg2;
7476 }
7477 return NULL;
7478 }
7479
7480
7481 static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7482 PyObject *resultobj;
7483 wxInputStream *arg1 = 0 ;
7484 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7485 int arg3 = (int) -1 ;
7486 wxImage *result;
7487 wxPyInputStream *temp1 ;
7488 bool created1 ;
7489 PyObject * obj0 = 0 ;
7490 char *kwnames[] = {
7491 (char *) "stream",(char *) "type",(char *) "index", NULL
7492 };
7493
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7495 {
7496 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7497 arg1 = temp1->m_wxis;
7498 created1 = False;
7499 } else {
7500 PyErr_Clear(); // clear the failure of the wxPyConvert above
7501 arg1 = wxPyCBInputStream_create(obj0, False);
7502 if (arg1 == NULL) {
7503 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7504 SWIG_fail;
7505 }
7506 created1 = True;
7507 }
7508 }
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7517 {
7518 if (created1)
7519 delete arg1;
7520 }
7521 return resultobj;
7522 fail:
7523 {
7524 if (created1)
7525 delete arg1;
7526 }
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxInputStream *arg1 = 0 ;
7534 wxString *arg2 = 0 ;
7535 int arg3 = (int) -1 ;
7536 wxImage *result;
7537 wxPyInputStream *temp1 ;
7538 bool created1 ;
7539 bool temp2 = False ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7547 {
7548 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7549 arg1 = temp1->m_wxis;
7550 created1 = False;
7551 } else {
7552 PyErr_Clear(); // clear the failure of the wxPyConvert above
7553 arg1 = wxPyCBInputStream_create(obj0, False);
7554 if (arg1 == NULL) {
7555 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7556 SWIG_fail;
7557 }
7558 created1 = True;
7559 }
7560 }
7561 {
7562 arg2 = wxString_in_helper(obj1);
7563 if (arg2 == NULL) SWIG_fail;
7564 temp2 = True;
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7574 {
7575 if (created1)
7576 delete arg1;
7577 }
7578 {
7579 if (temp2)
7580 delete arg2;
7581 }
7582 return resultobj;
7583 fail:
7584 {
7585 if (created1)
7586 delete arg1;
7587 }
7588 {
7589 if (temp2)
7590 delete arg2;
7591 }
7592 return NULL;
7593 }
7594
7595
7596 static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 int arg1 = (int) 0 ;
7599 int arg2 = (int) 0 ;
7600 bool arg3 = (bool) True ;
7601 wxImage *result;
7602 PyObject * obj2 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "width",(char *) "height",(char *) "clear", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7608 if (obj2) {
7609 arg3 = PyInt_AsLong(obj2) ? true : false;
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxBitmap *arg1 = 0 ;
7629 wxImage *result;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "bitmap", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7637 if (arg1 == NULL) {
7638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 int arg1 ;
7657 int arg2 ;
7658 unsigned char *arg3 = (unsigned char *) 0 ;
7659 wxImage *result;
7660 PyObject * obj2 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "width",(char *) "height",(char *) "data", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7666 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxImage *arg1 = (wxImage *) 0 ;
7684 int arg2 ;
7685 int arg3 ;
7686 PyObject * obj0 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "width",(char *) "height", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 (arg1)->Create(arg2,arg3);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 wxImage *arg1 = (wxImage *) 0 ;
7710 PyObject * obj0 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "self", NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7717 {
7718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7719 (arg1)->Destroy();
7720
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
7724 Py_INCREF(Py_None); resultobj = Py_None;
7725 return resultobj;
7726 fail:
7727 return NULL;
7728 }
7729
7730
7731 static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject *resultobj;
7733 wxImage *arg1 = (wxImage *) 0 ;
7734 int arg2 ;
7735 int arg3 ;
7736 SwigValueWrapper< wxImage > result;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "width",(char *) "height", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 result = (arg1)->Scale(arg2,arg3);
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 {
7752 wxImage * resultptr;
7753 resultptr = new wxImage((wxImage &) result);
7754 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7755 }
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxImage *arg1 = (wxImage *) 0 ;
7765 int arg2 ;
7766 int arg3 ;
7767 SwigValueWrapper< wxImage > result;
7768 PyObject * obj0 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 {
7783 wxImage * resultptr;
7784 resultptr = new wxImage((wxImage &) result);
7785 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7786 }
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxImage *arg1 = (wxImage *) 0 ;
7796 int arg2 ;
7797 int arg3 ;
7798 wxImage *result;
7799 PyObject * obj0 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self",(char *) "width",(char *) "height", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 {
7809 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7810 result = (wxImage *) &_result_ref;
7811 }
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxImage *arg1 = (wxImage *) 0 ;
7826 int arg2 ;
7827 int arg3 ;
7828 unsigned char arg4 ;
7829 unsigned char arg5 ;
7830 unsigned char arg6 ;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj3 = 0 ;
7833 PyObject * obj4 = 0 ;
7834 PyObject * obj5 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7841 arg4 = (unsigned char) PyInt_AsLong(obj3);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 arg5 = (unsigned char) PyInt_AsLong(obj4);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 arg6 = (unsigned char) PyInt_AsLong(obj5);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 Py_INCREF(Py_None); resultobj = Py_None;
7855 return resultobj;
7856 fail:
7857 return NULL;
7858 }
7859
7860
7861 static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
7862 PyObject *resultobj;
7863 wxImage *arg1 = (wxImage *) 0 ;
7864 int arg2 ;
7865 int arg3 ;
7866 unsigned char result;
7867 PyObject * obj0 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "x",(char *) "y", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 resultobj = PyInt_FromLong((long)result);
7882 return resultobj;
7883 fail:
7884 return NULL;
7885 }
7886
7887
7888 static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxImage *arg1 = (wxImage *) 0 ;
7891 int arg2 ;
7892 int arg3 ;
7893 unsigned char result;
7894 PyObject * obj0 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self",(char *) "x",(char *) "y", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
7900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 resultobj = PyInt_FromLong((long)result);
7909 return resultobj;
7910 fail:
7911 return NULL;
7912 }
7913
7914
7915 static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
7916 PyObject *resultobj;
7917 wxImage *arg1 = (wxImage *) 0 ;
7918 int arg2 ;
7919 int arg3 ;
7920 unsigned char result;
7921 PyObject * obj0 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self",(char *) "x",(char *) "y", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
7927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 resultobj = PyInt_FromLong((long)result);
7936 return resultobj;
7937 fail:
7938 return NULL;
7939 }
7940
7941
7942 static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj;
7944 wxImage *arg1 = (wxImage *) 0 ;
7945 int arg2 ;
7946 int arg3 ;
7947 unsigned char arg4 ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj3 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7956 arg4 = (unsigned char) PyInt_AsLong(obj3);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 (arg1)->SetAlpha(arg2,arg3,arg4);
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 Py_INCREF(Py_None); resultobj = Py_None;
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxImage *arg1 = (wxImage *) 0 ;
7975 int arg2 ;
7976 int arg3 ;
7977 unsigned char result;
7978 PyObject * obj0 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self",(char *) "x",(char *) "y", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
7984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = PyInt_FromLong((long)result);
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8000 PyObject *resultobj;
8001 wxImage *arg1 = (wxImage *) 0 ;
8002 bool result;
8003 PyObject * obj0 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (bool)(arg1)->HasAlpha();
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 resultobj = PyInt_FromLong((long)result);
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxImage *arg1 = (wxImage *) 0 ;
8027 byte *arg2 = (byte *) 0 ;
8028 byte *arg3 = (byte *) 0 ;
8029 byte *arg4 = (byte *) 0 ;
8030 byte arg5 = (byte) 0 ;
8031 byte arg6 = (byte) 0 ;
8032 byte arg7 = (byte) 0 ;
8033 bool result;
8034 byte temp2 ;
8035 byte temp3 ;
8036 byte temp4 ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
8039 PyObject * obj2 = 0 ;
8040 PyObject * obj3 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8043 };
8044
8045 arg2 = &temp2;
8046 arg3 = &temp3;
8047 arg4 = &temp4;
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8050 if (obj1) {
8051 arg5 = (byte) PyInt_AsLong(obj1);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 if (obj2) {
8055 arg6 = (byte) PyInt_AsLong(obj2);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 if (obj3) {
8059 arg7 = (byte) PyInt_AsLong(obj3);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 resultobj = PyInt_FromLong((long)result);
8070 {
8071 PyObject *o = PyInt_FromLong((long) (*arg2));
8072 resultobj = t_output_helper(resultobj,o);
8073 }
8074 {
8075 PyObject *o = PyInt_FromLong((long) (*arg3));
8076 resultobj = t_output_helper(resultobj,o);
8077 }
8078 {
8079 PyObject *o = PyInt_FromLong((long) (*arg4));
8080 resultobj = t_output_helper(resultobj,o);
8081 }
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxImage *arg1 = (wxImage *) 0 ;
8091 wxImage *arg2 = 0 ;
8092 byte arg3 ;
8093 byte arg4 ;
8094 byte arg5 ;
8095 bool result;
8096 PyObject * obj0 = 0 ;
8097 PyObject * obj1 = 0 ;
8098 PyObject * obj2 = 0 ;
8099 PyObject * obj3 = 0 ;
8100 PyObject * obj4 = 0 ;
8101 char *kwnames[] = {
8102 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8103 };
8104
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8108 if (arg2 == NULL) {
8109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8110 }
8111 arg3 = (byte) PyInt_AsLong(obj2);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 arg4 = (byte) PyInt_AsLong(obj3);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 arg5 = (byte) PyInt_AsLong(obj4);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 resultobj = PyInt_FromLong((long)result);
8125 return resultobj;
8126 fail:
8127 return NULL;
8128 }
8129
8130
8131 static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8132 PyObject *resultobj;
8133 wxString *arg1 = 0 ;
8134 bool result;
8135 bool temp1 = False ;
8136 PyObject * obj0 = 0 ;
8137 char *kwnames[] = {
8138 (char *) "name", NULL
8139 };
8140
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8142 {
8143 arg1 = wxString_in_helper(obj0);
8144 if (arg1 == NULL) SWIG_fail;
8145 temp1 = True;
8146 }
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 resultobj = PyInt_FromLong((long)result);
8155 {
8156 if (temp1)
8157 delete arg1;
8158 }
8159 return resultobj;
8160 fail:
8161 {
8162 if (temp1)
8163 delete arg1;
8164 }
8165 return NULL;
8166 }
8167
8168
8169 static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 wxString *arg1 = 0 ;
8172 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8173 int result;
8174 bool temp1 = False ;
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "name",(char *) "type", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8181 {
8182 arg1 = wxString_in_helper(obj0);
8183 if (arg1 == NULL) SWIG_fail;
8184 temp1 = True;
8185 }
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 resultobj = PyInt_FromLong((long)result);
8194 {
8195 if (temp1)
8196 delete arg1;
8197 }
8198 return resultobj;
8199 fail:
8200 {
8201 if (temp1)
8202 delete arg1;
8203 }
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxImage *arg1 = (wxImage *) 0 ;
8211 wxString *arg2 = 0 ;
8212 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8213 int arg4 = (int) -1 ;
8214 bool result;
8215 bool temp2 = False ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 {
8225 arg2 = wxString_in_helper(obj1);
8226 if (arg2 == NULL) SWIG_fail;
8227 temp2 = True;
8228 }
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 resultobj = PyInt_FromLong((long)result);
8237 {
8238 if (temp2)
8239 delete arg2;
8240 }
8241 return resultobj;
8242 fail:
8243 {
8244 if (temp2)
8245 delete arg2;
8246 }
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxImage *arg1 = (wxImage *) 0 ;
8254 wxString *arg2 = 0 ;
8255 wxString *arg3 = 0 ;
8256 int arg4 = (int) -1 ;
8257 bool result;
8258 bool temp2 = False ;
8259 bool temp3 = False ;
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 PyObject * obj2 = 0 ;
8263 char *kwnames[] = {
8264 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8265 };
8266
8267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8269 {
8270 arg2 = wxString_in_helper(obj1);
8271 if (arg2 == NULL) SWIG_fail;
8272 temp2 = True;
8273 }
8274 {
8275 arg3 = wxString_in_helper(obj2);
8276 if (arg3 == NULL) SWIG_fail;
8277 temp3 = True;
8278 }
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 resultobj = PyInt_FromLong((long)result);
8287 {
8288 if (temp2)
8289 delete arg2;
8290 }
8291 {
8292 if (temp3)
8293 delete arg3;
8294 }
8295 return resultobj;
8296 fail:
8297 {
8298 if (temp2)
8299 delete arg2;
8300 }
8301 {
8302 if (temp3)
8303 delete arg3;
8304 }
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxImage *arg1 = (wxImage *) 0 ;
8312 wxString *arg2 = 0 ;
8313 int arg3 ;
8314 bool result;
8315 bool temp2 = False ;
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "name",(char *) "type", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8324 {
8325 arg2 = wxString_in_helper(obj1);
8326 if (arg2 == NULL) SWIG_fail;
8327 temp2 = True;
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 resultobj = PyInt_FromLong((long)result);
8337 {
8338 if (temp2)
8339 delete arg2;
8340 }
8341 return resultobj;
8342 fail:
8343 {
8344 if (temp2)
8345 delete arg2;
8346 }
8347 return NULL;
8348 }
8349
8350
8351 static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxImage *arg1 = (wxImage *) 0 ;
8354 wxString *arg2 = 0 ;
8355 wxString *arg3 = 0 ;
8356 bool result;
8357 bool temp2 = False ;
8358 bool temp3 = False ;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 PyObject * obj2 = 0 ;
8362 char *kwnames[] = {
8363 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8364 };
8365
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8368 {
8369 arg2 = wxString_in_helper(obj1);
8370 if (arg2 == NULL) SWIG_fail;
8371 temp2 = True;
8372 }
8373 {
8374 arg3 = wxString_in_helper(obj2);
8375 if (arg3 == NULL) SWIG_fail;
8376 temp3 = True;
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 resultobj = PyInt_FromLong((long)result);
8386 {
8387 if (temp2)
8388 delete arg2;
8389 }
8390 {
8391 if (temp3)
8392 delete arg3;
8393 }
8394 return resultobj;
8395 fail:
8396 {
8397 if (temp2)
8398 delete arg2;
8399 }
8400 {
8401 if (temp3)
8402 delete arg3;
8403 }
8404 return NULL;
8405 }
8406
8407
8408 static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxInputStream *arg1 = 0 ;
8411 bool result;
8412 wxPyInputStream *temp1 ;
8413 bool created1 ;
8414 PyObject * obj0 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "stream", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8420 {
8421 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8422 arg1 = temp1->m_wxis;
8423 created1 = False;
8424 } else {
8425 PyErr_Clear(); // clear the failure of the wxPyConvert above
8426 arg1 = wxPyCBInputStream_create(obj0, False);
8427 if (arg1 == NULL) {
8428 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8429 SWIG_fail;
8430 }
8431 created1 = True;
8432 }
8433 }
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = (bool)wxImage::CanRead(*arg1);
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 resultobj = PyInt_FromLong((long)result);
8442 {
8443 if (created1)
8444 delete arg1;
8445 }
8446 return resultobj;
8447 fail:
8448 {
8449 if (created1)
8450 delete arg1;
8451 }
8452 return NULL;
8453 }
8454
8455
8456 static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxImage *arg1 = (wxImage *) 0 ;
8459 wxInputStream *arg2 = 0 ;
8460 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8461 int arg4 = (int) -1 ;
8462 bool result;
8463 wxPyInputStream *temp2 ;
8464 bool created2 ;
8465 PyObject * obj0 = 0 ;
8466 PyObject * obj1 = 0 ;
8467 char *kwnames[] = {
8468 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8469 };
8470
8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8473 {
8474 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8475 arg2 = temp2->m_wxis;
8476 created2 = False;
8477 } else {
8478 PyErr_Clear(); // clear the failure of the wxPyConvert above
8479 arg2 = wxPyCBInputStream_create(obj1, False);
8480 if (arg2 == NULL) {
8481 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8482 SWIG_fail;
8483 }
8484 created2 = True;
8485 }
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = PyInt_FromLong((long)result);
8495 {
8496 if (created2)
8497 delete arg2;
8498 }
8499 return resultobj;
8500 fail:
8501 {
8502 if (created2)
8503 delete arg2;
8504 }
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxImage *arg1 = (wxImage *) 0 ;
8512 wxInputStream *arg2 = 0 ;
8513 wxString *arg3 = 0 ;
8514 int arg4 = (int) -1 ;
8515 bool result;
8516 wxPyInputStream *temp2 ;
8517 bool created2 ;
8518 bool temp3 = False ;
8519 PyObject * obj0 = 0 ;
8520 PyObject * obj1 = 0 ;
8521 PyObject * obj2 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8528 {
8529 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8530 arg2 = temp2->m_wxis;
8531 created2 = False;
8532 } else {
8533 PyErr_Clear(); // clear the failure of the wxPyConvert above
8534 arg2 = wxPyCBInputStream_create(obj1, False);
8535 if (arg2 == NULL) {
8536 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8537 SWIG_fail;
8538 }
8539 created2 = True;
8540 }
8541 }
8542 {
8543 arg3 = wxString_in_helper(obj2);
8544 if (arg3 == NULL) SWIG_fail;
8545 temp3 = True;
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = PyInt_FromLong((long)result);
8555 {
8556 if (created2)
8557 delete arg2;
8558 }
8559 {
8560 if (temp3)
8561 delete arg3;
8562 }
8563 return resultobj;
8564 fail:
8565 {
8566 if (created2)
8567 delete arg2;
8568 }
8569 {
8570 if (temp3)
8571 delete arg3;
8572 }
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxImage *arg1 = (wxImage *) 0 ;
8580 bool result;
8581 PyObject * obj0 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 result = (bool)(arg1)->Ok();
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 resultobj = PyInt_FromLong((long)result);
8596 return resultobj;
8597 fail:
8598 return NULL;
8599 }
8600
8601
8602 static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxImage *arg1 = (wxImage *) 0 ;
8605 int result;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (int)(arg1)->GetWidth();
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = PyInt_FromLong((long)result);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxImage *arg1 = (wxImage *) 0 ;
8630 int result;
8631 PyObject * obj0 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (int)(arg1)->GetHeight();
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = PyInt_FromLong((long)result);
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj;
8654 wxImage *arg1 = (wxImage *) 0 ;
8655 wxRect *arg2 = 0 ;
8656 SwigValueWrapper< wxImage > result;
8657 wxRect temp2 ;
8658 PyObject * obj0 = 0 ;
8659 PyObject * obj1 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self",(char *) "rect", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 {
8667 arg2 = &temp2;
8668 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8669 }
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 {
8678 wxImage * resultptr;
8679 resultptr = new wxImage((wxImage &) result);
8680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8681 }
8682 return resultobj;
8683 fail:
8684 return NULL;
8685 }
8686
8687
8688 static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8689 PyObject *resultobj;
8690 wxImage *arg1 = (wxImage *) 0 ;
8691 SwigValueWrapper< wxImage > result;
8692 PyObject * obj0 = 0 ;
8693 char *kwnames[] = {
8694 (char *) "self", NULL
8695 };
8696
8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8699 {
8700 PyThreadState* __tstate = wxPyBeginAllowThreads();
8701 result = (arg1)->Copy();
8702
8703 wxPyEndAllowThreads(__tstate);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 {
8707 wxImage * resultptr;
8708 resultptr = new wxImage((wxImage &) result);
8709 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8710 }
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8718 PyObject *resultobj;
8719 wxImage *arg1 = (wxImage *) 0 ;
8720 wxImage *arg2 = 0 ;
8721 int arg3 ;
8722 int arg4 ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8732 if (arg2 == NULL) {
8733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8734 }
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 Py_INCREF(Py_None); resultobj = Py_None;
8743 return resultobj;
8744 fail:
8745 return NULL;
8746 }
8747
8748
8749 static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxImage *arg1 = (wxImage *) 0 ;
8752 PyObject *result;
8753 PyObject * obj0 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (PyObject *)wxImage_GetData(arg1);
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 resultobj = result;
8768 return resultobj;
8769 fail:
8770 return NULL;
8771 }
8772
8773
8774 static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8775 PyObject *resultobj;
8776 wxImage *arg1 = (wxImage *) 0 ;
8777 PyObject *arg2 = (PyObject *) 0 ;
8778 PyObject * obj0 = 0 ;
8779 PyObject * obj1 = 0 ;
8780 char *kwnames[] = {
8781 (char *) "self",(char *) "data", NULL
8782 };
8783
8784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8786 arg2 = obj1;
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 wxImage_SetData(arg1,arg2);
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 Py_INCREF(Py_None); resultobj = Py_None;
8795 return resultobj;
8796 fail:
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxImage *arg1 = (wxImage *) 0 ;
8804 PyObject *result;
8805 PyObject * obj0 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 resultobj = result;
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxImage *arg1 = (wxImage *) 0 ;
8829 PyObject *arg2 = (PyObject *) 0 ;
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self",(char *) "data", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 arg2 = obj1;
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 wxImage_SetDataBuffer(arg1,arg2);
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 Py_INCREF(Py_None); resultobj = Py_None;
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxImage *arg1 = (wxImage *) 0 ;
8856 PyObject *result;
8857 PyObject * obj0 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (PyObject *)wxImage_GetAlphaData(arg1);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 resultobj = result;
8872 return resultobj;
8873 fail:
8874 return NULL;
8875 }
8876
8877
8878 static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxImage *arg1 = (wxImage *) 0 ;
8881 PyObject *arg2 = (PyObject *) 0 ;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self",(char *) "data", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
8889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8890 arg2 = obj1;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 wxImage_SetAlphaData(arg1,arg2);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxImage *arg1 = (wxImage *) 0 ;
8908 PyObject *result;
8909 PyObject * obj0 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
8915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 resultobj = result;
8924 return resultobj;
8925 fail:
8926 return NULL;
8927 }
8928
8929
8930 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8931 PyObject *resultobj;
8932 wxImage *arg1 = (wxImage *) 0 ;
8933 PyObject *arg2 = (PyObject *) 0 ;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self",(char *) "data", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
8941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8942 arg2 = obj1;
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 wxImage_SetAlphaBuffer(arg1,arg2);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 Py_INCREF(Py_None); resultobj = Py_None;
8951 return resultobj;
8952 fail:
8953 return NULL;
8954 }
8955
8956
8957 static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8958 PyObject *resultobj;
8959 wxImage *arg1 = (wxImage *) 0 ;
8960 unsigned char arg2 ;
8961 unsigned char arg3 ;
8962 unsigned char arg4 ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 PyObject * obj2 = 0 ;
8966 PyObject * obj3 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8973 arg2 = (unsigned char) PyInt_AsLong(obj1);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 arg3 = (unsigned char) PyInt_AsLong(obj2);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 arg4 = (unsigned char) PyInt_AsLong(obj3);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->SetMaskColour(arg2,arg3,arg4);
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 Py_INCREF(Py_None); resultobj = Py_None;
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxImage *arg1 = (wxImage *) 0 ;
8996 unsigned char result;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 result = (unsigned char)(arg1)->GetMaskRed();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 resultobj = PyInt_FromLong((long)result);
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxImage *arg1 = (wxImage *) 0 ;
9021 unsigned char result;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = (unsigned char)(arg1)->GetMaskGreen();
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 resultobj = PyInt_FromLong((long)result);
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 wxImage *arg1 = (wxImage *) 0 ;
9046 unsigned char result;
9047 PyObject * obj0 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (unsigned char)(arg1)->GetMaskBlue();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 resultobj = PyInt_FromLong((long)result);
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxImage *arg1 = (wxImage *) 0 ;
9071 bool arg2 = (bool) True ;
9072 PyObject * obj0 = 0 ;
9073 PyObject * obj1 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self",(char *) "mask", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9080 if (obj1) {
9081 arg2 = PyInt_AsLong(obj1) ? true : false;
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 (arg1)->SetMask(arg2);
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 Py_INCREF(Py_None); resultobj = Py_None;
9092 return resultobj;
9093 fail:
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxImage *arg1 = (wxImage *) 0 ;
9101 bool result;
9102 PyObject * obj0 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (bool)(arg1)->HasMask();
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 resultobj = PyInt_FromLong((long)result);
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxImage *arg1 = (wxImage *) 0 ;
9126 double arg2 ;
9127 wxPoint *arg3 = 0 ;
9128 bool arg4 = (bool) True ;
9129 wxPoint *arg5 = (wxPoint *) NULL ;
9130 SwigValueWrapper< wxImage > result;
9131 wxPoint temp3 ;
9132 PyObject * obj0 = 0 ;
9133 PyObject * obj2 = 0 ;
9134 PyObject * obj3 = 0 ;
9135 PyObject * obj4 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9142 {
9143 arg3 = &temp3;
9144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9145 }
9146 if (obj3) {
9147 arg4 = PyInt_AsLong(obj3) ? true : false;
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 if (obj4) {
9151 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9152 }
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 {
9161 wxImage * resultptr;
9162 resultptr = new wxImage((wxImage &) result);
9163 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9164 }
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxImage *arg1 = (wxImage *) 0 ;
9174 bool arg2 = (bool) True ;
9175 SwigValueWrapper< wxImage > result;
9176 PyObject * obj0 = 0 ;
9177 PyObject * obj1 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self",(char *) "clockwise", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9184 if (obj1) {
9185 arg2 = PyInt_AsLong(obj1) ? true : false;
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = (arg1)->Rotate90(arg2);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 {
9196 wxImage * resultptr;
9197 resultptr = new wxImage((wxImage &) result);
9198 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9199 }
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxImage *arg1 = (wxImage *) 0 ;
9209 bool arg2 = (bool) True ;
9210 SwigValueWrapper< wxImage > result;
9211 PyObject * obj0 = 0 ;
9212 PyObject * obj1 = 0 ;
9213 char *kwnames[] = {
9214 (char *) "self",(char *) "horizontally", NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9219 if (obj1) {
9220 arg2 = PyInt_AsLong(obj1) ? true : false;
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 result = (arg1)->Mirror(arg2);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 {
9231 wxImage * resultptr;
9232 resultptr = new wxImage((wxImage &) result);
9233 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9234 }
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxImage *arg1 = (wxImage *) 0 ;
9244 unsigned char arg2 ;
9245 unsigned char arg3 ;
9246 unsigned char arg4 ;
9247 unsigned char arg5 ;
9248 unsigned char arg6 ;
9249 unsigned char arg7 ;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 PyObject * obj2 = 0 ;
9253 PyObject * obj3 = 0 ;
9254 PyObject * obj4 = 0 ;
9255 PyObject * obj5 = 0 ;
9256 PyObject * obj6 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9263 arg2 = (unsigned char) PyInt_AsLong(obj1);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 arg3 = (unsigned char) PyInt_AsLong(obj2);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 arg4 = (unsigned char) PyInt_AsLong(obj3);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 arg5 = (unsigned char) PyInt_AsLong(obj4);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 arg6 = (unsigned char) PyInt_AsLong(obj5);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 arg7 = (unsigned char) PyInt_AsLong(obj6);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 Py_INCREF(Py_None); resultobj = Py_None;
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxImage *arg1 = (wxImage *) 0 ;
9292 unsigned char arg2 ;
9293 unsigned char arg3 ;
9294 unsigned char arg4 ;
9295 SwigValueWrapper< wxImage > result;
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 PyObject * obj2 = 0 ;
9299 PyObject * obj3 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9306 arg2 = (unsigned char) PyInt_AsLong(obj1);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 arg3 = (unsigned char) PyInt_AsLong(obj2);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 arg4 = (unsigned char) PyInt_AsLong(obj3);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 {
9320 wxImage * resultptr;
9321 resultptr = new wxImage((wxImage &) result);
9322 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9323 }
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxImage *arg1 = (wxImage *) 0 ;
9333 wxString *arg2 = 0 ;
9334 wxString *arg3 = 0 ;
9335 bool temp2 = False ;
9336 bool temp3 = False ;
9337 PyObject * obj0 = 0 ;
9338 PyObject * obj1 = 0 ;
9339 PyObject * obj2 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self",(char *) "name",(char *) "value", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 {
9347 arg2 = wxString_in_helper(obj1);
9348 if (arg2 == NULL) SWIG_fail;
9349 temp2 = True;
9350 }
9351 {
9352 arg3 = wxString_in_helper(obj2);
9353 if (arg3 == NULL) SWIG_fail;
9354 temp3 = True;
9355 }
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 Py_INCREF(Py_None); resultobj = Py_None;
9364 {
9365 if (temp2)
9366 delete arg2;
9367 }
9368 {
9369 if (temp3)
9370 delete arg3;
9371 }
9372 return resultobj;
9373 fail:
9374 {
9375 if (temp2)
9376 delete arg2;
9377 }
9378 {
9379 if (temp3)
9380 delete arg3;
9381 }
9382 return NULL;
9383 }
9384
9385
9386 static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxImage *arg1 = (wxImage *) 0 ;
9389 wxString *arg2 = 0 ;
9390 int arg3 ;
9391 bool temp2 = False ;
9392 PyObject * obj0 = 0 ;
9393 PyObject * obj1 = 0 ;
9394 char *kwnames[] = {
9395 (char *) "self",(char *) "name",(char *) "value", NULL
9396 };
9397
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9400 {
9401 arg2 = wxString_in_helper(obj1);
9402 if (arg2 == NULL) SWIG_fail;
9403 temp2 = True;
9404 }
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 (arg1)->SetOption((wxString const &)*arg2,arg3);
9408
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 Py_INCREF(Py_None); resultobj = Py_None;
9413 {
9414 if (temp2)
9415 delete arg2;
9416 }
9417 return resultobj;
9418 fail:
9419 {
9420 if (temp2)
9421 delete arg2;
9422 }
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxImage *arg1 = (wxImage *) 0 ;
9430 wxString *arg2 = 0 ;
9431 wxString result;
9432 bool temp2 = False ;
9433 PyObject * obj0 = 0 ;
9434 PyObject * obj1 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self",(char *) "name", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9441 {
9442 arg2 = wxString_in_helper(obj1);
9443 if (arg2 == NULL) SWIG_fail;
9444 temp2 = True;
9445 }
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 {
9454 #if wxUSE_UNICODE
9455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9456 #else
9457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9458 #endif
9459 }
9460 {
9461 if (temp2)
9462 delete arg2;
9463 }
9464 return resultobj;
9465 fail:
9466 {
9467 if (temp2)
9468 delete arg2;
9469 }
9470 return NULL;
9471 }
9472
9473
9474 static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj;
9476 wxImage *arg1 = (wxImage *) 0 ;
9477 wxString *arg2 = 0 ;
9478 int result;
9479 bool temp2 = False ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self",(char *) "name", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9488 {
9489 arg2 = wxString_in_helper(obj1);
9490 if (arg2 == NULL) SWIG_fail;
9491 temp2 = True;
9492 }
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = PyInt_FromLong((long)result);
9501 {
9502 if (temp2)
9503 delete arg2;
9504 }
9505 return resultobj;
9506 fail:
9507 {
9508 if (temp2)
9509 delete arg2;
9510 }
9511 return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxImage *arg1 = (wxImage *) 0 ;
9518 wxString *arg2 = 0 ;
9519 bool result;
9520 bool temp2 = False ;
9521 PyObject * obj0 = 0 ;
9522 PyObject * obj1 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "self",(char *) "name", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 {
9530 arg2 = wxString_in_helper(obj1);
9531 if (arg2 == NULL) SWIG_fail;
9532 temp2 = True;
9533 }
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = PyInt_FromLong((long)result);
9542 {
9543 if (temp2)
9544 delete arg2;
9545 }
9546 return resultobj;
9547 fail:
9548 {
9549 if (temp2)
9550 delete arg2;
9551 }
9552 return NULL;
9553 }
9554
9555
9556 static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj;
9558 wxImage *arg1 = (wxImage *) 0 ;
9559 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9560 unsigned long result;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self",(char *) "stopafter", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9569 if (obj1) {
9570 arg2 = (unsigned long) PyInt_AsLong(obj1);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (unsigned long)(arg1)->CountColours(arg2);
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 resultobj = PyInt_FromLong((long)result);
9581 return resultobj;
9582 fail:
9583 return NULL;
9584 }
9585
9586
9587 static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxImage *arg1 = (wxImage *) 0 ;
9590 wxImageHistogram *arg2 = 0 ;
9591 unsigned long result;
9592 PyObject * obj0 = 0 ;
9593 PyObject * obj1 = 0 ;
9594 char *kwnames[] = {
9595 (char *) "self",(char *) "h", NULL
9596 };
9597
9598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9601 if (arg2 == NULL) {
9602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9603 }
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = PyInt_FromLong((long)result);
9612 return resultobj;
9613 fail:
9614 return NULL;
9615 }
9616
9617
9618 static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj;
9620 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "handler", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 wxImage::AddHandler(arg1);
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 Py_INCREF(Py_None); resultobj = Py_None;
9636 return resultobj;
9637 fail:
9638 return NULL;
9639 }
9640
9641
9642 static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject *resultobj;
9644 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9645 PyObject * obj0 = 0 ;
9646 char *kwnames[] = {
9647 (char *) "handler", NULL
9648 };
9649
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 wxImage::InsertHandler(arg1);
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 Py_INCREF(Py_None); resultobj = Py_None;
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxString *arg1 = 0 ;
9669 bool result;
9670 bool temp1 = False ;
9671 PyObject * obj0 = 0 ;
9672 char *kwnames[] = {
9673 (char *) "name", NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9677 {
9678 arg1 = wxString_in_helper(obj0);
9679 if (arg1 == NULL) SWIG_fail;
9680 temp1 = True;
9681 }
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 resultobj = PyInt_FromLong((long)result);
9690 {
9691 if (temp1)
9692 delete arg1;
9693 }
9694 return resultobj;
9695 fail:
9696 {
9697 if (temp1)
9698 delete arg1;
9699 }
9700 return NULL;
9701 }
9702
9703
9704 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj;
9706 wxString result;
9707 char *kwnames[] = {
9708 NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = wxImage::GetImageExtWildcard();
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 {
9720 #if wxUSE_UNICODE
9721 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9722 #else
9723 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9724 #endif
9725 }
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj;
9734 wxImage *arg1 = (wxImage *) 0 ;
9735 wxBitmap result;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 result = wxImage_ConvertToBitmap(arg1);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 wxBitmap * resultptr;
9752 resultptr = new wxBitmap((wxBitmap &) result);
9753 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9754 }
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxImage *arg1 = (wxImage *) 0 ;
9764 unsigned char arg2 ;
9765 unsigned char arg3 ;
9766 unsigned char arg4 ;
9767 wxBitmap result;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 PyObject * obj2 = 0 ;
9771 PyObject * obj3 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 arg2 = (unsigned char) PyInt_AsLong(obj1);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 arg3 = (unsigned char) PyInt_AsLong(obj2);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 arg4 = (unsigned char) PyInt_AsLong(obj3);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 {
9792 wxBitmap * resultptr;
9793 resultptr = new wxBitmap((wxBitmap &) result);
9794 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9795 }
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9803 PyObject *obj;
9804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9805 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9806 Py_INCREF(obj);
9807 return Py_BuildValue((char *)"");
9808 }
9809 static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 char *kwnames[] = {
9812 NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9816 {
9817 PyThreadState* __tstate = wxPyBeginAllowThreads();
9818 wxInitAllImageHandlers();
9819
9820 wxPyEndAllowThreads(__tstate);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 }
9823 Py_INCREF(Py_None); resultobj = Py_None;
9824 return resultobj;
9825 fail:
9826 return NULL;
9827 }
9828
9829
9830 static int _wrap_NullImage_set(PyObject *_val) {
9831 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9832 return 1;
9833 }
9834
9835
9836 static PyObject *_wrap_NullImage_get() {
9837 PyObject *pyobj;
9838
9839 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9840 return pyobj;
9841 }
9842
9843
9844 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9845 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9846 return 1;
9847 }
9848
9849
9850 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9851 PyObject *pyobj;
9852
9853 {
9854 #if wxUSE_UNICODE
9855 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9856 #else
9857 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9858 #endif
9859 }
9860 return pyobj;
9861 }
9862
9863
9864 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
9865 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9866 return 1;
9867 }
9868
9869
9870 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9871 PyObject *pyobj;
9872
9873 {
9874 #if wxUSE_UNICODE
9875 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9876 #else
9877 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
9878 #endif
9879 }
9880 return pyobj;
9881 }
9882
9883
9884 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
9885 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9886 return 1;
9887 }
9888
9889
9890 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9891 PyObject *pyobj;
9892
9893 {
9894 #if wxUSE_UNICODE
9895 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9896 #else
9897 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
9898 #endif
9899 }
9900 return pyobj;
9901 }
9902
9903
9904 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
9905 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9906 return 1;
9907 }
9908
9909
9910 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
9911 PyObject *pyobj;
9912
9913 {
9914 #if wxUSE_UNICODE
9915 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9916 #else
9917 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
9918 #endif
9919 }
9920 return pyobj;
9921 }
9922
9923
9924 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
9925 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9926 return 1;
9927 }
9928
9929
9930 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9931 PyObject *pyobj;
9932
9933 {
9934 #if wxUSE_UNICODE
9935 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9936 #else
9937 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
9938 #endif
9939 }
9940 return pyobj;
9941 }
9942
9943
9944 static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9945 PyObject *resultobj;
9946 wxBMPHandler *result;
9947 char *kwnames[] = {
9948 NULL
9949 };
9950
9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (wxBMPHandler *)new wxBMPHandler();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
9967 PyObject *obj;
9968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
9970 Py_INCREF(obj);
9971 return Py_BuildValue((char *)"");
9972 }
9973 static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxICOHandler *result;
9976 char *kwnames[] = {
9977 NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (wxICOHandler *)new wxICOHandler();
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
9996 PyObject *obj;
9997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9998 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
9999 Py_INCREF(obj);
10000 return Py_BuildValue((char *)"");
10001 }
10002 static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxCURHandler *result;
10005 char *kwnames[] = {
10006 NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (wxCURHandler *)new wxCURHandler();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10025 PyObject *obj;
10026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10028 Py_INCREF(obj);
10029 return Py_BuildValue((char *)"");
10030 }
10031 static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj;
10033 wxANIHandler *result;
10034 char *kwnames[] = {
10035 NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (wxANIHandler *)new wxANIHandler();
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10054 PyObject *obj;
10055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10056 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10057 Py_INCREF(obj);
10058 return Py_BuildValue((char *)"");
10059 }
10060 static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj;
10062 wxPNGHandler *result;
10063 char *kwnames[] = {
10064 NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (wxPNGHandler *)new wxPNGHandler();
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10083 PyObject *obj;
10084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10085 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10086 Py_INCREF(obj);
10087 return Py_BuildValue((char *)"");
10088 }
10089 static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 wxGIFHandler *result;
10092 char *kwnames[] = {
10093 NULL
10094 };
10095
10096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (wxGIFHandler *)new wxGIFHandler();
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10112 PyObject *obj;
10113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10114 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10115 Py_INCREF(obj);
10116 return Py_BuildValue((char *)"");
10117 }
10118 static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPCXHandler *result;
10121 char *kwnames[] = {
10122 NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (wxPCXHandler *)new wxPCXHandler();
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10141 PyObject *obj;
10142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10144 Py_INCREF(obj);
10145 return Py_BuildValue((char *)"");
10146 }
10147 static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxJPEGHandler *result;
10150 char *kwnames[] = {
10151 NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (wxJPEGHandler *)new wxJPEGHandler();
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10163 return resultobj;
10164 fail:
10165 return NULL;
10166 }
10167
10168
10169 static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10170 PyObject *obj;
10171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10172 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10173 Py_INCREF(obj);
10174 return Py_BuildValue((char *)"");
10175 }
10176 static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxPNMHandler *result;
10179 char *kwnames[] = {
10180 NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (wxPNMHandler *)new wxPNMHandler();
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10192 return resultobj;
10193 fail:
10194 return NULL;
10195 }
10196
10197
10198 static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10199 PyObject *obj;
10200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10201 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10202 Py_INCREF(obj);
10203 return Py_BuildValue((char *)"");
10204 }
10205 static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxXPMHandler *result;
10208 char *kwnames[] = {
10209 NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (wxXPMHandler *)new wxXPMHandler();
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10228 PyObject *obj;
10229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10230 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10231 Py_INCREF(obj);
10232 return Py_BuildValue((char *)"");
10233 }
10234 static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxTIFFHandler *result;
10237 char *kwnames[] = {
10238 NULL
10239 };
10240
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (wxTIFFHandler *)new wxTIFFHandler();
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10257 PyObject *obj;
10258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10259 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10260 Py_INCREF(obj);
10261 return Py_BuildValue((char *)"");
10262 }
10263 static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxEvtHandler *result;
10266 char *kwnames[] = {
10267 NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 result = (wxEvtHandler *)new wxEvtHandler();
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 {
10279 resultobj = wxPyMake_wxObject(result);
10280 }
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10290 wxEvtHandler *result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 {
10306 resultobj = wxPyMake_wxObject(result);
10307 }
10308 return resultobj;
10309 fail:
10310 return NULL;
10311 }
10312
10313
10314 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10317 wxEvtHandler *result;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 {
10333 resultobj = wxPyMake_wxObject(result);
10334 }
10335 return resultobj;
10336 fail:
10337 return NULL;
10338 }
10339
10340
10341 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj;
10343 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10344 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self",(char *) "handler", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 (arg1)->SetNextHandler(arg2);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 Py_INCREF(Py_None); resultobj = Py_None;
10362 return resultobj;
10363 fail:
10364 return NULL;
10365 }
10366
10367
10368 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10369 PyObject *resultobj;
10370 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10371 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char *kwnames[] = {
10375 (char *) "self",(char *) "handler", NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetPreviousHandler(arg2);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj;
10397 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10398 bool result;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (bool)(arg1)->GetEvtHandlerEnabled();
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = PyInt_FromLong((long)result);
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10423 bool arg2 ;
10424 PyObject * obj0 = 0 ;
10425 PyObject * obj1 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self",(char *) "enabled", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10432 arg2 = PyInt_AsLong(obj1) ? true : false;
10433 if (PyErr_Occurred()) SWIG_fail;
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 (arg1)->SetEvtHandlerEnabled(arg2);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 Py_INCREF(Py_None); resultobj = Py_None;
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj;
10450 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10451 wxEvent *arg2 = 0 ;
10452 bool result;
10453 PyObject * obj0 = 0 ;
10454 PyObject * obj1 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self",(char *) "event", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10462 if (arg2 == NULL) {
10463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10464 }
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (bool)(arg1)->ProcessEvent(*arg2);
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = PyInt_FromLong((long)result);
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj;
10481 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10482 wxEvent *arg2 = 0 ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self",(char *) "event", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10492 if (arg2 == NULL) {
10493 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10494 }
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 (arg1)->AddPendingEvent(*arg2);
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
10502 Py_INCREF(Py_None); resultobj = Py_None;
10503 return resultobj;
10504 fail:
10505 return NULL;
10506 }
10507
10508
10509 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->ProcessPendingEvents();
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 return resultobj;
10528 fail:
10529 return NULL;
10530 }
10531
10532
10533 static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject *resultobj;
10535 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10536 int arg2 ;
10537 int arg3 ;
10538 int arg4 ;
10539 PyObject *arg5 = (PyObject *) 0 ;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj4 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10548 arg5 = obj4;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10564 PyObject *resultobj;
10565 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10566 int arg2 ;
10567 int arg3 = (int) -1 ;
10568 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10569 bool result;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 resultobj = PyInt_FromLong((long)result);
10585 return resultobj;
10586 fail:
10587 return NULL;
10588 }
10589
10590
10591 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10592 PyObject *resultobj;
10593 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10594 PyObject *arg2 = (PyObject *) 0 ;
10595 PyObject * obj0 = 0 ;
10596 PyObject * obj1 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self",(char *) "_self", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10603 arg2 = obj1;
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 wxEvtHandler__setOORInfo(arg1,arg2);
10607
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 Py_INCREF(Py_None); resultobj = Py_None;
10612 return resultobj;
10613 fail:
10614 return NULL;
10615 }
10616
10617
10618 static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10619 PyObject *obj;
10620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10621 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10622 Py_INCREF(obj);
10623 return Py_BuildValue((char *)"");
10624 }
10625 static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxEventType result;
10628 char *kwnames[] = {
10629 NULL
10630 };
10631
10632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (wxEventType)wxNewEventType();
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 resultobj = PyInt_FromLong((long)result);
10641 return resultobj;
10642 fail:
10643 return NULL;
10644 }
10645
10646
10647 static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxEvent *arg1 = (wxEvent *) 0 ;
10650 PyObject * obj0 = 0 ;
10651 char *kwnames[] = {
10652 (char *) "self", NULL
10653 };
10654
10655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 delete arg1;
10660
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 Py_INCREF(Py_None); resultobj = Py_None;
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxEvent *arg1 = (wxEvent *) 0 ;
10674 wxEventType arg2 ;
10675 PyObject * obj0 = 0 ;
10676 char *kwnames[] = {
10677 (char *) "self",(char *) "typ", NULL
10678 };
10679
10680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->SetEventType(arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxEvent *arg1 = (wxEvent *) 0 ;
10699 wxEventType result;
10700 PyObject * obj0 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = PyInt_FromLong((long)result);
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxEvent *arg1 = (wxEvent *) 0 ;
10724 wxObject *result;
10725 PyObject * obj0 = 0 ;
10726 char *kwnames[] = {
10727 (char *) "self", NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 {
10740 resultobj = wxPyMake_wxObject(result);
10741 }
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxEvent *arg1 = (wxEvent *) 0 ;
10751 wxObject *arg2 = (wxObject *) 0 ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self",(char *) "obj", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->SetEventObject(arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxEvent *arg1 = (wxEvent *) 0 ;
10778 long result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = PyInt_FromLong((long)result);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxEvent *arg1 = (wxEvent *) 0 ;
10803 long arg2 = (long) 0 ;
10804 PyObject * obj0 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self",(char *) "ts", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 (arg1)->SetTimestamp(arg2);
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 Py_INCREF(Py_None); resultobj = Py_None;
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxEvent *arg1 = (wxEvent *) 0 ;
10828 int result;
10829 PyObject * obj0 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 result = (int)((wxEvent const *)arg1)->GetId();
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 resultobj = PyInt_FromLong((long)result);
10844 return resultobj;
10845 fail:
10846 return NULL;
10847 }
10848
10849
10850 static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 wxEvent *arg1 = (wxEvent *) 0 ;
10853 int arg2 ;
10854 PyObject * obj0 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "Id", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->SetId(arg2);
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 return resultobj;
10870 fail:
10871 return NULL;
10872 }
10873
10874
10875 static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj;
10877 wxEvent *arg1 = (wxEvent *) 0 ;
10878 bool result;
10879 PyObject * obj0 = 0 ;
10880 char *kwnames[] = {
10881 (char *) "self", NULL
10882 };
10883
10884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
10885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10886 {
10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
10888 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
10889
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 resultobj = PyInt_FromLong((long)result);
10894 return resultobj;
10895 fail:
10896 return NULL;
10897 }
10898
10899
10900 static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
10901 PyObject *resultobj;
10902 wxEvent *arg1 = (wxEvent *) 0 ;
10903 bool arg2 = (bool) True ;
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self",(char *) "skip", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 if (obj1) {
10913 arg2 = PyInt_AsLong(obj1) ? true : false;
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->Skip(arg2);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927 }
10928
10929
10930 static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxEvent *arg1 = (wxEvent *) 0 ;
10933 bool result;
10934 PyObject * obj0 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self", NULL
10937 };
10938
10939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
10940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (bool)((wxEvent const *)arg1)->GetSkipped();
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = PyInt_FromLong((long)result);
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxEvent *arg1 = (wxEvent *) 0 ;
10958 bool result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = PyInt_FromLong((long)result);
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj;
10982 wxEvent *arg1 = (wxEvent *) 0 ;
10983 int result;
10984 PyObject * obj0 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
10990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (int)(arg1)->StopPropagation();
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = PyInt_FromLong((long)result);
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxEvent *arg1 = (wxEvent *) 0 ;
11008 int arg2 ;
11009 PyObject * obj0 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self",(char *) "propagationLevel", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 (arg1)->ResumePropagation(arg2);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 Py_INCREF(Py_None); resultobj = Py_None;
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11031 PyObject *resultobj;
11032 wxEvent *arg1 = (wxEvent *) 0 ;
11033 wxEvent *result;
11034 PyObject * obj0 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "self", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (wxEvent *)(arg1)->Clone();
11044
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11049 return resultobj;
11050 fail:
11051 return NULL;
11052 }
11053
11054
11055 static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11056 PyObject *obj;
11057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11059 Py_INCREF(obj);
11060 return Py_BuildValue((char *)"");
11061 }
11062 static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxEvent *arg1 = 0 ;
11065 wxPropagationDisabler *result;
11066 PyObject * obj0 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "event", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11073 if (arg1 == NULL) {
11074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11075 }
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 delete arg1;
11103
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 Py_INCREF(Py_None); resultobj = Py_None;
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11115 PyObject *obj;
11116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11117 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11118 Py_INCREF(obj);
11119 return Py_BuildValue((char *)"");
11120 }
11121 static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11122 PyObject *resultobj;
11123 wxEvent *arg1 = 0 ;
11124 wxPropagateOnce *result;
11125 PyObject * obj0 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "event", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11132 if (arg1 == NULL) {
11133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11134 }
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11138
11139 wxPyEndAllowThreads(__tstate);
11140 if (PyErr_Occurred()) SWIG_fail;
11141 }
11142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11143 return resultobj;
11144 fail:
11145 return NULL;
11146 }
11147
11148
11149 static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11150 PyObject *resultobj;
11151 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 delete arg1;
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 Py_INCREF(Py_None); resultobj = Py_None;
11167 return resultobj;
11168 fail:
11169 return NULL;
11170 }
11171
11172
11173 static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11174 PyObject *obj;
11175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11176 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11177 Py_INCREF(obj);
11178 return Py_BuildValue((char *)"");
11179 }
11180 static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11181 PyObject *resultobj;
11182 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11183 int arg2 = (int) 0 ;
11184 wxCommandEvent *result;
11185 char *kwnames[] = {
11186 (char *) "commandType",(char *) "winid", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11190 {
11191 PyThreadState* __tstate = wxPyBeginAllowThreads();
11192 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11193
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11198 return resultobj;
11199 fail:
11200 return NULL;
11201 }
11202
11203
11204 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj;
11206 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11207 int result;
11208 PyObject * obj0 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 resultobj = PyInt_FromLong((long)result);
11223 return resultobj;
11224 fail:
11225 return NULL;
11226 }
11227
11228
11229 static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11232 wxString *arg2 = 0 ;
11233 bool temp2 = False ;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "s", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11242 {
11243 arg2 = wxString_in_helper(obj1);
11244 if (arg2 == NULL) SWIG_fail;
11245 temp2 = True;
11246 }
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->SetString((wxString const &)*arg2);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 {
11256 if (temp2)
11257 delete arg2;
11258 }
11259 return resultobj;
11260 fail:
11261 {
11262 if (temp2)
11263 delete arg2;
11264 }
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11272 wxString result;
11273 PyObject * obj0 = 0 ;
11274 char *kwnames[] = {
11275 (char *) "self", NULL
11276 };
11277
11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
11279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 result = ((wxCommandEvent const *)arg1)->GetString();
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 {
11288 #if wxUSE_UNICODE
11289 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11290 #else
11291 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11292 #endif
11293 }
11294 return resultobj;
11295 fail:
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11303 bool result;
11304 PyObject * obj0 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = PyInt_FromLong((long)result);
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11328 bool result;
11329 PyObject * obj0 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 resultobj = PyInt_FromLong((long)result);
11344 return resultobj;
11345 fail:
11346 return NULL;
11347 }
11348
11349
11350 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11353 long arg2 ;
11354 PyObject * obj0 = 0 ;
11355 char *kwnames[] = {
11356 (char *) "self",(char *) "extraLong", NULL
11357 };
11358
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 (arg1)->SetExtraLong(arg2);
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 Py_INCREF(Py_None); resultobj = Py_None;
11369 return resultobj;
11370 fail:
11371 return NULL;
11372 }
11373
11374
11375 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11378 long result;
11379 PyObject * obj0 = 0 ;
11380 char *kwnames[] = {
11381 (char *) "self", NULL
11382 };
11383
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = PyInt_FromLong((long)result);
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11403 int arg2 ;
11404 PyObject * obj0 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "i", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 (arg1)->SetInt(arg2);
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 Py_INCREF(Py_None); resultobj = Py_None;
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj;
11427 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11428 long result;
11429 PyObject * obj0 = 0 ;
11430 char *kwnames[] = {
11431 (char *) "self", NULL
11432 };
11433
11434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 resultobj = PyInt_FromLong((long)result);
11444 return resultobj;
11445 fail:
11446 return NULL;
11447 }
11448
11449
11450 static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11453 wxEvent *result;
11454 PyObject * obj0 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
11468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11476 PyObject *obj;
11477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11479 Py_INCREF(obj);
11480 return Py_BuildValue((char *)"");
11481 }
11482 static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11485 int arg2 = (int) 0 ;
11486 wxNotifyEvent *result;
11487 char *kwnames[] = {
11488 (char *) "commandType",(char *) "winid", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11509 PyObject * obj0 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 (arg1)->Veto();
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 Py_INCREF(Py_None); resultobj = Py_None;
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11533 PyObject * obj0 = 0 ;
11534 char *kwnames[] = {
11535 (char *) "self", NULL
11536 };
11537
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 (arg1)->Allow();
11543
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 Py_INCREF(Py_None); resultobj = Py_None;
11548 return resultobj;
11549 fail:
11550 return NULL;
11551 }
11552
11553
11554 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj;
11556 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11557 bool result;
11558 PyObject * obj0 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (bool)(arg1)->IsAllowed();
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 resultobj = PyInt_FromLong((long)result);
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11580 PyObject *obj;
11581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11583 Py_INCREF(obj);
11584 return Py_BuildValue((char *)"");
11585 }
11586 static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11587 PyObject *resultobj;
11588 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11589 int arg2 = (int) 0 ;
11590 int arg3 = (int) 0 ;
11591 int arg4 = (int) 0 ;
11592 wxScrollEvent *result;
11593 char *kwnames[] = {
11594 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11595 };
11596
11597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11606 return resultobj;
11607 fail:
11608 return NULL;
11609 }
11610
11611
11612 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11613 PyObject *resultobj;
11614 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11615 int result;
11616 PyObject * obj0 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 resultobj = PyInt_FromLong((long)result);
11631 return resultobj;
11632 fail:
11633 return NULL;
11634 }
11635
11636
11637 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11638 PyObject *resultobj;
11639 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11640 int result;
11641 PyObject * obj0 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "self", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = PyInt_FromLong((long)result);
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11665 int arg2 ;
11666 PyObject * obj0 = 0 ;
11667 char *kwnames[] = {
11668 (char *) "self",(char *) "orient", NULL
11669 };
11670
11671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 (arg1)->SetOrientation(arg2);
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 Py_INCREF(Py_None); resultobj = Py_None;
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11690 int arg2 ;
11691 PyObject * obj0 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "pos", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 (arg1)->SetPosition(arg2);
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 Py_INCREF(Py_None); resultobj = Py_None;
11706 return resultobj;
11707 fail:
11708 return NULL;
11709 }
11710
11711
11712 static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11713 PyObject *obj;
11714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11715 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11716 Py_INCREF(obj);
11717 return Py_BuildValue((char *)"");
11718 }
11719 static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11722 int arg2 = (int) 0 ;
11723 int arg3 = (int) 0 ;
11724 wxScrollWinEvent *result;
11725 char *kwnames[] = {
11726 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11738 return resultobj;
11739 fail:
11740 return NULL;
11741 }
11742
11743
11744 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11745 PyObject *resultobj;
11746 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11747 int result;
11748 PyObject * obj0 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11755 {
11756 PyThreadState* __tstate = wxPyBeginAllowThreads();
11757 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11758
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 resultobj = PyInt_FromLong((long)result);
11763 return resultobj;
11764 fail:
11765 return NULL;
11766 }
11767
11768
11769 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11770 PyObject *resultobj;
11771 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11772 int result;
11773 PyObject * obj0 = 0 ;
11774 char *kwnames[] = {
11775 (char *) "self", NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11783
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 resultobj = PyInt_FromLong((long)result);
11788 return resultobj;
11789 fail:
11790 return NULL;
11791 }
11792
11793
11794 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11795 PyObject *resultobj;
11796 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11797 int arg2 ;
11798 PyObject * obj0 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "orient", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 (arg1)->SetOrientation(arg2);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 Py_INCREF(Py_None); resultobj = Py_None;
11813 return resultobj;
11814 fail:
11815 return NULL;
11816 }
11817
11818
11819 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj;
11821 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11822 int arg2 ;
11823 PyObject * obj0 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "self",(char *) "pos", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 (arg1)->SetPosition(arg2);
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 Py_INCREF(Py_None); resultobj = Py_None;
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11845 PyObject *obj;
11846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11848 Py_INCREF(obj);
11849 return Py_BuildValue((char *)"");
11850 }
11851 static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11854 wxMouseEvent *result;
11855 char *kwnames[] = {
11856 (char *) "mouseType", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 result = (wxMouseEvent *)new wxMouseEvent(arg1);
11863
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 {
11868 resultobj = wxPyMake_wxObject(result);
11869 }
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11879 bool result;
11880 PyObject * obj0 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
11890
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 resultobj = PyInt_FromLong((long)result);
11895 return resultobj;
11896 fail:
11897 return NULL;
11898 }
11899
11900
11901 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11902 PyObject *resultobj;
11903 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11904 int arg2 = (int) wxMOUSE_BTN_ANY ;
11905 bool result;
11906 PyObject * obj0 = 0 ;
11907 char *kwnames[] = {
11908 (char *) "self",(char *) "but", NULL
11909 };
11910
11911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
11912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = PyInt_FromLong((long)result);
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11930 int arg2 = (int) wxMOUSE_BTN_ANY ;
11931 bool result;
11932 PyObject * obj0 = 0 ;
11933 char *kwnames[] = {
11934 (char *) "self",(char *) "but", NULL
11935 };
11936
11937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
11938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = PyInt_FromLong((long)result);
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj;
11955 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11956 int arg2 = (int) wxMOUSE_BTN_ANY ;
11957 bool result;
11958 PyObject * obj0 = 0 ;
11959 char *kwnames[] = {
11960 (char *) "self",(char *) "but", NULL
11961 };
11962
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
11964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 resultobj = PyInt_FromLong((long)result);
11973 return resultobj;
11974 fail:
11975 return NULL;
11976 }
11977
11978
11979 static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
11980 PyObject *resultobj;
11981 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
11982 int arg2 ;
11983 bool result;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self",(char *) "but", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
11990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 resultobj = PyInt_FromLong((long)result);
11999 return resultobj;
12000 fail:
12001 return NULL;
12002 }
12003
12004
12005 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject *resultobj;
12007 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12008 int arg2 ;
12009 bool result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self",(char *) "but", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 resultobj = PyInt_FromLong((long)result);
12025 return resultobj;
12026 fail:
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12034 int result;
12035 PyObject * obj0 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 resultobj = PyInt_FromLong((long)result);
12050 return resultobj;
12051 fail:
12052 return NULL;
12053 }
12054
12055
12056 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12057 PyObject *resultobj;
12058 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12059 bool result;
12060 PyObject * obj0 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
12074 resultobj = PyInt_FromLong((long)result);
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12084 bool result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12095
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 resultobj = PyInt_FromLong((long)result);
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj;
12108 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12109 bool result;
12110 PyObject * obj0 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 }
12124 resultobj = PyInt_FromLong((long)result);
12125 return resultobj;
12126 fail:
12127 return NULL;
12128 }
12129
12130
12131 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj;
12133 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12134 bool result;
12135 PyObject * obj0 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = PyInt_FromLong((long)result);
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12157 PyObject *resultobj;
12158 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12159 bool result;
12160 PyObject * obj0 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self", NULL
12163 };
12164
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = PyInt_FromLong((long)result);
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12184 bool result;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = PyInt_FromLong((long)result);
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12209 bool result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = PyInt_FromLong((long)result);
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12234 bool result;
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 resultobj = PyInt_FromLong((long)result);
12250 return resultobj;
12251 fail:
12252 return NULL;
12253 }
12254
12255
12256 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12257 PyObject *resultobj;
12258 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12259 bool result;
12260 PyObject * obj0 = 0 ;
12261 char *kwnames[] = {
12262 (char *) "self", NULL
12263 };
12264
12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12267 {
12268 PyThreadState* __tstate = wxPyBeginAllowThreads();
12269 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12270
12271 wxPyEndAllowThreads(__tstate);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 }
12274 resultobj = PyInt_FromLong((long)result);
12275 return resultobj;
12276 fail:
12277 return NULL;
12278 }
12279
12280
12281 static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12282 PyObject *resultobj;
12283 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12284 bool result;
12285 PyObject * obj0 = 0 ;
12286 char *kwnames[] = {
12287 (char *) "self", NULL
12288 };
12289
12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 resultobj = PyInt_FromLong((long)result);
12300 return resultobj;
12301 fail:
12302 return NULL;
12303 }
12304
12305
12306 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj;
12308 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12309 bool result;
12310 PyObject * obj0 = 0 ;
12311 char *kwnames[] = {
12312 (char *) "self", NULL
12313 };
12314
12315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12320
12321 wxPyEndAllowThreads(__tstate);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 }
12324 resultobj = PyInt_FromLong((long)result);
12325 return resultobj;
12326 fail:
12327 return NULL;
12328 }
12329
12330
12331 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12332 PyObject *resultobj;
12333 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12334 bool result;
12335 PyObject * obj0 = 0 ;
12336 char *kwnames[] = {
12337 (char *) "self", NULL
12338 };
12339
12340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 resultobj = PyInt_FromLong((long)result);
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12359 bool result;
12360 PyObject * obj0 = 0 ;
12361 char *kwnames[] = {
12362 (char *) "self", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
12374 resultobj = PyInt_FromLong((long)result);
12375 return resultobj;
12376 fail:
12377 return NULL;
12378 }
12379
12380
12381 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12384 bool result;
12385 PyObject * obj0 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 result = (bool)(arg1)->LeftIsDown();
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = PyInt_FromLong((long)result);
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12409 bool result;
12410 PyObject * obj0 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "self", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12417 {
12418 PyThreadState* __tstate = wxPyBeginAllowThreads();
12419 result = (bool)(arg1)->MiddleIsDown();
12420
12421 wxPyEndAllowThreads(__tstate);
12422 if (PyErr_Occurred()) SWIG_fail;
12423 }
12424 resultobj = PyInt_FromLong((long)result);
12425 return resultobj;
12426 fail:
12427 return NULL;
12428 }
12429
12430
12431 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12432 PyObject *resultobj;
12433 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12434 bool result;
12435 PyObject * obj0 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 result = (bool)(arg1)->RightIsDown();
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 resultobj = PyInt_FromLong((long)result);
12450 return resultobj;
12451 fail:
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12459 bool result;
12460 PyObject * obj0 = 0 ;
12461 char *kwnames[] = {
12462 (char *) "self", NULL
12463 };
12464
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = PyInt_FromLong((long)result);
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12482 PyObject *resultobj;
12483 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12484 bool result;
12485 PyObject * obj0 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self", NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 resultobj = PyInt_FromLong((long)result);
12500 return resultobj;
12501 fail:
12502 return NULL;
12503 }
12504
12505
12506 static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12509 bool result;
12510 PyObject * obj0 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12517 {
12518 PyThreadState* __tstate = wxPyBeginAllowThreads();
12519 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12520
12521 wxPyEndAllowThreads(__tstate);
12522 if (PyErr_Occurred()) SWIG_fail;
12523 }
12524 resultobj = PyInt_FromLong((long)result);
12525 return resultobj;
12526 fail:
12527 return NULL;
12528 }
12529
12530
12531 static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12532 PyObject *resultobj;
12533 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12534 bool result;
12535 PyObject * obj0 = 0 ;
12536 char *kwnames[] = {
12537 (char *) "self", NULL
12538 };
12539
12540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12545
12546 wxPyEndAllowThreads(__tstate);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 }
12549 resultobj = PyInt_FromLong((long)result);
12550 return resultobj;
12551 fail:
12552 return NULL;
12553 }
12554
12555
12556 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12557 PyObject *resultobj;
12558 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12559 wxPoint result;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (arg1)->GetPosition();
12570
12571 wxPyEndAllowThreads(__tstate);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 {
12575 wxPoint * resultptr;
12576 resultptr = new wxPoint((wxPoint &) result);
12577 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12578 }
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12588 long *arg2 = (long *) 0 ;
12589 long *arg3 = (long *) 0 ;
12590 long temp2 ;
12591 long temp3 ;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 arg2 = &temp2;
12598 arg3 = &temp3;
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 (arg1)->GetPosition(arg2,arg3);
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 Py_INCREF(Py_None); resultobj = Py_None;
12609 {
12610 PyObject *o = PyInt_FromLong((long) (*arg2));
12611 resultobj = t_output_helper(resultobj,o);
12612 }
12613 {
12614 PyObject *o = PyInt_FromLong((long) (*arg3));
12615 resultobj = t_output_helper(resultobj,o);
12616 }
12617 return resultobj;
12618 fail:
12619 return NULL;
12620 }
12621
12622
12623 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj;
12625 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12626 wxDC *arg2 = 0 ;
12627 wxPoint result;
12628 PyObject * obj0 = 0 ;
12629 PyObject * obj1 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self",(char *) "dc", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12637 if (arg2 == NULL) {
12638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12639 }
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 {
12648 wxPoint * resultptr;
12649 resultptr = new wxPoint((wxPoint &) result);
12650 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12651 }
12652 return resultobj;
12653 fail:
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12661 int result;
12662 PyObject * obj0 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "self", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 result = (int)((wxMouseEvent const *)arg1)->GetX();
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = PyInt_FromLong((long)result);
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12686 int result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 result = (int)((wxMouseEvent const *)arg1)->GetY();
12697
12698 wxPyEndAllowThreads(__tstate);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
12701 resultobj = PyInt_FromLong((long)result);
12702 return resultobj;
12703 fail:
12704 return NULL;
12705 }
12706
12707
12708 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12711 int result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12722
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 resultobj = PyInt_FromLong((long)result);
12727 return resultobj;
12728 fail:
12729 return NULL;
12730 }
12731
12732
12733 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12736 int result;
12737 PyObject * obj0 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12747
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 resultobj = PyInt_FromLong((long)result);
12752 return resultobj;
12753 fail:
12754 return NULL;
12755 }
12756
12757
12758 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12759 PyObject *resultobj;
12760 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12761 int result;
12762 PyObject * obj0 = 0 ;
12763 char *kwnames[] = {
12764 (char *) "self", NULL
12765 };
12766
12767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 resultobj = PyInt_FromLong((long)result);
12777 return resultobj;
12778 fail:
12779 return NULL;
12780 }
12781
12782
12783 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12784 PyObject *resultobj;
12785 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12786 bool result;
12787 PyObject * obj0 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "self", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 resultobj = PyInt_FromLong((long)result);
12802 return resultobj;
12803 fail:
12804 return NULL;
12805 }
12806
12807
12808 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj;
12810 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12811 int arg2 ;
12812 PyObject * obj0 = 0 ;
12813 char *kwnames[] = {
12814 (char *) "self",(char *) "m_x", NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12819 if (arg1) (arg1)->m_x = arg2;
12820
12821 Py_INCREF(Py_None); resultobj = Py_None;
12822 return resultobj;
12823 fail:
12824 return NULL;
12825 }
12826
12827
12828 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj;
12830 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12831 int result;
12832 PyObject * obj0 = 0 ;
12833 char *kwnames[] = {
12834 (char *) "self", NULL
12835 };
12836
12837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
12838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12839 result = (int) ((arg1)->m_x);
12840
12841 resultobj = PyInt_FromLong((long)result);
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12851 int arg2 ;
12852 PyObject * obj0 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self",(char *) "m_y", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12859 if (arg1) (arg1)->m_y = arg2;
12860
12861 Py_INCREF(Py_None); resultobj = Py_None;
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
12878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12879 result = (int) ((arg1)->m_y);
12880
12881 resultobj = PyInt_FromLong((long)result);
12882 return resultobj;
12883 fail:
12884 return NULL;
12885 }
12886
12887
12888 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12889 PyObject *resultobj;
12890 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12891 bool arg2 ;
12892 PyObject * obj0 = 0 ;
12893 PyObject * obj1 = 0 ;
12894 char *kwnames[] = {
12895 (char *) "self",(char *) "m_leftDown", NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
12899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12900 arg2 = PyInt_AsLong(obj1) ? true : false;
12901 if (PyErr_Occurred()) SWIG_fail;
12902 if (arg1) (arg1)->m_leftDown = arg2;
12903
12904 Py_INCREF(Py_None); resultobj = Py_None;
12905 return resultobj;
12906 fail:
12907 return NULL;
12908 }
12909
12910
12911 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12912 PyObject *resultobj;
12913 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12914 bool result;
12915 PyObject * obj0 = 0 ;
12916 char *kwnames[] = {
12917 (char *) "self", NULL
12918 };
12919
12920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
12921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12922 result = (bool) ((arg1)->m_leftDown);
12923
12924 resultobj = PyInt_FromLong((long)result);
12925 return resultobj;
12926 fail:
12927 return NULL;
12928 }
12929
12930
12931 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12934 bool arg2 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 char *kwnames[] = {
12938 (char *) "self",(char *) "m_middleDown", NULL
12939 };
12940
12941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
12942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12943 arg2 = PyInt_AsLong(obj1) ? true : false;
12944 if (PyErr_Occurred()) SWIG_fail;
12945 if (arg1) (arg1)->m_middleDown = arg2;
12946
12947 Py_INCREF(Py_None); resultobj = Py_None;
12948 return resultobj;
12949 fail:
12950 return NULL;
12951 }
12952
12953
12954 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12955 PyObject *resultobj;
12956 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12957 bool result;
12958 PyObject * obj0 = 0 ;
12959 char *kwnames[] = {
12960 (char *) "self", NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
12964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12965 result = (bool) ((arg1)->m_middleDown);
12966
12967 resultobj = PyInt_FromLong((long)result);
12968 return resultobj;
12969 fail:
12970 return NULL;
12971 }
12972
12973
12974 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12975 PyObject *resultobj;
12976 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12977 bool arg2 ;
12978 PyObject * obj0 = 0 ;
12979 PyObject * obj1 = 0 ;
12980 char *kwnames[] = {
12981 (char *) "self",(char *) "m_rightDown", NULL
12982 };
12983
12984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
12985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12986 arg2 = PyInt_AsLong(obj1) ? true : false;
12987 if (PyErr_Occurred()) SWIG_fail;
12988 if (arg1) (arg1)->m_rightDown = arg2;
12989
12990 Py_INCREF(Py_None); resultobj = Py_None;
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13000 bool result;
13001 PyObject * obj0 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13008 result = (bool) ((arg1)->m_rightDown);
13009
13010 resultobj = PyInt_FromLong((long)result);
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13020 bool arg2 ;
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self",(char *) "m_controlDown", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13029 arg2 = PyInt_AsLong(obj1) ? true : false;
13030 if (PyErr_Occurred()) SWIG_fail;
13031 if (arg1) (arg1)->m_controlDown = arg2;
13032
13033 Py_INCREF(Py_None); resultobj = Py_None;
13034 return resultobj;
13035 fail:
13036 return NULL;
13037 }
13038
13039
13040 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13043 bool result;
13044 PyObject * obj0 = 0 ;
13045 char *kwnames[] = {
13046 (char *) "self", NULL
13047 };
13048
13049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13051 result = (bool) ((arg1)->m_controlDown);
13052
13053 resultobj = PyInt_FromLong((long)result);
13054 return resultobj;
13055 fail:
13056 return NULL;
13057 }
13058
13059
13060 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13063 bool arg2 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self",(char *) "m_shiftDown", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13072 arg2 = PyInt_AsLong(obj1) ? true : false;
13073 if (PyErr_Occurred()) SWIG_fail;
13074 if (arg1) (arg1)->m_shiftDown = arg2;
13075
13076 Py_INCREF(Py_None); resultobj = Py_None;
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13086 bool result;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13094 result = (bool) ((arg1)->m_shiftDown);
13095
13096 resultobj = PyInt_FromLong((long)result);
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13106 bool arg2 ;
13107 PyObject * obj0 = 0 ;
13108 PyObject * obj1 = 0 ;
13109 char *kwnames[] = {
13110 (char *) "self",(char *) "m_altDown", NULL
13111 };
13112
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13115 arg2 = PyInt_AsLong(obj1) ? true : false;
13116 if (PyErr_Occurred()) SWIG_fail;
13117 if (arg1) (arg1)->m_altDown = arg2;
13118
13119 Py_INCREF(Py_None); resultobj = Py_None;
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13129 bool result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 result = (bool) ((arg1)->m_altDown);
13138
13139 resultobj = PyInt_FromLong((long)result);
13140 return resultobj;
13141 fail:
13142 return NULL;
13143 }
13144
13145
13146 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13147 PyObject *resultobj;
13148 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13149 bool arg2 ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 char *kwnames[] = {
13153 (char *) "self",(char *) "m_metaDown", NULL
13154 };
13155
13156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13158 arg2 = PyInt_AsLong(obj1) ? true : false;
13159 if (PyErr_Occurred()) SWIG_fail;
13160 if (arg1) (arg1)->m_metaDown = arg2;
13161
13162 Py_INCREF(Py_None); resultobj = Py_None;
13163 return resultobj;
13164 fail:
13165 return NULL;
13166 }
13167
13168
13169 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13170 PyObject *resultobj;
13171 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13172 bool result;
13173 PyObject * obj0 = 0 ;
13174 char *kwnames[] = {
13175 (char *) "self", NULL
13176 };
13177
13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13180 result = (bool) ((arg1)->m_metaDown);
13181
13182 resultobj = PyInt_FromLong((long)result);
13183 return resultobj;
13184 fail:
13185 return NULL;
13186 }
13187
13188
13189 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj;
13191 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13192 int arg2 ;
13193 PyObject * obj0 = 0 ;
13194 char *kwnames[] = {
13195 (char *) "self",(char *) "m_wheelRotation", NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13200 if (arg1) (arg1)->m_wheelRotation = arg2;
13201
13202 Py_INCREF(Py_None); resultobj = Py_None;
13203 return resultobj;
13204 fail:
13205 return NULL;
13206 }
13207
13208
13209 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13210 PyObject *resultobj;
13211 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13212 int result;
13213 PyObject * obj0 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13220 result = (int) ((arg1)->m_wheelRotation);
13221
13222 resultobj = PyInt_FromLong((long)result);
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13232 int arg2 ;
13233 PyObject * obj0 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "m_wheelDelta", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13240 if (arg1) (arg1)->m_wheelDelta = arg2;
13241
13242 Py_INCREF(Py_None); resultobj = Py_None;
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13252 int result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13260 result = (int) ((arg1)->m_wheelDelta);
13261
13262 resultobj = PyInt_FromLong((long)result);
13263 return resultobj;
13264 fail:
13265 return NULL;
13266 }
13267
13268
13269 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj;
13271 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13272 int arg2 ;
13273 PyObject * obj0 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self",(char *) "m_linesPerAction", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13280 if (arg1) (arg1)->m_linesPerAction = arg2;
13281
13282 Py_INCREF(Py_None); resultobj = Py_None;
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13292 int result;
13293 PyObject * obj0 = 0 ;
13294 char *kwnames[] = {
13295 (char *) "self", NULL
13296 };
13297
13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13300 result = (int) ((arg1)->m_linesPerAction);
13301
13302 resultobj = PyInt_FromLong((long)result);
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13310 PyObject *obj;
13311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13312 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13313 Py_INCREF(obj);
13314 return Py_BuildValue((char *)"");
13315 }
13316 static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj;
13318 int arg1 = (int) 0 ;
13319 int arg2 = (int) 0 ;
13320 wxSetCursorEvent *result;
13321 char *kwnames[] = {
13322 (char *) "x",(char *) "y", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13334 return resultobj;
13335 fail:
13336 return NULL;
13337 }
13338
13339
13340 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13341 PyObject *resultobj;
13342 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13343 int result;
13344 PyObject * obj0 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
13354
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 resultobj = PyInt_FromLong((long)result);
13359 return resultobj;
13360 fail:
13361 return NULL;
13362 }
13363
13364
13365 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj;
13367 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13368 int result;
13369 PyObject * obj0 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 resultobj = PyInt_FromLong((long)result);
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13393 wxCursor *arg2 = 0 ;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj1 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self",(char *) "cursor", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13403 if (arg2 == NULL) {
13404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13405 }
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 (arg1)->SetCursor((wxCursor const &)*arg2);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 Py_INCREF(Py_None); resultobj = Py_None;
13414 return resultobj;
13415 fail:
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13423 wxCursor *result;
13424 PyObject * obj0 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 {
13434 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13435 result = (wxCursor *) &_result_ref;
13436 }
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13442 return resultobj;
13443 fail:
13444 return NULL;
13445 }
13446
13447
13448 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj;
13450 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13451 bool result;
13452 PyObject * obj0 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 resultobj = PyInt_FromLong((long)result);
13467 return resultobj;
13468 fail:
13469 return NULL;
13470 }
13471
13472
13473 static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13474 PyObject *obj;
13475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13476 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13477 Py_INCREF(obj);
13478 return Py_BuildValue((char *)"");
13479 }
13480 static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13483 wxKeyEvent *result;
13484 char *kwnames[] = {
13485 (char *) "keyType", NULL
13486 };
13487
13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13497 return resultobj;
13498 fail:
13499 return NULL;
13500 }
13501
13502
13503 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj;
13505 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13506 bool result;
13507 PyObject * obj0 = 0 ;
13508 char *kwnames[] = {
13509 (char *) "self", NULL
13510 };
13511
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13517
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 resultobj = PyInt_FromLong((long)result);
13522 return resultobj;
13523 fail:
13524 return NULL;
13525 }
13526
13527
13528 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj;
13530 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13531 bool result;
13532 PyObject * obj0 = 0 ;
13533 char *kwnames[] = {
13534 (char *) "self", NULL
13535 };
13536
13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 resultobj = PyInt_FromLong((long)result);
13547 return resultobj;
13548 fail:
13549 return NULL;
13550 }
13551
13552
13553 static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13554 PyObject *resultobj;
13555 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13556 bool result;
13557 PyObject * obj0 = 0 ;
13558 char *kwnames[] = {
13559 (char *) "self", NULL
13560 };
13561
13562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 }
13571 resultobj = PyInt_FromLong((long)result);
13572 return resultobj;
13573 fail:
13574 return NULL;
13575 }
13576
13577
13578 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13579 PyObject *resultobj;
13580 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13581 bool result;
13582 PyObject * obj0 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "self", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 resultobj = PyInt_FromLong((long)result);
13597 return resultobj;
13598 fail:
13599 return NULL;
13600 }
13601
13602
13603 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject *resultobj;
13605 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13606 bool result;
13607 PyObject * obj0 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 resultobj = PyInt_FromLong((long)result);
13622 return resultobj;
13623 fail:
13624 return NULL;
13625 }
13626
13627
13628 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj;
13630 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13631 int result;
13632 PyObject * obj0 = 0 ;
13633 char *kwnames[] = {
13634 (char *) "self", NULL
13635 };
13636
13637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 resultobj = PyInt_FromLong((long)result);
13647 return resultobj;
13648 fail:
13649 return NULL;
13650 }
13651
13652
13653 static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13654 PyObject *resultobj;
13655 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13656 int result;
13657 PyObject * obj0 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 result = (int)wxKeyEvent_GetUniChar(arg1);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 resultobj = PyInt_FromLong((long)result);
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13681 unsigned int result;
13682 PyObject * obj0 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
13692
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 resultobj = PyInt_FromLong((long)result);
13697 return resultobj;
13698 fail:
13699 return NULL;
13700 }
13701
13702
13703 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13706 unsigned int result;
13707 PyObject * obj0 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 resultobj = PyInt_FromLong((long)result);
13722 return resultobj;
13723 fail:
13724 return NULL;
13725 }
13726
13727
13728 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj;
13730 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13731 wxPoint result;
13732 PyObject * obj0 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 result = (arg1)->GetPosition();
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 {
13747 wxPoint * resultptr;
13748 resultptr = new wxPoint((wxPoint &) result);
13749 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13750 }
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13760 long *arg2 = (long *) 0 ;
13761 long *arg3 = (long *) 0 ;
13762 long temp2 ;
13763 long temp3 ;
13764 PyObject * obj0 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self", NULL
13767 };
13768
13769 arg2 = &temp2;
13770 arg3 = &temp3;
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 (arg1)->GetPosition(arg2,arg3);
13776
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 Py_INCREF(Py_None); resultobj = Py_None;
13781 {
13782 PyObject *o = PyInt_FromLong((long) (*arg2));
13783 resultobj = t_output_helper(resultobj,o);
13784 }
13785 {
13786 PyObject *o = PyInt_FromLong((long) (*arg3));
13787 resultobj = t_output_helper(resultobj,o);
13788 }
13789 return resultobj;
13790 fail:
13791 return NULL;
13792 }
13793
13794
13795 static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13796 PyObject *resultobj;
13797 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13798 int result;
13799 PyObject * obj0 = 0 ;
13800 char *kwnames[] = {
13801 (char *) "self", NULL
13802 };
13803
13804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 result = (int)((wxKeyEvent const *)arg1)->GetX();
13809
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 resultobj = PyInt_FromLong((long)result);
13814 return resultobj;
13815 fail:
13816 return NULL;
13817 }
13818
13819
13820 static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj;
13822 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13823 int result;
13824 PyObject * obj0 = 0 ;
13825 char *kwnames[] = {
13826 (char *) "self", NULL
13827 };
13828
13829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13831 {
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 result = (int)((wxKeyEvent const *)arg1)->GetY();
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = PyInt_FromLong((long)result);
13839 return resultobj;
13840 fail:
13841 return NULL;
13842 }
13843
13844
13845 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj;
13847 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13848 int arg2 ;
13849 PyObject * obj0 = 0 ;
13850 char *kwnames[] = {
13851 (char *) "self",(char *) "m_x", NULL
13852 };
13853
13854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
13855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13856 if (arg1) (arg1)->m_x = arg2;
13857
13858 Py_INCREF(Py_None); resultobj = Py_None;
13859 return resultobj;
13860 fail:
13861 return NULL;
13862 }
13863
13864
13865 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13866 PyObject *resultobj;
13867 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13868 int result;
13869 PyObject * obj0 = 0 ;
13870 char *kwnames[] = {
13871 (char *) "self", NULL
13872 };
13873
13874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
13875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13876 result = (int) ((arg1)->m_x);
13877
13878 resultobj = PyInt_FromLong((long)result);
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13888 int arg2 ;
13889 PyObject * obj0 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self",(char *) "m_y", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
13895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13896 if (arg1) (arg1)->m_y = arg2;
13897
13898 Py_INCREF(Py_None); resultobj = Py_None;
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13908 int result;
13909 PyObject * obj0 = 0 ;
13910 char *kwnames[] = {
13911 (char *) "self", NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
13915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13916 result = (int) ((arg1)->m_y);
13917
13918 resultobj = PyInt_FromLong((long)result);
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13928 long arg2 ;
13929 PyObject * obj0 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self",(char *) "m_keyCode", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13936 if (arg1) (arg1)->m_keyCode = arg2;
13937
13938 Py_INCREF(Py_None); resultobj = Py_None;
13939 return resultobj;
13940 fail:
13941 return NULL;
13942 }
13943
13944
13945 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj;
13947 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13948 long result;
13949 PyObject * obj0 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
13955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13956 result = (long) ((arg1)->m_keyCode);
13957
13958 resultobj = PyInt_FromLong((long)result);
13959 return resultobj;
13960 fail:
13961 return NULL;
13962 }
13963
13964
13965 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13966 PyObject *resultobj;
13967 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13968 bool arg2 ;
13969 PyObject * obj0 = 0 ;
13970 PyObject * obj1 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self",(char *) "m_controlDown", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13977 arg2 = PyInt_AsLong(obj1) ? true : false;
13978 if (PyErr_Occurred()) SWIG_fail;
13979 if (arg1) (arg1)->m_controlDown = arg2;
13980
13981 Py_INCREF(Py_None); resultobj = Py_None;
13982 return resultobj;
13983 fail:
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13991 bool result;
13992 PyObject * obj0 = 0 ;
13993 char *kwnames[] = {
13994 (char *) "self", NULL
13995 };
13996
13997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13999 result = (bool) ((arg1)->m_controlDown);
14000
14001 resultobj = PyInt_FromLong((long)result);
14002 return resultobj;
14003 fail:
14004 return NULL;
14005 }
14006
14007
14008 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14009 PyObject *resultobj;
14010 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14011 bool arg2 ;
14012 PyObject * obj0 = 0 ;
14013 PyObject * obj1 = 0 ;
14014 char *kwnames[] = {
14015 (char *) "self",(char *) "m_shiftDown", NULL
14016 };
14017
14018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14020 arg2 = PyInt_AsLong(obj1) ? true : false;
14021 if (PyErr_Occurred()) SWIG_fail;
14022 if (arg1) (arg1)->m_shiftDown = arg2;
14023
14024 Py_INCREF(Py_None); resultobj = Py_None;
14025 return resultobj;
14026 fail:
14027 return NULL;
14028 }
14029
14030
14031 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj;
14033 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14034 bool result;
14035 PyObject * obj0 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14042 result = (bool) ((arg1)->m_shiftDown);
14043
14044 resultobj = PyInt_FromLong((long)result);
14045 return resultobj;
14046 fail:
14047 return NULL;
14048 }
14049
14050
14051 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14052 PyObject *resultobj;
14053 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14054 bool arg2 ;
14055 PyObject * obj0 = 0 ;
14056 PyObject * obj1 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self",(char *) "m_altDown", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14063 arg2 = PyInt_AsLong(obj1) ? true : false;
14064 if (PyErr_Occurred()) SWIG_fail;
14065 if (arg1) (arg1)->m_altDown = arg2;
14066
14067 Py_INCREF(Py_None); resultobj = Py_None;
14068 return resultobj;
14069 fail:
14070 return NULL;
14071 }
14072
14073
14074 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14077 bool result;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "self", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14085 result = (bool) ((arg1)->m_altDown);
14086
14087 resultobj = PyInt_FromLong((long)result);
14088 return resultobj;
14089 fail:
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14097 bool arg2 ;
14098 PyObject * obj0 = 0 ;
14099 PyObject * obj1 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self",(char *) "m_metaDown", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14106 arg2 = PyInt_AsLong(obj1) ? true : false;
14107 if (PyErr_Occurred()) SWIG_fail;
14108 if (arg1) (arg1)->m_metaDown = arg2;
14109
14110 Py_INCREF(Py_None); resultobj = Py_None;
14111 return resultobj;
14112 fail:
14113 return NULL;
14114 }
14115
14116
14117 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj;
14119 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14120 bool result;
14121 PyObject * obj0 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14128 result = (bool) ((arg1)->m_metaDown);
14129
14130 resultobj = PyInt_FromLong((long)result);
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14140 bool arg2 ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "m_scanCode", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14149 arg2 = PyInt_AsLong(obj1) ? true : false;
14150 if (PyErr_Occurred()) SWIG_fail;
14151 if (arg1) (arg1)->m_scanCode = arg2;
14152
14153 Py_INCREF(Py_None); resultobj = Py_None;
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14163 bool result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14171 result = (bool) ((arg1)->m_scanCode);
14172
14173 resultobj = PyInt_FromLong((long)result);
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14183 unsigned int arg2 ;
14184 PyObject * obj0 = 0 ;
14185 PyObject * obj1 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self",(char *) "m_rawCode", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14192 arg2 = (unsigned int) PyInt_AsLong(obj1);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 if (arg1) (arg1)->m_rawCode = arg2;
14195
14196 Py_INCREF(Py_None); resultobj = Py_None;
14197 return resultobj;
14198 fail:
14199 return NULL;
14200 }
14201
14202
14203 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj;
14205 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14206 unsigned int result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 result = (unsigned int) ((arg1)->m_rawCode);
14215
14216 resultobj = PyInt_FromLong((long)result);
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14226 unsigned int arg2 ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self",(char *) "m_rawFlags", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14235 arg2 = (unsigned int) PyInt_AsLong(obj1);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 if (arg1) (arg1)->m_rawFlags = arg2;
14238
14239 Py_INCREF(Py_None); resultobj = Py_None;
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14249 unsigned int result;
14250 PyObject * obj0 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257 result = (unsigned int) ((arg1)->m_rawFlags);
14258
14259 resultobj = PyInt_FromLong((long)result);
14260 return resultobj;
14261 fail:
14262 return NULL;
14263 }
14264
14265
14266 static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14267 PyObject *obj;
14268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14269 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14270 Py_INCREF(obj);
14271 return Py_BuildValue((char *)"");
14272 }
14273 static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj;
14275 wxSize const &arg1_defvalue = wxDefaultSize ;
14276 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14277 int arg2 = (int) 0 ;
14278 wxSizeEvent *result;
14279 wxSize temp1 ;
14280 PyObject * obj0 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "sz",(char *) "winid", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14286 if (obj0) {
14287 {
14288 arg1 = &temp1;
14289 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14290 }
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14309 wxSize result;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = ((wxSizeEvent const *)arg1)->GetSize();
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 {
14325 wxSize * resultptr;
14326 resultptr = new wxSize((wxSize &) result);
14327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14328 }
14329 return resultobj;
14330 fail:
14331 return NULL;
14332 }
14333
14334
14335 static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj;
14337 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14338 wxRect result;
14339 PyObject * obj0 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self", NULL
14342 };
14343
14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = ((wxSizeEvent const *)arg1)->GetRect();
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 {
14354 wxRect * resultptr;
14355 resultptr = new wxRect((wxRect &) result);
14356 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14357 }
14358 return resultobj;
14359 fail:
14360 return NULL;
14361 }
14362
14363
14364 static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14367 wxRect arg2 ;
14368 wxRect *argp2 ;
14369 PyObject * obj0 = 0 ;
14370 PyObject * obj1 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self",(char *) "rect", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14377 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14378 arg2 = *argp2;
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 (arg1)->SetRect(arg2);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 Py_INCREF(Py_None); resultobj = Py_None;
14387 return resultobj;
14388 fail:
14389 return NULL;
14390 }
14391
14392
14393 static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14396 wxSize arg2 ;
14397 wxSize *argp2 ;
14398 PyObject * obj0 = 0 ;
14399 PyObject * obj1 = 0 ;
14400 char *kwnames[] = {
14401 (char *) "self",(char *) "size", NULL
14402 };
14403
14404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14406 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14407 arg2 = *argp2;
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 wxSizeEvent_SetSize(arg1,arg2);
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 Py_INCREF(Py_None); resultobj = Py_None;
14416 return resultobj;
14417 fail:
14418 return NULL;
14419 }
14420
14421
14422 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14423 PyObject *resultobj;
14424 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14425 wxSize *arg2 = (wxSize *) 0 ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self",(char *) "m_size", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14435 if (arg1) (arg1)->m_size = *arg2;
14436
14437 Py_INCREF(Py_None); resultobj = Py_None;
14438 return resultobj;
14439 fail:
14440 return NULL;
14441 }
14442
14443
14444 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj;
14446 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14447 wxSize *result;
14448 PyObject * obj0 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14455 result = (wxSize *)& ((arg1)->m_size);
14456
14457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14458 return resultobj;
14459 fail:
14460 return NULL;
14461 }
14462
14463
14464 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14467 wxRect *arg2 = (wxRect *) 0 ;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self",(char *) "m_rect", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14477 if (arg1) (arg1)->m_rect = *arg2;
14478
14479 Py_INCREF(Py_None); resultobj = Py_None;
14480 return resultobj;
14481 fail:
14482 return NULL;
14483 }
14484
14485
14486 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14489 wxRect *result;
14490 PyObject * obj0 = 0 ;
14491 char *kwnames[] = {
14492 (char *) "self", NULL
14493 };
14494
14495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14497 result = (wxRect *)& ((arg1)->m_rect);
14498
14499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14507 PyObject *obj;
14508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14509 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14510 Py_INCREF(obj);
14511 return Py_BuildValue((char *)"");
14512 }
14513 static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14516 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14517 int arg2 = (int) 0 ;
14518 wxMoveEvent *result;
14519 wxPoint temp1 ;
14520 PyObject * obj0 = 0 ;
14521 char *kwnames[] = {
14522 (char *) "pos",(char *) "winid", NULL
14523 };
14524
14525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14526 if (obj0) {
14527 {
14528 arg1 = &temp1;
14529 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14530 }
14531 }
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14540 return resultobj;
14541 fail:
14542 return NULL;
14543 }
14544
14545
14546 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14547 PyObject *resultobj;
14548 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14549 wxPoint result;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 result = ((wxMoveEvent const *)arg1)->GetPosition();
14560
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 {
14565 wxPoint * resultptr;
14566 resultptr = new wxPoint((wxPoint &) result);
14567 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14568 }
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14578 wxRect result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = ((wxMoveEvent const *)arg1)->GetRect();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594 wxRect * resultptr;
14595 resultptr = new wxRect((wxRect &) result);
14596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14597 }
14598 return resultobj;
14599 fail:
14600 return NULL;
14601 }
14602
14603
14604 static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14607 wxRect arg2 ;
14608 wxRect *argp2 ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self",(char *) "rect", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14617 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14618 arg2 = *argp2;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 (arg1)->SetRect(arg2);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 Py_INCREF(Py_None); resultobj = Py_None;
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj;
14635 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14636 wxPoint arg2 ;
14637 wxPoint *argp2 ;
14638 PyObject * obj0 = 0 ;
14639 PyObject * obj1 = 0 ;
14640 char *kwnames[] = {
14641 (char *) "self",(char *) "pos", NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14646 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14647 arg2 = *argp2;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 wxMoveEvent_SetPosition(arg1,arg2);
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 Py_INCREF(Py_None); resultobj = Py_None;
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14665 wxPoint *arg2 = (wxPoint *) 0 ;
14666 PyObject * obj0 = 0 ;
14667 PyObject * obj1 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self",(char *) "m_pos", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14675 if (arg1) (arg1)->m_pos = *arg2;
14676
14677 Py_INCREF(Py_None); resultobj = Py_None;
14678 return resultobj;
14679 fail:
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14687 wxPoint *result;
14688 PyObject * obj0 = 0 ;
14689 char *kwnames[] = {
14690 (char *) "self", NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14695 result = (wxPoint *)& ((arg1)->m_pos);
14696
14697 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14698 return resultobj;
14699 fail:
14700 return NULL;
14701 }
14702
14703
14704 static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14707 wxRect *arg2 = (wxRect *) 0 ;
14708 PyObject * obj0 = 0 ;
14709 PyObject * obj1 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "self",(char *) "m_rect", NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14717 if (arg1) (arg1)->m_rect = *arg2;
14718
14719 Py_INCREF(Py_None); resultobj = Py_None;
14720 return resultobj;
14721 fail:
14722 return NULL;
14723 }
14724
14725
14726 static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14729 wxRect *result;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14737 result = (wxRect *)& ((arg1)->m_rect);
14738
14739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14740 return resultobj;
14741 fail:
14742 return NULL;
14743 }
14744
14745
14746 static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14747 PyObject *obj;
14748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14749 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14750 Py_INCREF(obj);
14751 return Py_BuildValue((char *)"");
14752 }
14753 static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 int arg1 = (int) 0 ;
14756 wxPaintEvent *result;
14757 char *kwnames[] = {
14758 (char *) "Id", NULL
14759 };
14760
14761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14777 PyObject *obj;
14778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14779 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14780 Py_INCREF(obj);
14781 return Py_BuildValue((char *)"");
14782 }
14783 static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14784 PyObject *resultobj;
14785 int arg1 = (int) 0 ;
14786 wxNcPaintEvent *result;
14787 char *kwnames[] = {
14788 (char *) "winid", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14807 PyObject *obj;
14808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14810 Py_INCREF(obj);
14811 return Py_BuildValue((char *)"");
14812 }
14813 static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 int arg1 = (int) 0 ;
14816 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14817 wxEraseEvent *result;
14818 PyObject * obj1 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "Id",(char *) "dc", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14824 if (obj1) {
14825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14826 }
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14844 wxDC *result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 resultobj = wxPyMake_wxObject(result);
14861 }
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
14869 PyObject *obj;
14870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
14872 Py_INCREF(obj);
14873 return Py_BuildValue((char *)"");
14874 }
14875 static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14878 int arg2 = (int) 0 ;
14879 wxFocusEvent *result;
14880 char *kwnames[] = {
14881 (char *) "type",(char *) "winid", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
14888
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14902 wxWindow *result;
14903 PyObject * obj0 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 {
14918 resultobj = wxPyMake_wxObject(result);
14919 }
14920 return resultobj;
14921 fail:
14922 return NULL;
14923 }
14924
14925
14926 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14927 PyObject *resultobj;
14928 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
14929 wxWindow *arg2 = (wxWindow *) 0 ;
14930 PyObject * obj0 = 0 ;
14931 PyObject * obj1 = 0 ;
14932 char *kwnames[] = {
14933 (char *) "self",(char *) "win", NULL
14934 };
14935
14936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
14937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 (arg1)->SetWindow(arg2);
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 Py_INCREF(Py_None); resultobj = Py_None;
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
14954 PyObject *obj;
14955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
14957 Py_INCREF(obj);
14958 return Py_BuildValue((char *)"");
14959 }
14960 static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxWindow *arg1 = (wxWindow *) NULL ;
14963 wxChildFocusEvent *result;
14964 PyObject * obj0 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "win", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
14970 if (obj0) {
14971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14972 }
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
14990 wxWindow *result;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 {
15006 resultobj = wxPyMake_wxObject(result);
15007 }
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15015 PyObject *obj;
15016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15017 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15018 Py_INCREF(obj);
15019 return Py_BuildValue((char *)"");
15020 }
15021 static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj;
15023 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15024 bool arg2 = (bool) True ;
15025 int arg3 = (int) 0 ;
15026 wxActivateEvent *result;
15027 PyObject * obj1 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "type",(char *) "active",(char *) "Id", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15033 if (obj1) {
15034 arg2 = PyInt_AsLong(obj1) ? true : false;
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15045 return resultobj;
15046 fail:
15047 return NULL;
15048 }
15049
15050
15051 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15052 PyObject *resultobj;
15053 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15054 bool result;
15055 PyObject * obj0 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 resultobj = PyInt_FromLong((long)result);
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15077 PyObject *obj;
15078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15079 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15080 Py_INCREF(obj);
15081 return Py_BuildValue((char *)"");
15082 }
15083 static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 int arg1 = (int) 0 ;
15086 wxInitDialogEvent *result;
15087 char *kwnames[] = {
15088 (char *) "Id", NULL
15089 };
15090
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15107 PyObject *obj;
15108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15110 Py_INCREF(obj);
15111 return Py_BuildValue((char *)"");
15112 }
15113 static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15116 int arg2 = (int) 0 ;
15117 wxMenu *arg3 = (wxMenu *) NULL ;
15118 wxMenuEvent *result;
15119 PyObject * obj2 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "type",(char *) "winid",(char *) "menu", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15125 if (obj2) {
15126 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 }
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15145 int result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 resultobj = PyInt_FromLong((long)result);
15161 return resultobj;
15162 fail:
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15170 bool result;
15171 PyObject * obj0 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = PyInt_FromLong((long)result);
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj;
15194 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15195 wxMenu *result;
15196 PyObject * obj0 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
15211 resultobj = wxPyMake_wxObject(result);
15212 }
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15220 PyObject *obj;
15221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15222 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15223 Py_INCREF(obj);
15224 return Py_BuildValue((char *)"");
15225 }
15226 static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15229 int arg2 = (int) 0 ;
15230 wxCloseEvent *result;
15231 char *kwnames[] = {
15232 (char *) "type",(char *) "winid", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15244 return resultobj;
15245 fail:
15246 return NULL;
15247 }
15248
15249
15250 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj;
15252 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15253 bool arg2 ;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self",(char *) "logOff", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15262 arg2 = PyInt_AsLong(obj1) ? true : false;
15263 if (PyErr_Occurred()) SWIG_fail;
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 (arg1)->SetLoggingOff(arg2);
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 Py_INCREF(Py_None); resultobj = Py_None;
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15281 bool result;
15282 PyObject * obj0 = 0 ;
15283 char *kwnames[] = {
15284 (char *) "self", NULL
15285 };
15286
15287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 resultobj = PyInt_FromLong((long)result);
15297 return resultobj;
15298 fail:
15299 return NULL;
15300 }
15301
15302
15303 static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15304 PyObject *resultobj;
15305 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15306 bool arg2 = (bool) True ;
15307 PyObject * obj0 = 0 ;
15308 PyObject * obj1 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self",(char *) "veto", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15315 if (obj1) {
15316 arg2 = PyInt_AsLong(obj1) ? true : false;
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 (arg1)->Veto(arg2);
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 Py_INCREF(Py_None); resultobj = Py_None;
15327 return resultobj;
15328 fail:
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj;
15335 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15336 bool arg2 ;
15337 PyObject * obj0 = 0 ;
15338 PyObject * obj1 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "canVeto", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15345 arg2 = PyInt_AsLong(obj1) ? true : false;
15346 if (PyErr_Occurred()) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 (arg1)->SetCanVeto(arg2);
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 Py_INCREF(Py_None); resultobj = Py_None;
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15364 bool result;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 resultobj = PyInt_FromLong((long)result);
15380 return resultobj;
15381 fail:
15382 return NULL;
15383 }
15384
15385
15386 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15387 PyObject *resultobj;
15388 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15389 bool result;
15390 PyObject * obj0 = 0 ;
15391 char *kwnames[] = {
15392 (char *) "self", NULL
15393 };
15394
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = PyInt_FromLong((long)result);
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15412 PyObject *obj;
15413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15414 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15415 Py_INCREF(obj);
15416 return Py_BuildValue((char *)"");
15417 }
15418 static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj;
15420 int arg1 = (int) 0 ;
15421 bool arg2 = (bool) False ;
15422 wxShowEvent *result;
15423 PyObject * obj1 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "winid",(char *) "show", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15429 if (obj1) {
15430 arg2 = PyInt_AsLong(obj1) ? true : false;
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15441 return resultobj;
15442 fail:
15443 return NULL;
15444 }
15445
15446
15447 static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15450 bool arg2 ;
15451 PyObject * obj0 = 0 ;
15452 PyObject * obj1 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self",(char *) "show", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15459 arg2 = PyInt_AsLong(obj1) ? true : false;
15460 if (PyErr_Occurred()) SWIG_fail;
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 (arg1)->SetShow(arg2);
15464
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 Py_INCREF(Py_None); resultobj = Py_None;
15469 return resultobj;
15470 fail:
15471 return NULL;
15472 }
15473
15474
15475 static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15478 bool result;
15479 PyObject * obj0 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = PyInt_FromLong((long)result);
15494 return resultobj;
15495 fail:
15496 return NULL;
15497 }
15498
15499
15500 static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15501 PyObject *obj;
15502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15503 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15504 Py_INCREF(obj);
15505 return Py_BuildValue((char *)"");
15506 }
15507 static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15508 PyObject *resultobj;
15509 int arg1 = (int) 0 ;
15510 bool arg2 = (bool) True ;
15511 wxIconizeEvent *result;
15512 PyObject * obj1 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "id",(char *) "iconized", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15518 if (obj1) {
15519 arg2 = PyInt_AsLong(obj1) ? true : false;
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15525
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15539 bool result;
15540 PyObject * obj0 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (bool)(arg1)->Iconized();
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = PyInt_FromLong((long)result);
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15562 PyObject *obj;
15563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15564 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15565 Py_INCREF(obj);
15566 return Py_BuildValue((char *)"");
15567 }
15568 static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15569 PyObject *resultobj;
15570 int arg1 = (int) 0 ;
15571 wxMaximizeEvent *result;
15572 char *kwnames[] = {
15573 (char *) "id", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15592 PyObject *obj;
15593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15594 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15595 Py_INCREF(obj);
15596 return Py_BuildValue((char *)"");
15597 }
15598 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15601 wxPoint result;
15602 PyObject * obj0 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 result = (arg1)->GetPosition();
15612
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
15616 {
15617 wxPoint * resultptr;
15618 resultptr = new wxPoint((wxPoint &) result);
15619 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15620 }
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15630 int result;
15631 PyObject * obj0 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 result = (int)(arg1)->GetNumberOfFiles();
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 resultobj = PyInt_FromLong((long)result);
15646 return resultobj;
15647 fail:
15648 return NULL;
15649 }
15650
15651
15652 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj;
15654 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15655 PyObject *result;
15656 PyObject * obj0 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 resultobj = result;
15671 return resultobj;
15672 fail:
15673 return NULL;
15674 }
15675
15676
15677 static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15678 PyObject *obj;
15679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15680 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15681 Py_INCREF(obj);
15682 return Py_BuildValue((char *)"");
15683 }
15684 static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 int arg1 = (int) 0 ;
15687 wxUpdateUIEvent *result;
15688 char *kwnames[] = {
15689 (char *) "commandId", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15696
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15701 return resultobj;
15702 fail:
15703 return NULL;
15704 }
15705
15706
15707 static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj;
15709 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15710 bool result;
15711 PyObject * obj0 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
15721
15722 wxPyEndAllowThreads(__tstate);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 resultobj = PyInt_FromLong((long)result);
15726 return resultobj;
15727 fail:
15728 return NULL;
15729 }
15730
15731
15732 static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj;
15734 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15735 bool result;
15736 PyObject * obj0 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "self", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 resultobj = PyInt_FromLong((long)result);
15751 return resultobj;
15752 fail:
15753 return NULL;
15754 }
15755
15756
15757 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15760 wxString result;
15761 PyObject * obj0 = 0 ;
15762 char *kwnames[] = {
15763 (char *) "self", NULL
15764 };
15765
15766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 {
15776 #if wxUSE_UNICODE
15777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15778 #else
15779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15780 #endif
15781 }
15782 return resultobj;
15783 fail:
15784 return NULL;
15785 }
15786
15787
15788 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15789 PyObject *resultobj;
15790 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15791 bool result;
15792 PyObject * obj0 = 0 ;
15793 char *kwnames[] = {
15794 (char *) "self", NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 resultobj = PyInt_FromLong((long)result);
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15816 bool result;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = PyInt_FromLong((long)result);
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15841 bool result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 resultobj = PyInt_FromLong((long)result);
15857 return resultobj;
15858 fail:
15859 return NULL;
15860 }
15861
15862
15863 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15866 bool arg2 ;
15867 PyObject * obj0 = 0 ;
15868 PyObject * obj1 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self",(char *) "check", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15875 arg2 = PyInt_AsLong(obj1) ? true : false;
15876 if (PyErr_Occurred()) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 (arg1)->Check(arg2);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 Py_INCREF(Py_None); resultobj = Py_None;
15885 return resultobj;
15886 fail:
15887 return NULL;
15888 }
15889
15890
15891 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15894 bool arg2 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "enable", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15903 arg2 = PyInt_AsLong(obj1) ? true : false;
15904 if (PyErr_Occurred()) SWIG_fail;
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 (arg1)->Enable(arg2);
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 Py_INCREF(Py_None); resultobj = Py_None;
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15922 wxString *arg2 = 0 ;
15923 bool temp2 = False ;
15924 PyObject * obj0 = 0 ;
15925 PyObject * obj1 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self",(char *) "text", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15932 {
15933 arg2 = wxString_in_helper(obj1);
15934 if (arg2 == NULL) SWIG_fail;
15935 temp2 = True;
15936 }
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 (arg1)->SetText((wxString const &)*arg2);
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 Py_INCREF(Py_None); resultobj = Py_None;
15945 {
15946 if (temp2)
15947 delete arg2;
15948 }
15949 return resultobj;
15950 fail:
15951 {
15952 if (temp2)
15953 delete arg2;
15954 }
15955 return NULL;
15956 }
15957
15958
15959 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 long arg1 ;
15962 char *kwnames[] = {
15963 (char *) "updateInterval", NULL
15964 };
15965
15966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 wxUpdateUIEvent::SetUpdateInterval(arg1);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 Py_INCREF(Py_None); resultobj = Py_None;
15975 return resultobj;
15976 fail:
15977 return NULL;
15978 }
15979
15980
15981 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj;
15983 long result;
15984 char *kwnames[] = {
15985 NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (long)wxUpdateUIEvent::GetUpdateInterval();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 resultobj = PyInt_FromLong((long)result);
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxWindow *arg1 = (wxWindow *) 0 ;
16006 bool result;
16007 PyObject * obj0 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "win", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16017
16018 wxPyEndAllowThreads(__tstate);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 }
16021 resultobj = PyInt_FromLong((long)result);
16022 return resultobj;
16023 fail:
16024 return NULL;
16025 }
16026
16027
16028 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16029 PyObject *resultobj;
16030 char *kwnames[] = {
16031 NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 wxUpdateUIEvent::ResetUpdateTime();
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 Py_INCREF(Py_None); resultobj = Py_None;
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 int arg1 ;
16052 char *kwnames[] = {
16053 (char *) "mode", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 Py_INCREF(Py_None); resultobj = Py_None;
16065 return resultobj;
16066 fail:
16067 return NULL;
16068 }
16069
16070
16071 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 int result;
16074 char *kwnames[] = {
16075 NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 result = (int)wxUpdateUIEvent::GetMode();
16082
16083 wxPyEndAllowThreads(__tstate);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 resultobj = PyInt_FromLong((long)result);
16087 return resultobj;
16088 fail:
16089 return NULL;
16090 }
16091
16092
16093 static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16094 PyObject *obj;
16095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16096 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16097 Py_INCREF(obj);
16098 return Py_BuildValue((char *)"");
16099 }
16100 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxSysColourChangedEvent *result;
16103 char *kwnames[] = {
16104 NULL
16105 };
16106
16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
16110 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16111
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16116 return resultobj;
16117 fail:
16118 return NULL;
16119 }
16120
16121
16122 static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16123 PyObject *obj;
16124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16126 Py_INCREF(obj);
16127 return Py_BuildValue((char *)"");
16128 }
16129 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16130 PyObject *resultobj;
16131 int arg1 = (int) 0 ;
16132 wxWindow *arg2 = (wxWindow *) NULL ;
16133 wxMouseCaptureChangedEvent *result;
16134 PyObject * obj1 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "winid",(char *) "gainedCapture", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16140 if (obj1) {
16141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16142 }
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16151 return resultobj;
16152 fail:
16153 return NULL;
16154 }
16155
16156
16157 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16158 PyObject *resultobj;
16159 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16160 wxWindow *result;
16161 PyObject * obj0 = 0 ;
16162 char *kwnames[] = {
16163 (char *) "self", NULL
16164 };
16165
16166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 {
16176 resultobj = wxPyMake_wxObject(result);
16177 }
16178 return resultobj;
16179 fail:
16180 return NULL;
16181 }
16182
16183
16184 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16185 PyObject *obj;
16186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16187 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16188 Py_INCREF(obj);
16189 return Py_BuildValue((char *)"");
16190 }
16191 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj;
16193 wxDisplayChangedEvent *result;
16194 char *kwnames[] = {
16195 NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16207 return resultobj;
16208 fail:
16209 return NULL;
16210 }
16211
16212
16213 static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16214 PyObject *obj;
16215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16216 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16217 Py_INCREF(obj);
16218 return Py_BuildValue((char *)"");
16219 }
16220 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 int arg1 = (int) 0 ;
16223 wxPaletteChangedEvent *result;
16224 char *kwnames[] = {
16225 (char *) "id", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16229 {
16230 PyThreadState* __tstate = wxPyBeginAllowThreads();
16231 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16232
16233 wxPyEndAllowThreads(__tstate);
16234 if (PyErr_Occurred()) SWIG_fail;
16235 }
16236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16237 return resultobj;
16238 fail:
16239 return NULL;
16240 }
16241
16242
16243 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj;
16245 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16246 wxWindow *arg2 = (wxWindow *) 0 ;
16247 PyObject * obj0 = 0 ;
16248 PyObject * obj1 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self",(char *) "win", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 (arg1)->SetChangedWindow(arg2);
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 Py_INCREF(Py_None); resultobj = Py_None;
16264 return resultobj;
16265 fail:
16266 return NULL;
16267 }
16268
16269
16270 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16273 wxWindow *result;
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 result = (wxWindow *)(arg1)->GetChangedWindow();
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 {
16289 resultobj = wxPyMake_wxObject(result);
16290 }
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16298 PyObject *obj;
16299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16300 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16301 Py_INCREF(obj);
16302 return Py_BuildValue((char *)"");
16303 }
16304 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 int arg1 = (int) 0 ;
16307 wxQueryNewPaletteEvent *result;
16308 char *kwnames[] = {
16309 (char *) "winid", NULL
16310 };
16311
16312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16321 return resultobj;
16322 fail:
16323 return NULL;
16324 }
16325
16326
16327 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16330 bool arg2 ;
16331 PyObject * obj0 = 0 ;
16332 PyObject * obj1 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "realized", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16339 arg2 = PyInt_AsLong(obj1) ? true : false;
16340 if (PyErr_Occurred()) SWIG_fail;
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 (arg1)->SetPaletteRealized(arg2);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16358 bool result;
16359 PyObject * obj0 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 resultobj = PyInt_FromLong((long)result);
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16381 PyObject *obj;
16382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16383 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16384 Py_INCREF(obj);
16385 return Py_BuildValue((char *)"");
16386 }
16387 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj;
16389 wxNavigationKeyEvent *result;
16390 char *kwnames[] = {
16391 NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16395 {
16396 PyThreadState* __tstate = wxPyBeginAllowThreads();
16397 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16398
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16403 return resultobj;
16404 fail:
16405 return NULL;
16406 }
16407
16408
16409 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16410 PyObject *resultobj;
16411 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16412 bool result;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 resultobj = PyInt_FromLong((long)result);
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16437 bool arg2 ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self",(char *) "bForward", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16446 arg2 = PyInt_AsLong(obj1) ? true : false;
16447 if (PyErr_Occurred()) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 (arg1)->SetDirection(arg2);
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 Py_INCREF(Py_None); resultobj = Py_None;
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16465 bool result;
16466 PyObject * obj0 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16476
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 resultobj = PyInt_FromLong((long)result);
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj;
16489 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16490 bool arg2 ;
16491 PyObject * obj0 = 0 ;
16492 PyObject * obj1 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self",(char *) "bIs", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16499 arg2 = PyInt_AsLong(obj1) ? true : false;
16500 if (PyErr_Occurred()) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 (arg1)->SetWindowChange(arg2);
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 Py_INCREF(Py_None); resultobj = Py_None;
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16518 wxWindow *result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 {
16534 resultobj = wxPyMake_wxObject(result);
16535 }
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16545 wxWindow *arg2 = (wxWindow *) 0 ;
16546 PyObject * obj0 = 0 ;
16547 PyObject * obj1 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self",(char *) "win", NULL
16550 };
16551
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16555 {
16556 PyThreadState* __tstate = wxPyBeginAllowThreads();
16557 (arg1)->SetCurrentFocus(arg2);
16558
16559 wxPyEndAllowThreads(__tstate);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 Py_INCREF(Py_None); resultobj = Py_None;
16563 return resultobj;
16564 fail:
16565 return NULL;
16566 }
16567
16568
16569 static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16570 PyObject *obj;
16571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16572 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16573 Py_INCREF(obj);
16574 return Py_BuildValue((char *)"");
16575 }
16576 static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj;
16578 wxWindow *arg1 = (wxWindow *) NULL ;
16579 wxWindowCreateEvent *result;
16580 PyObject * obj0 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "win", NULL
16583 };
16584
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16586 if (obj0) {
16587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16588 }
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16606 wxWindow *result;
16607 PyObject * obj0 = 0 ;
16608 char *kwnames[] = {
16609 (char *) "self", NULL
16610 };
16611
16612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16614 {
16615 PyThreadState* __tstate = wxPyBeginAllowThreads();
16616 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16617
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 {
16622 resultobj = wxPyMake_wxObject(result);
16623 }
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16631 PyObject *obj;
16632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16634 Py_INCREF(obj);
16635 return Py_BuildValue((char *)"");
16636 }
16637 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxWindow *arg1 = (wxWindow *) NULL ;
16640 wxWindowDestroyEvent *result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "win", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16647 if (obj0) {
16648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16649 }
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16658 return resultobj;
16659 fail:
16660 return NULL;
16661 }
16662
16663
16664 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj;
16666 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16667 wxWindow *result;
16668 PyObject * obj0 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 {
16683 resultobj = wxPyMake_wxObject(result);
16684 }
16685 return resultobj;
16686 fail:
16687 return NULL;
16688 }
16689
16690
16691 static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16692 PyObject *obj;
16693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16694 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16695 Py_INCREF(obj);
16696 return Py_BuildValue((char *)"");
16697 }
16698 static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj;
16700 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16701 int arg2 = (int) 0 ;
16702 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16703 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16704 wxContextMenuEvent *result;
16705 wxPoint temp3 ;
16706 PyObject * obj2 = 0 ;
16707 char *kwnames[] = {
16708 (char *) "type",(char *) "winid",(char *) "pt", NULL
16709 };
16710
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16712 if (obj2) {
16713 {
16714 arg3 = &temp3;
16715 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16716 }
16717 }
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16735 wxPoint *result;
16736 PyObject * obj0 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 {
16746 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16747 result = (wxPoint *) &_result_ref;
16748 }
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16754 return resultobj;
16755 fail:
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16763 wxPoint *arg2 = 0 ;
16764 wxPoint temp2 ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self",(char *) "pos", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16773 {
16774 arg2 = &temp2;
16775 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16776 }
16777 {
16778 PyThreadState* __tstate = wxPyBeginAllowThreads();
16779 (arg1)->SetPosition((wxPoint const &)*arg2);
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 Py_INCREF(Py_None); resultobj = Py_None;
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16792 PyObject *obj;
16793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16794 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16795 Py_INCREF(obj);
16796 return Py_BuildValue((char *)"");
16797 }
16798 static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj;
16800 wxIdleEvent *result;
16801 char *kwnames[] = {
16802 NULL
16803 };
16804
16805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (wxIdleEvent *)new wxIdleEvent();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16823 bool arg2 = (bool) True ;
16824 PyObject * obj0 = 0 ;
16825 PyObject * obj1 = 0 ;
16826 char *kwnames[] = {
16827 (char *) "self",(char *) "needMore", NULL
16828 };
16829
16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16832 if (obj1) {
16833 arg2 = PyInt_AsLong(obj1) ? true : false;
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 (arg1)->RequestMore(arg2);
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 Py_INCREF(Py_None); resultobj = Py_None;
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16853 bool result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 resultobj = PyInt_FromLong((long)result);
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 int arg1 ;
16878 char *kwnames[] = {
16879 (char *) "mode", NULL
16880 };
16881
16882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 wxIdleEvent::SetMode((wxIdleMode )arg1);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 Py_INCREF(Py_None); resultobj = Py_None;
16891 return resultobj;
16892 fail:
16893 return NULL;
16894 }
16895
16896
16897 static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 int result;
16900 char *kwnames[] = {
16901 NULL
16902 };
16903
16904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
16905 {
16906 PyThreadState* __tstate = wxPyBeginAllowThreads();
16907 result = (int)wxIdleEvent::GetMode();
16908
16909 wxPyEndAllowThreads(__tstate);
16910 if (PyErr_Occurred()) SWIG_fail;
16911 }
16912 resultobj = PyInt_FromLong((long)result);
16913 return resultobj;
16914 fail:
16915 return NULL;
16916 }
16917
16918
16919 static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
16920 PyObject *resultobj;
16921 wxWindow *arg1 = (wxWindow *) 0 ;
16922 bool result;
16923 PyObject * obj0 = 0 ;
16924 char *kwnames[] = {
16925 (char *) "win", NULL
16926 };
16927
16928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
16929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 result = (bool)wxIdleEvent::CanSend(arg1);
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 resultobj = PyInt_FromLong((long)result);
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
16945 PyObject *obj;
16946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16947 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
16948 Py_INCREF(obj);
16949 return Py_BuildValue((char *)"");
16950 }
16951 static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16952 PyObject *resultobj;
16953 int arg1 = (int) 0 ;
16954 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
16955 wxPyEvent *result;
16956 char *kwnames[] = {
16957 (char *) "winid",(char *) "commandType", NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
16969 return resultobj;
16970 fail:
16971 return NULL;
16972 }
16973
16974
16975 static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16976 PyObject *resultobj;
16977 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
16978 PyObject * obj0 = 0 ;
16979 char *kwnames[] = {
16980 (char *) "self", NULL
16981 };
16982
16983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
16984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 delete arg1;
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 Py_INCREF(Py_None); resultobj = Py_None;
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17002 PyObject *arg2 = (PyObject *) 0 ;
17003 PyObject * obj0 = 0 ;
17004 PyObject * obj1 = 0 ;
17005 char *kwnames[] = {
17006 (char *) "self",(char *) "self", NULL
17007 };
17008
17009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17011 arg2 = obj1;
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 (arg1)->SetSelf(arg2);
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
17019 Py_INCREF(Py_None); resultobj = Py_None;
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17029 PyObject *result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (PyObject *)(arg1)->GetSelf();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = result;
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17052 PyObject *obj;
17053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17054 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17055 Py_INCREF(obj);
17056 return Py_BuildValue((char *)"");
17057 }
17058 static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17059 PyObject *resultobj;
17060 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17061 int arg2 = (int) 0 ;
17062 wxPyCommandEvent *result;
17063 char *kwnames[] = {
17064 (char *) "commandType",(char *) "id", NULL
17065 };
17066
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17092 {
17093 PyThreadState* __tstate = wxPyBeginAllowThreads();
17094 delete arg1;
17095
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 Py_INCREF(Py_None); resultobj = Py_None;
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17109 PyObject *arg2 = (PyObject *) 0 ;
17110 PyObject * obj0 = 0 ;
17111 PyObject * obj1 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self",(char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17118 arg2 = obj1;
17119 {
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 (arg1)->SetSelf(arg2);
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 Py_INCREF(Py_None); resultobj = Py_None;
17127 return resultobj;
17128 fail:
17129 return NULL;
17130 }
17131
17132
17133 static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17134 PyObject *resultobj;
17135 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17136 PyObject *result;
17137 PyObject * obj0 = 0 ;
17138 char *kwnames[] = {
17139 (char *) "self", NULL
17140 };
17141
17142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 result = (PyObject *)(arg1)->GetSelf();
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 resultobj = result;
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17159 PyObject *obj;
17160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17161 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17162 Py_INCREF(obj);
17163 return Py_BuildValue((char *)"");
17164 }
17165 static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxPyApp *result;
17168 char *kwnames[] = {
17169 NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (wxPyApp *)new_wxPyApp();
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 {
17181 resultobj = wxPyMake_wxObject(result);
17182 }
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxPyApp *arg1 = (wxPyApp *) 0 ;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 delete arg1;
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 Py_INCREF(Py_None); resultobj = Py_None;
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxPyApp *arg1 = (wxPyApp *) 0 ;
17216 PyObject *arg2 = (PyObject *) 0 ;
17217 PyObject *arg3 = (PyObject *) 0 ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 PyObject * obj2 = 0 ;
17221 char *kwnames[] = {
17222 (char *) "self",(char *) "self",(char *) "_class", NULL
17223 };
17224
17225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17227 arg2 = obj1;
17228 arg3 = obj2;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 (arg1)->_setCallbackInfo(arg2,arg3);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 Py_INCREF(Py_None); resultobj = Py_None;
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxPyApp *arg1 = (wxPyApp *) 0 ;
17246 wxString result;
17247 PyObject * obj0 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = ((wxPyApp const *)arg1)->GetAppName();
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 {
17262 #if wxUSE_UNICODE
17263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17264 #else
17265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17266 #endif
17267 }
17268 return resultobj;
17269 fail:
17270 return NULL;
17271 }
17272
17273
17274 static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17275 PyObject *resultobj;
17276 wxPyApp *arg1 = (wxPyApp *) 0 ;
17277 wxString *arg2 = 0 ;
17278 bool temp2 = False ;
17279 PyObject * obj0 = 0 ;
17280 PyObject * obj1 = 0 ;
17281 char *kwnames[] = {
17282 (char *) "self",(char *) "name", NULL
17283 };
17284
17285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17287 {
17288 arg2 = wxString_in_helper(obj1);
17289 if (arg2 == NULL) SWIG_fail;
17290 temp2 = True;
17291 }
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 (arg1)->SetAppName((wxString const &)*arg2);
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 Py_INCREF(Py_None); resultobj = Py_None;
17300 {
17301 if (temp2)
17302 delete arg2;
17303 }
17304 return resultobj;
17305 fail:
17306 {
17307 if (temp2)
17308 delete arg2;
17309 }
17310 return NULL;
17311 }
17312
17313
17314 static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxPyApp *arg1 = (wxPyApp *) 0 ;
17317 wxString result;
17318 PyObject * obj0 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 result = ((wxPyApp const *)arg1)->GetClassName();
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 {
17333 #if wxUSE_UNICODE
17334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17335 #else
17336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17337 #endif
17338 }
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxPyApp *arg1 = (wxPyApp *) 0 ;
17348 wxString *arg2 = 0 ;
17349 bool temp2 = False ;
17350 PyObject * obj0 = 0 ;
17351 PyObject * obj1 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "self",(char *) "name", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17358 {
17359 arg2 = wxString_in_helper(obj1);
17360 if (arg2 == NULL) SWIG_fail;
17361 temp2 = True;
17362 }
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 (arg1)->SetClassName((wxString const &)*arg2);
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 Py_INCREF(Py_None); resultobj = Py_None;
17371 {
17372 if (temp2)
17373 delete arg2;
17374 }
17375 return resultobj;
17376 fail:
17377 {
17378 if (temp2)
17379 delete arg2;
17380 }
17381 return NULL;
17382 }
17383
17384
17385 static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17386 PyObject *resultobj;
17387 wxPyApp *arg1 = (wxPyApp *) 0 ;
17388 wxString *result;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 {
17399 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17400 result = (wxString *) &_result_ref;
17401 }
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17407 return resultobj;
17408 fail:
17409 return NULL;
17410 }
17411
17412
17413 static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17414 PyObject *resultobj;
17415 wxPyApp *arg1 = (wxPyApp *) 0 ;
17416 wxString *arg2 = 0 ;
17417 bool temp2 = False ;
17418 PyObject * obj0 = 0 ;
17419 PyObject * obj1 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self",(char *) "name", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17426 {
17427 arg2 = wxString_in_helper(obj1);
17428 if (arg2 == NULL) SWIG_fail;
17429 temp2 = True;
17430 }
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 (arg1)->SetVendorName((wxString const &)*arg2);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 Py_INCREF(Py_None); resultobj = Py_None;
17439 {
17440 if (temp2)
17441 delete arg2;
17442 }
17443 return resultobj;
17444 fail:
17445 {
17446 if (temp2)
17447 delete arg2;
17448 }
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPyApp *arg1 = (wxPyApp *) 0 ;
17456 wxAppTraits *result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 result = (wxAppTraits *)(arg1)->GetTraits();
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPyApp *arg1 = (wxPyApp *) 0 ;
17481 PyObject * obj0 = 0 ;
17482 char *kwnames[] = {
17483 (char *) "self", NULL
17484 };
17485
17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 (arg1)->ProcessPendingEvents();
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 Py_INCREF(Py_None); resultobj = Py_None;
17496 return resultobj;
17497 fail:
17498 return NULL;
17499 }
17500
17501
17502 static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxPyApp *arg1 = (wxPyApp *) 0 ;
17505 bool arg2 = (bool) False ;
17506 bool result;
17507 PyObject * obj0 = 0 ;
17508 PyObject * obj1 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "self",(char *) "onlyIfNeeded", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17515 if (obj1) {
17516 arg2 = PyInt_AsLong(obj1) ? true : false;
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = (bool)(arg1)->Yield(arg2);
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 resultobj = PyInt_FromLong((long)result);
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxPyApp *arg1 = (wxPyApp *) 0 ;
17536 PyObject * obj0 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 (arg1)->WakeUpIdle();
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 Py_INCREF(Py_None); resultobj = Py_None;
17551 return resultobj;
17552 fail:
17553 return NULL;
17554 }
17555
17556
17557 static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17558 PyObject *resultobj;
17559 wxPyApp *arg1 = (wxPyApp *) 0 ;
17560 int result;
17561 PyObject * obj0 = 0 ;
17562 char *kwnames[] = {
17563 (char *) "self", NULL
17564 };
17565
17566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (int)(arg1)->MainLoop();
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = PyInt_FromLong((long)result);
17576 return resultobj;
17577 fail:
17578 return NULL;
17579 }
17580
17581
17582 static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17583 PyObject *resultobj;
17584 wxPyApp *arg1 = (wxPyApp *) 0 ;
17585 PyObject * obj0 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 (arg1)->Exit();
17595
17596 wxPyEndAllowThreads(__tstate);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 }
17599 Py_INCREF(Py_None); resultobj = Py_None;
17600 return resultobj;
17601 fail:
17602 return NULL;
17603 }
17604
17605
17606 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxPyApp *arg1 = (wxPyApp *) 0 ;
17609 PyObject * obj0 = 0 ;
17610 char *kwnames[] = {
17611 (char *) "self", NULL
17612 };
17613
17614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 (arg1)->ExitMainLoop();
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 Py_INCREF(Py_None); resultobj = Py_None;
17624 return resultobj;
17625 fail:
17626 return NULL;
17627 }
17628
17629
17630 static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17631 PyObject *resultobj;
17632 wxPyApp *arg1 = (wxPyApp *) 0 ;
17633 bool result;
17634 PyObject * obj0 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (bool)(arg1)->Pending();
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 resultobj = PyInt_FromLong((long)result);
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPyApp *arg1 = (wxPyApp *) 0 ;
17658 bool result;
17659 PyObject * obj0 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 result = (bool)(arg1)->Dispatch();
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 resultobj = PyInt_FromLong((long)result);
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxPyApp *arg1 = (wxPyApp *) 0 ;
17683 bool result;
17684 PyObject * obj0 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (bool)(arg1)->ProcessIdle();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 resultobj = PyInt_FromLong((long)result);
17699 return resultobj;
17700 fail:
17701 return NULL;
17702 }
17703
17704
17705 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj;
17707 wxPyApp *arg1 = (wxPyApp *) 0 ;
17708 wxWindow *arg2 = (wxWindow *) 0 ;
17709 wxIdleEvent *arg3 = 0 ;
17710 bool result;
17711 PyObject * obj0 = 0 ;
17712 PyObject * obj1 = 0 ;
17713 PyObject * obj2 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "win",(char *) "event", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17721 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 if (arg3 == NULL) {
17723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17724 }
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 resultobj = PyInt_FromLong((long)result);
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 wxPyApp *arg1 = (wxPyApp *) 0 ;
17742 bool result;
17743 PyObject * obj0 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17750 {
17751 PyThreadState* __tstate = wxPyBeginAllowThreads();
17752 result = (bool)((wxPyApp const *)arg1)->IsActive();
17753
17754 wxPyEndAllowThreads(__tstate);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 resultobj = PyInt_FromLong((long)result);
17758 return resultobj;
17759 fail:
17760 return NULL;
17761 }
17762
17763
17764 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17765 PyObject *resultobj;
17766 wxPyApp *arg1 = (wxPyApp *) 0 ;
17767 wxWindow *arg2 = (wxWindow *) 0 ;
17768 PyObject * obj0 = 0 ;
17769 PyObject * obj1 = 0 ;
17770 char *kwnames[] = {
17771 (char *) "self",(char *) "win", NULL
17772 };
17773
17774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->SetTopWindow(arg2);
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 Py_INCREF(Py_None); resultobj = Py_None;
17785 return resultobj;
17786 fail:
17787 return NULL;
17788 }
17789
17790
17791 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj;
17793 wxPyApp *arg1 = (wxPyApp *) 0 ;
17794 wxWindow *result;
17795 PyObject * obj0 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 {
17810 resultobj = wxPyMake_wxObject(result);
17811 }
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPyApp *arg1 = (wxPyApp *) 0 ;
17821 bool arg2 ;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj1 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "flag", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17830 arg2 = PyInt_AsLong(obj1) ? true : false;
17831 if (PyErr_Occurred()) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 (arg1)->SetExitOnFrameDelete(arg2);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 Py_INCREF(Py_None); resultobj = Py_None;
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxPyApp *arg1 = (wxPyApp *) 0 ;
17849 bool result;
17850 PyObject * obj0 = 0 ;
17851 char *kwnames[] = {
17852 (char *) "self", NULL
17853 };
17854
17855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
17856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17857 {
17858 PyThreadState* __tstate = wxPyBeginAllowThreads();
17859 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
17864 resultobj = PyInt_FromLong((long)result);
17865 return resultobj;
17866 fail:
17867 return NULL;
17868 }
17869
17870
17871 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxPyApp *arg1 = (wxPyApp *) 0 ;
17874 bool arg2 ;
17875 PyObject * obj0 = 0 ;
17876 PyObject * obj1 = 0 ;
17877 char *kwnames[] = {
17878 (char *) "self",(char *) "flag", NULL
17879 };
17880
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
17882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17883 arg2 = PyInt_AsLong(obj1) ? true : false;
17884 if (PyErr_Occurred()) SWIG_fail;
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 (arg1)->SetUseBestVisual(arg2);
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 Py_INCREF(Py_None); resultobj = Py_None;
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxPyApp *arg1 = (wxPyApp *) 0 ;
17902 bool result;
17903 PyObject * obj0 = 0 ;
17904 char *kwnames[] = {
17905 (char *) "self", NULL
17906 };
17907
17908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
17909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
17913
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 resultobj = PyInt_FromLong((long)result);
17918 return resultobj;
17919 fail:
17920 return NULL;
17921 }
17922
17923
17924 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17925 PyObject *resultobj;
17926 wxPyApp *arg1 = (wxPyApp *) 0 ;
17927 int arg2 ;
17928 PyObject * obj0 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self",(char *) "mode", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 (arg1)->SetPrintMode(arg2);
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 Py_INCREF(Py_None); resultobj = Py_None;
17943 return resultobj;
17944 fail:
17945 return NULL;
17946 }
17947
17948
17949 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxPyApp *arg1 = (wxPyApp *) 0 ;
17952 int result;
17953 PyObject * obj0 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 resultobj = PyInt_FromLong((long)result);
17968 return resultobj;
17969 fail:
17970 return NULL;
17971 }
17972
17973
17974 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxPyApp *arg1 = (wxPyApp *) 0 ;
17977 int arg2 ;
17978 PyObject * obj0 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self",(char *) "mode", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 (arg1)->SetAssertMode(arg2);
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 Py_INCREF(Py_None); resultobj = Py_None;
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxPyApp *arg1 = (wxPyApp *) 0 ;
18002 int result;
18003 PyObject * obj0 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (int)(arg1)->GetAssertMode();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 resultobj = PyInt_FromLong((long)result);
18018 return resultobj;
18019 fail:
18020 return NULL;
18021 }
18022
18023
18024 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 bool result;
18027 char *kwnames[] = {
18028 NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18032 {
18033 PyThreadState* __tstate = wxPyBeginAllowThreads();
18034 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18035
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 resultobj = PyInt_FromLong((long)result);
18040 return resultobj;
18041 fail:
18042 return NULL;
18043 }
18044
18045
18046 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18047 PyObject *resultobj;
18048 long result;
18049 char *kwnames[] = {
18050 NULL
18051 };
18052
18053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (long)wxPyApp::GetMacAboutMenuItemId();
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 resultobj = PyInt_FromLong((long)result);
18062 return resultobj;
18063 fail:
18064 return NULL;
18065 }
18066
18067
18068 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18069 PyObject *resultobj;
18070 long result;
18071 char *kwnames[] = {
18072 NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18079
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 resultobj = PyInt_FromLong((long)result);
18084 return resultobj;
18085 fail:
18086 return NULL;
18087 }
18088
18089
18090 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18091 PyObject *resultobj;
18092 long result;
18093 char *kwnames[] = {
18094 NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (long)wxPyApp::GetMacExitMenuItemId();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = PyInt_FromLong((long)result);
18106 return resultobj;
18107 fail:
18108 return NULL;
18109 }
18110
18111
18112 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxString result;
18115 char *kwnames[] = {
18116 NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = wxPyApp::GetMacHelpMenuTitleName();
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 {
18128 #if wxUSE_UNICODE
18129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18130 #else
18131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18132 #endif
18133 }
18134 return resultobj;
18135 fail:
18136 return NULL;
18137 }
18138
18139
18140 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj;
18142 bool arg1 ;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "val", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18149 arg1 = PyInt_AsLong(obj0) ? true : false;
18150 if (PyErr_Occurred()) SWIG_fail;
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 Py_INCREF(Py_None); resultobj = Py_None;
18159 return resultobj;
18160 fail:
18161 return NULL;
18162 }
18163
18164
18165 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj;
18167 long arg1 ;
18168 char *kwnames[] = {
18169 (char *) "val", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 wxPyApp::SetMacAboutMenuItemId(arg1);
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 Py_INCREF(Py_None); resultobj = Py_None;
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 long arg1 ;
18190 char *kwnames[] = {
18191 (char *) "val", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 Py_INCREF(Py_None); resultobj = Py_None;
18203 return resultobj;
18204 fail:
18205 return NULL;
18206 }
18207
18208
18209 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 long arg1 ;
18212 char *kwnames[] = {
18213 (char *) "val", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 wxPyApp::SetMacExitMenuItemId(arg1);
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 Py_INCREF(Py_None); resultobj = Py_None;
18225 return resultobj;
18226 fail:
18227 return NULL;
18228 }
18229
18230
18231 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18232 PyObject *resultobj;
18233 wxString *arg1 = 0 ;
18234 bool temp1 = False ;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "val", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18241 {
18242 arg1 = wxString_in_helper(obj0);
18243 if (arg1 == NULL) SWIG_fail;
18244 temp1 = True;
18245 }
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 Py_INCREF(Py_None); resultobj = Py_None;
18254 {
18255 if (temp1)
18256 delete arg1;
18257 }
18258 return resultobj;
18259 fail:
18260 {
18261 if (temp1)
18262 delete arg1;
18263 }
18264 return NULL;
18265 }
18266
18267
18268 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPyApp *arg1 = (wxPyApp *) 0 ;
18271 PyObject * obj0 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 (arg1)->_BootstrapApp();
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 Py_INCREF(Py_None); resultobj = Py_None;
18286 return resultobj;
18287 fail:
18288 return NULL;
18289 }
18290
18291
18292 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18293 PyObject *resultobj;
18294 int result;
18295 char *kwnames[] = {
18296 NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 result = (int)PyApp_GetComCtl32Version();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 resultobj = PyInt_FromLong((long)result);
18308 return resultobj;
18309 fail:
18310 return NULL;
18311 }
18312
18313
18314 static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18315 PyObject *obj;
18316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18317 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18318 Py_INCREF(obj);
18319 return Py_BuildValue((char *)"");
18320 }
18321 static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 char *kwnames[] = {
18324 NULL
18325 };
18326
18327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 wxExit();
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 Py_INCREF(Py_None); resultobj = Py_None;
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 bool result;
18345 char *kwnames[] = {
18346 NULL
18347 };
18348
18349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 result = (bool)wxYield();
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 resultobj = PyInt_FromLong((long)result);
18358 return resultobj;
18359 fail:
18360 return NULL;
18361 }
18362
18363
18364 static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18365 PyObject *resultobj;
18366 bool result;
18367 char *kwnames[] = {
18368 NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = (bool)wxYieldIfNeeded();
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = PyInt_FromLong((long)result);
18380 return resultobj;
18381 fail:
18382 return NULL;
18383 }
18384
18385
18386 static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj;
18388 wxWindow *arg1 = (wxWindow *) NULL ;
18389 bool arg2 = (bool) False ;
18390 bool result;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj1 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "win",(char *) "onlyIfNeeded", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18398 if (obj0) {
18399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18400 }
18401 if (obj1) {
18402 arg2 = PyInt_AsLong(obj1) ? true : false;
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 result = (bool)wxSafeYield(arg1,arg2);
18408
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 resultobj = PyInt_FromLong((long)result);
18413 return resultobj;
18414 fail:
18415 return NULL;
18416 }
18417
18418
18419 static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18420 PyObject *resultobj;
18421 char *kwnames[] = {
18422 NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 wxWakeUpIdle();
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 Py_INCREF(Py_None); resultobj = Py_None;
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj;
18442 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18443 wxEvent *arg2 = 0 ;
18444 PyObject * obj0 = 0 ;
18445 PyObject * obj1 = 0 ;
18446 char *kwnames[] = {
18447 (char *) "dest",(char *) "event", NULL
18448 };
18449
18450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18453 if (arg2 == NULL) {
18454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18455 }
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 wxPostEvent(arg1,*arg2);
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 Py_INCREF(Py_None); resultobj = Py_None;
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 char *kwnames[] = {
18473 NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 wxApp_CleanUp();
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 Py_INCREF(Py_None); resultobj = Py_None;
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18492 PyObject *resultobj;
18493 wxPyApp *result;
18494 char *kwnames[] = {
18495 NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (wxPyApp *)wxGetApp();
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 {
18507 resultobj = wxPyMake_wxObject(result);
18508 }
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 int arg1 = (int) 0 ;
18518 int arg2 = (int) 0 ;
18519 int arg3 = (int) 0 ;
18520 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
18521 wxAcceleratorEntry *result;
18522 PyObject * obj3 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
18528 if (obj3) {
18529 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18530 }
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
18539 return resultobj;
18540 fail:
18541 return NULL;
18542 }
18543
18544
18545 static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
18554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 delete arg1;
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 Py_INCREF(Py_None); resultobj = Py_None;
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18572 int arg2 ;
18573 int arg3 ;
18574 int arg4 ;
18575 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj4 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
18583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18584 if (obj4) {
18585 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18586 }
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 (arg1)->Set(arg2,arg3,arg4,arg5);
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 Py_INCREF(Py_None); resultobj = Py_None;
18595 return resultobj;
18596 fail:
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18604 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self",(char *) "item", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
18612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 (arg1)->SetMenuItem(arg2);
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 Py_INCREF(Py_None); resultobj = Py_None;
18622 return resultobj;
18623 fail:
18624 return NULL;
18625 }
18626
18627
18628 static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj;
18630 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18631 wxMenuItem *result;
18632 PyObject * obj0 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
18638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
18642
18643 wxPyEndAllowThreads(__tstate);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 }
18646 {
18647 resultobj = wxPyMake_wxObject(result);
18648 }
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18658 int result;
18659 PyObject * obj0 = 0 ;
18660 char *kwnames[] = {
18661 (char *) "self", NULL
18662 };
18663
18664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
18665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18666 {
18667 PyThreadState* __tstate = wxPyBeginAllowThreads();
18668 result = (int)(arg1)->GetFlags();
18669
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 resultobj = PyInt_FromLong((long)result);
18674 return resultobj;
18675 fail:
18676 return NULL;
18677 }
18678
18679
18680 static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
18681 PyObject *resultobj;
18682 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18683 int result;
18684 PyObject * obj0 = 0 ;
18685 char *kwnames[] = {
18686 (char *) "self", NULL
18687 };
18688
18689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
18690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 result = (int)(arg1)->GetKeyCode();
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 resultobj = PyInt_FromLong((long)result);
18699 return resultobj;
18700 fail:
18701 return NULL;
18702 }
18703
18704
18705 static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj;
18707 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
18708 int result;
18709 PyObject * obj0 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (int)(arg1)->GetCommand();
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 resultobj = PyInt_FromLong((long)result);
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
18731 PyObject *obj;
18732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18733 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
18734 Py_INCREF(obj);
18735 return Py_BuildValue((char *)"");
18736 }
18737 static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 int arg1 ;
18740 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
18741 wxAcceleratorTable *result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "n", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
18748 {
18749 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
18750 if (arg2) arg1 = PyList_Size(obj0);
18751 else arg1 = 0;
18752 }
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
18761 {
18762 delete [] arg2;
18763 }
18764 return resultobj;
18765 fail:
18766 {
18767 delete [] arg2;
18768 }
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
18776 PyObject * obj0 = 0 ;
18777 char *kwnames[] = {
18778 (char *) "self", NULL
18779 };
18780
18781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
18782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 delete arg1;
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 Py_INCREF(Py_None); resultobj = Py_None;
18791 return resultobj;
18792 fail:
18793 return NULL;
18794 }
18795
18796
18797 static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18798 PyObject *resultobj;
18799 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
18800 bool result;
18801 PyObject * obj0 = 0 ;
18802 char *kwnames[] = {
18803 (char *) "self", NULL
18804 };
18805
18806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
18807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = PyInt_FromLong((long)result);
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
18823 PyObject *obj;
18824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18825 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
18826 Py_INCREF(obj);
18827 return Py_BuildValue((char *)"");
18828 }
18829 static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
18830 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
18831 return 1;
18832 }
18833
18834
18835 static PyObject *_wrap_NullAcceleratorTable_get() {
18836 PyObject *pyobj;
18837
18838 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
18839 return pyobj;
18840 }
18841
18842
18843 static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxString *arg1 = 0 ;
18846 wxAcceleratorEntry *result;
18847 bool temp1 = False ;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "label", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
18854 {
18855 arg1 = wxString_in_helper(obj0);
18856 if (arg1 == NULL) SWIG_fail;
18857 temp1 = True;
18858 }
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
18867 {
18868 if (temp1)
18869 delete arg1;
18870 }
18871 return resultobj;
18872 fail:
18873 {
18874 if (temp1)
18875 delete arg1;
18876 }
18877 return NULL;
18878 }
18879
18880
18881 static int _wrap_PanelNameStr_set(PyObject *_val) {
18882 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
18883 return 1;
18884 }
18885
18886
18887 static PyObject *_wrap_PanelNameStr_get() {
18888 PyObject *pyobj;
18889
18890 {
18891 #if wxUSE_UNICODE
18892 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18893 #else
18894 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
18895 #endif
18896 }
18897 return pyobj;
18898 }
18899
18900
18901 static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxWindow *arg1 = (wxWindow *) 0 ;
18904 int arg2 ;
18905 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18906 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18907 wxSize const &arg4_defvalue = wxDefaultSize ;
18908 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18909 long arg5 = (long) 0 ;
18910 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18911 wxString *arg6 = (wxString *) &arg6_defvalue ;
18912 wxWindow *result;
18913 wxPoint temp3 ;
18914 wxSize temp4 ;
18915 bool temp6 = False ;
18916 PyObject * obj0 = 0 ;
18917 PyObject * obj2 = 0 ;
18918 PyObject * obj3 = 0 ;
18919 PyObject * obj5 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 if (obj2) {
18927 {
18928 arg3 = &temp3;
18929 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18930 }
18931 }
18932 if (obj3) {
18933 {
18934 arg4 = &temp4;
18935 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18936 }
18937 }
18938 if (obj5) {
18939 {
18940 arg6 = wxString_in_helper(obj5);
18941 if (arg6 == NULL) SWIG_fail;
18942 temp6 = True;
18943 }
18944 }
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18948
18949 wxPyEndAllowThreads(__tstate);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 {
18953 resultobj = wxPyMake_wxObject(result);
18954 }
18955 {
18956 if (temp6)
18957 delete arg6;
18958 }
18959 return resultobj;
18960 fail:
18961 {
18962 if (temp6)
18963 delete arg6;
18964 }
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxWindow *result;
18972 char *kwnames[] = {
18973 NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 result = (wxWindow *)new wxWindow();
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 {
18985 resultobj = wxPyMake_wxObject(result);
18986 }
18987 return resultobj;
18988 fail:
18989 return NULL;
18990 }
18991
18992
18993 static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18994 PyObject *resultobj;
18995 wxWindow *arg1 = (wxWindow *) 0 ;
18996 wxWindow *arg2 = (wxWindow *) 0 ;
18997 int arg3 ;
18998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19000 wxSize const &arg5_defvalue = wxDefaultSize ;
19001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19002 long arg6 = (long) 0 ;
19003 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19004 wxString *arg7 = (wxString *) &arg7_defvalue ;
19005 bool result;
19006 wxPoint temp4 ;
19007 wxSize temp5 ;
19008 bool temp7 = False ;
19009 PyObject * obj0 = 0 ;
19010 PyObject * obj1 = 0 ;
19011 PyObject * obj3 = 0 ;
19012 PyObject * obj4 = 0 ;
19013 PyObject * obj6 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
19019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19021 if (obj3) {
19022 {
19023 arg4 = &temp4;
19024 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19025 }
19026 }
19027 if (obj4) {
19028 {
19029 arg5 = &temp5;
19030 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19031 }
19032 }
19033 if (obj6) {
19034 {
19035 arg7 = wxString_in_helper(obj6);
19036 if (arg7 == NULL) SWIG_fail;
19037 temp7 = True;
19038 }
19039 }
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 resultobj = PyInt_FromLong((long)result);
19048 {
19049 if (temp7)
19050 delete arg7;
19051 }
19052 return resultobj;
19053 fail:
19054 {
19055 if (temp7)
19056 delete arg7;
19057 }
19058 return NULL;
19059 }
19060
19061
19062 static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxWindow *arg1 = (wxWindow *) 0 ;
19065 bool arg2 = (bool) False ;
19066 bool result;
19067 PyObject * obj0 = 0 ;
19068 PyObject * obj1 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self",(char *) "force", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 if (obj1) {
19076 arg2 = PyInt_AsLong(obj1) ? true : false;
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (bool)(arg1)->Close(arg2);
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 resultobj = PyInt_FromLong((long)result);
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxWindow *arg1 = (wxWindow *) 0 ;
19096 bool result;
19097 PyObject * obj0 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "self", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
19103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 result = (bool)(arg1)->Destroy();
19107
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 resultobj = PyInt_FromLong((long)result);
19112 return resultobj;
19113 fail:
19114 return NULL;
19115 }
19116
19117
19118 static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj;
19120 wxWindow *arg1 = (wxWindow *) 0 ;
19121 bool result;
19122 PyObject * obj0 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19129 {
19130 PyThreadState* __tstate = wxPyBeginAllowThreads();
19131 result = (bool)(arg1)->DestroyChildren();
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 resultobj = PyInt_FromLong((long)result);
19137 return resultobj;
19138 fail:
19139 return NULL;
19140 }
19141
19142
19143 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
19144 PyObject *resultobj;
19145 wxWindow *arg1 = (wxWindow *) 0 ;
19146 bool result;
19147 PyObject * obj0 = 0 ;
19148 char *kwnames[] = {
19149 (char *) "self", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
19153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = PyInt_FromLong((long)result);
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxWindow *arg1 = (wxWindow *) 0 ;
19171 wxString *arg2 = 0 ;
19172 bool temp2 = False ;
19173 PyObject * obj0 = 0 ;
19174 PyObject * obj1 = 0 ;
19175 char *kwnames[] = {
19176 (char *) "self",(char *) "title", NULL
19177 };
19178
19179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
19180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19181 {
19182 arg2 = wxString_in_helper(obj1);
19183 if (arg2 == NULL) SWIG_fail;
19184 temp2 = True;
19185 }
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 (arg1)->SetTitle((wxString const &)*arg2);
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 Py_INCREF(Py_None); resultobj = Py_None;
19194 {
19195 if (temp2)
19196 delete arg2;
19197 }
19198 return resultobj;
19199 fail:
19200 {
19201 if (temp2)
19202 delete arg2;
19203 }
19204 return NULL;
19205 }
19206
19207
19208 static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxWindow *arg1 = (wxWindow *) 0 ;
19211 wxString result;
19212 PyObject * obj0 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19219 {
19220 PyThreadState* __tstate = wxPyBeginAllowThreads();
19221 result = ((wxWindow const *)arg1)->GetTitle();
19222
19223 wxPyEndAllowThreads(__tstate);
19224 if (PyErr_Occurred()) SWIG_fail;
19225 }
19226 {
19227 #if wxUSE_UNICODE
19228 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19229 #else
19230 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19231 #endif
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxWindow *arg1 = (wxWindow *) 0 ;
19242 wxString *arg2 = 0 ;
19243 bool temp2 = False ;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self",(char *) "label", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19252 {
19253 arg2 = wxString_in_helper(obj1);
19254 if (arg2 == NULL) SWIG_fail;
19255 temp2 = True;
19256 }
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 (arg1)->SetLabel((wxString const &)*arg2);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 Py_INCREF(Py_None); resultobj = Py_None;
19265 {
19266 if (temp2)
19267 delete arg2;
19268 }
19269 return resultobj;
19270 fail:
19271 {
19272 if (temp2)
19273 delete arg2;
19274 }
19275 return NULL;
19276 }
19277
19278
19279 static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19280 PyObject *resultobj;
19281 wxWindow *arg1 = (wxWindow *) 0 ;
19282 wxString result;
19283 PyObject * obj0 = 0 ;
19284 char *kwnames[] = {
19285 (char *) "self", NULL
19286 };
19287
19288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
19289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 result = ((wxWindow const *)arg1)->GetLabel();
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 {
19298 #if wxUSE_UNICODE
19299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19300 #else
19301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19302 #endif
19303 }
19304 return resultobj;
19305 fail:
19306 return NULL;
19307 }
19308
19309
19310 static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19311 PyObject *resultobj;
19312 wxWindow *arg1 = (wxWindow *) 0 ;
19313 wxString *arg2 = 0 ;
19314 bool temp2 = False ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "name", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19323 {
19324 arg2 = wxString_in_helper(obj1);
19325 if (arg2 == NULL) SWIG_fail;
19326 temp2 = True;
19327 }
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 (arg1)->SetName((wxString const &)*arg2);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 Py_INCREF(Py_None); resultobj = Py_None;
19336 {
19337 if (temp2)
19338 delete arg2;
19339 }
19340 return resultobj;
19341 fail:
19342 {
19343 if (temp2)
19344 delete arg2;
19345 }
19346 return NULL;
19347 }
19348
19349
19350 static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxWindow *arg1 = (wxWindow *) 0 ;
19353 wxString result;
19354 PyObject * obj0 = 0 ;
19355 char *kwnames[] = {
19356 (char *) "self", NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
19363 result = ((wxWindow const *)arg1)->GetName();
19364
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 {
19369 #if wxUSE_UNICODE
19370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19371 #else
19372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19373 #endif
19374 }
19375 return resultobj;
19376 fail:
19377 return NULL;
19378 }
19379
19380
19381 static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj;
19383 wxWindow *arg1 = (wxWindow *) 0 ;
19384 int arg2 ;
19385 PyObject * obj0 = 0 ;
19386 char *kwnames[] = {
19387 (char *) "self",(char *) "winid", NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 (arg1)->SetId(arg2);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 Py_INCREF(Py_None); resultobj = Py_None;
19400 return resultobj;
19401 fail:
19402 return NULL;
19403 }
19404
19405
19406 static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxWindow *arg1 = (wxWindow *) 0 ;
19409 int result;
19410 PyObject * obj0 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19417 {
19418 PyThreadState* __tstate = wxPyBeginAllowThreads();
19419 result = (int)((wxWindow const *)arg1)->GetId();
19420
19421 wxPyEndAllowThreads(__tstate);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 }
19424 resultobj = PyInt_FromLong((long)result);
19425 return resultobj;
19426 fail:
19427 return NULL;
19428 }
19429
19430
19431 static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 int result;
19434 char *kwnames[] = {
19435 NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 result = (int)wxWindow::NewControlId();
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 resultobj = PyInt_FromLong((long)result);
19447 return resultobj;
19448 fail:
19449 return NULL;
19450 }
19451
19452
19453 static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19454 PyObject *resultobj;
19455 int arg1 ;
19456 int result;
19457 char *kwnames[] = {
19458 (char *) "winid", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 result = (int)wxWindow::NextControlId(arg1);
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 resultobj = PyInt_FromLong((long)result);
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 int arg1 ;
19479 int result;
19480 char *kwnames[] = {
19481 (char *) "winid", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (int)wxWindow::PrevControlId(arg1);
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = PyInt_FromLong((long)result);
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxWindow *arg1 = (wxWindow *) 0 ;
19502 wxSize *arg2 = 0 ;
19503 wxSize temp2 ;
19504 PyObject * obj0 = 0 ;
19505 PyObject * obj1 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self",(char *) "size", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19512 {
19513 arg2 = &temp2;
19514 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19515 }
19516 {
19517 PyThreadState* __tstate = wxPyBeginAllowThreads();
19518 (arg1)->SetSize((wxSize const &)*arg2);
19519
19520 wxPyEndAllowThreads(__tstate);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 Py_INCREF(Py_None); resultobj = Py_None;
19524 return resultobj;
19525 fail:
19526 return NULL;
19527 }
19528
19529
19530 static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxWindow *arg1 = (wxWindow *) 0 ;
19533 int arg2 ;
19534 int arg3 ;
19535 int arg4 ;
19536 int arg5 ;
19537 int arg6 = (int) wxSIZE_AUTO ;
19538 PyObject * obj0 = 0 ;
19539 char *kwnames[] = {
19540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19541 };
19542
19543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxWindow *arg1 = (wxWindow *) 0 ;
19562 wxRect *arg2 = 0 ;
19563 int arg3 = (int) wxSIZE_AUTO ;
19564 wxRect temp2 ;
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19573 {
19574 arg2 = &temp2;
19575 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 Py_INCREF(Py_None); resultobj = Py_None;
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxWindow *arg1 = (wxWindow *) 0 ;
19594 int arg2 ;
19595 int arg3 ;
19596 PyObject * obj0 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "width",(char *) "height", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 (arg1)->SetSize(arg2,arg3);
19606
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
19610 Py_INCREF(Py_None); resultobj = Py_None;
19611 return resultobj;
19612 fail:
19613 return NULL;
19614 }
19615
19616
19617 static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19618 PyObject *resultobj;
19619 wxWindow *arg1 = (wxWindow *) 0 ;
19620 wxPoint *arg2 = 0 ;
19621 int arg3 = (int) wxSIZE_USE_EXISTING ;
19622 wxPoint temp2 ;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "pt",(char *) "flags", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19631 {
19632 arg2 = &temp2;
19633 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19634 }
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->Move((wxPoint const &)*arg2,arg3);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 Py_INCREF(Py_None); resultobj = Py_None;
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxWindow *arg1 = (wxWindow *) 0 ;
19652 int arg2 ;
19653 int arg3 ;
19654 int arg4 = (int) wxSIZE_USE_EXISTING ;
19655 PyObject * obj0 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 (arg1)->Move(arg2,arg3,arg4);
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 Py_INCREF(Py_None); resultobj = Py_None;
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxWindow *arg1 = (wxWindow *) 0 ;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",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 (arg1)->Raise();
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 Py_INCREF(Py_None); resultobj = Py_None;
19694 return resultobj;
19695 fail:
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxWindow *arg1 = (wxWindow *) 0 ;
19703 PyObject * obj0 = 0 ;
19704 char *kwnames[] = {
19705 (char *) "self", NULL
19706 };
19707
19708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 (arg1)->Lower();
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 Py_INCREF(Py_None); resultobj = Py_None;
19718 return resultobj;
19719 fail:
19720 return NULL;
19721 }
19722
19723
19724 static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19725 PyObject *resultobj;
19726 wxWindow *arg1 = (wxWindow *) 0 ;
19727 wxSize *arg2 = 0 ;
19728 wxSize temp2 ;
19729 PyObject * obj0 = 0 ;
19730 PyObject * obj1 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self",(char *) "size", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
19736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19737 {
19738 arg2 = &temp2;
19739 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19740 }
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 (arg1)->SetClientSize((wxSize const &)*arg2);
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 Py_INCREF(Py_None); resultobj = Py_None;
19749 return resultobj;
19750 fail:
19751 return NULL;
19752 }
19753
19754
19755 static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19756 PyObject *resultobj;
19757 wxWindow *arg1 = (wxWindow *) 0 ;
19758 int arg2 ;
19759 int arg3 ;
19760 PyObject * obj0 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "self",(char *) "width",(char *) "height", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 (arg1)->SetClientSize(arg2,arg3);
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 Py_INCREF(Py_None); resultobj = Py_None;
19775 return resultobj;
19776 fail:
19777 return NULL;
19778 }
19779
19780
19781 static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj;
19783 wxWindow *arg1 = (wxWindow *) 0 ;
19784 wxRect *arg2 = 0 ;
19785 wxRect temp2 ;
19786 PyObject * obj0 = 0 ;
19787 PyObject * obj1 = 0 ;
19788 char *kwnames[] = {
19789 (char *) "self",(char *) "rect", NULL
19790 };
19791
19792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19794 {
19795 arg2 = &temp2;
19796 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19797 }
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 (arg1)->SetClientSize((wxRect const &)*arg2);
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 Py_INCREF(Py_None); resultobj = Py_None;
19806 return resultobj;
19807 fail:
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxWindow *arg1 = (wxWindow *) 0 ;
19815 wxPoint result;
19816 PyObject * obj0 = 0 ;
19817 char *kwnames[] = {
19818 (char *) "self", NULL
19819 };
19820
19821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (arg1)->GetPosition();
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 {
19831 wxPoint * resultptr;
19832 resultptr = new wxPoint((wxPoint &) result);
19833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19834 }
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj;
19843 wxWindow *arg1 = (wxWindow *) 0 ;
19844 int *arg2 = (int *) 0 ;
19845 int *arg3 = (int *) 0 ;
19846 int temp2 ;
19847 int temp3 ;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "self", NULL
19851 };
19852
19853 arg2 = &temp2;
19854 arg3 = &temp3;
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 (arg1)->GetPosition(arg2,arg3);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 Py_INCREF(Py_None); resultobj = Py_None;
19865 {
19866 PyObject *o = PyInt_FromLong((long) (*arg2));
19867 resultobj = t_output_helper(resultobj,o);
19868 }
19869 {
19870 PyObject *o = PyInt_FromLong((long) (*arg3));
19871 resultobj = t_output_helper(resultobj,o);
19872 }
19873 return resultobj;
19874 fail:
19875 return NULL;
19876 }
19877
19878
19879 static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxWindow *arg1 = (wxWindow *) 0 ;
19882 wxSize result;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 result = ((wxWindow const *)arg1)->GetSize();
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 {
19898 wxSize * resultptr;
19899 resultptr = new wxSize((wxSize &) result);
19900 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19901 }
19902 return resultobj;
19903 fail:
19904 return NULL;
19905 }
19906
19907
19908 static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19909 PyObject *resultobj;
19910 wxWindow *arg1 = (wxWindow *) 0 ;
19911 int *arg2 = (int *) 0 ;
19912 int *arg3 = (int *) 0 ;
19913 int temp2 ;
19914 int temp3 ;
19915 PyObject * obj0 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self", NULL
19918 };
19919
19920 arg2 = &temp2;
19921 arg3 = &temp3;
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 Py_INCREF(Py_None); resultobj = Py_None;
19932 {
19933 PyObject *o = PyInt_FromLong((long) (*arg2));
19934 resultobj = t_output_helper(resultobj,o);
19935 }
19936 {
19937 PyObject *o = PyInt_FromLong((long) (*arg3));
19938 resultobj = t_output_helper(resultobj,o);
19939 }
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj;
19948 wxWindow *arg1 = (wxWindow *) 0 ;
19949 wxRect result;
19950 PyObject * obj0 = 0 ;
19951 char *kwnames[] = {
19952 (char *) "self", NULL
19953 };
19954
19955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 result = ((wxWindow const *)arg1)->GetRect();
19960
19961 wxPyEndAllowThreads(__tstate);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 {
19965 wxRect * resultptr;
19966 resultptr = new wxRect((wxRect &) result);
19967 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19968 }
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxWindow *arg1 = (wxWindow *) 0 ;
19978 wxSize result;
19979 PyObject * obj0 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 result = ((wxWindow const *)arg1)->GetClientSize();
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 {
19994 wxSize * resultptr;
19995 resultptr = new wxSize((wxSize &) result);
19996 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19997 }
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxWindow *arg1 = (wxWindow *) 0 ;
20007 int *arg2 = (int *) 0 ;
20008 int *arg3 = (int *) 0 ;
20009 int temp2 ;
20010 int temp3 ;
20011 PyObject * obj0 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self", NULL
20014 };
20015
20016 arg2 = &temp2;
20017 arg3 = &temp3;
20018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
20019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 {
20029 PyObject *o = PyInt_FromLong((long) (*arg2));
20030 resultobj = t_output_helper(resultobj,o);
20031 }
20032 {
20033 PyObject *o = PyInt_FromLong((long) (*arg3));
20034 resultobj = t_output_helper(resultobj,o);
20035 }
20036 return resultobj;
20037 fail:
20038 return NULL;
20039 }
20040
20041
20042 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
20043 PyObject *resultobj;
20044 wxWindow *arg1 = (wxWindow *) 0 ;
20045 wxPoint result;
20046 PyObject * obj0 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
20056
20057 wxPyEndAllowThreads(__tstate);
20058 if (PyErr_Occurred()) SWIG_fail;
20059 }
20060 {
20061 wxPoint * resultptr;
20062 resultptr = new wxPoint((wxPoint &) result);
20063 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20064 }
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxWindow *arg1 = (wxWindow *) 0 ;
20074 wxRect result;
20075 PyObject * obj0 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20082 {
20083 PyThreadState* __tstate = wxPyBeginAllowThreads();
20084 result = ((wxWindow const *)arg1)->GetClientRect();
20085
20086 wxPyEndAllowThreads(__tstate);
20087 if (PyErr_Occurred()) SWIG_fail;
20088 }
20089 {
20090 wxRect * resultptr;
20091 resultptr = new wxRect((wxRect &) result);
20092 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20093 }
20094 return resultobj;
20095 fail:
20096 return NULL;
20097 }
20098
20099
20100 static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj;
20102 wxWindow *arg1 = (wxWindow *) 0 ;
20103 wxSize result;
20104 PyObject * obj0 = 0 ;
20105 char *kwnames[] = {
20106 (char *) "self", NULL
20107 };
20108
20109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
20110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 result = ((wxWindow const *)arg1)->GetBestSize();
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 {
20119 wxSize * resultptr;
20120 resultptr = new wxSize((wxSize &) result);
20121 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20122 }
20123 return resultobj;
20124 fail:
20125 return NULL;
20126 }
20127
20128
20129 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20130 PyObject *resultobj;
20131 wxWindow *arg1 = (wxWindow *) 0 ;
20132 int *arg2 = (int *) 0 ;
20133 int *arg3 = (int *) 0 ;
20134 int temp2 ;
20135 int temp3 ;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 arg2 = &temp2;
20142 arg3 = &temp3;
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
20148
20149 wxPyEndAllowThreads(__tstate);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 Py_INCREF(Py_None); resultobj = Py_None;
20153 {
20154 PyObject *o = PyInt_FromLong((long) (*arg2));
20155 resultobj = t_output_helper(resultobj,o);
20156 }
20157 {
20158 PyObject *o = PyInt_FromLong((long) (*arg3));
20159 resultobj = t_output_helper(resultobj,o);
20160 }
20161 return resultobj;
20162 fail:
20163 return NULL;
20164 }
20165
20166
20167 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20168 PyObject *resultobj;
20169 wxWindow *arg1 = (wxWindow *) 0 ;
20170 wxSize result;
20171 PyObject * obj0 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 {
20186 wxSize * resultptr;
20187 resultptr = new wxSize((wxSize &) result);
20188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20189 }
20190 return resultobj;
20191 fail:
20192 return NULL;
20193 }
20194
20195
20196 static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
20197 PyObject *resultobj;
20198 wxWindow *arg1 = (wxWindow *) 0 ;
20199 int arg2 = (int) wxBOTH ;
20200 PyObject * obj0 = 0 ;
20201 char *kwnames[] = {
20202 (char *) "self",(char *) "direction", NULL
20203 };
20204
20205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
20206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20207 {
20208 PyThreadState* __tstate = wxPyBeginAllowThreads();
20209 (arg1)->Center(arg2);
20210
20211 wxPyEndAllowThreads(__tstate);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 }
20214 Py_INCREF(Py_None); resultobj = Py_None;
20215 return resultobj;
20216 fail:
20217 return NULL;
20218 }
20219
20220
20221 static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20222 PyObject *resultobj;
20223 wxWindow *arg1 = (wxWindow *) 0 ;
20224 int arg2 = (int) wxBOTH ;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self",(char *) "dir", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20232 {
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 (arg1)->CenterOnScreen(arg2);
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 Py_INCREF(Py_None); resultobj = Py_None;
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxWindow *arg1 = (wxWindow *) 0 ;
20249 int arg2 = (int) wxBOTH ;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self",(char *) "dir", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20257 {
20258 PyThreadState* __tstate = wxPyBeginAllowThreads();
20259 (arg1)->CenterOnParent(arg2);
20260
20261 wxPyEndAllowThreads(__tstate);
20262 if (PyErr_Occurred()) SWIG_fail;
20263 }
20264 Py_INCREF(Py_None); resultobj = Py_None;
20265 return resultobj;
20266 fail:
20267 return NULL;
20268 }
20269
20270
20271 static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
20272 PyObject *resultobj;
20273 wxWindow *arg1 = (wxWindow *) 0 ;
20274 PyObject * obj0 = 0 ;
20275 char *kwnames[] = {
20276 (char *) "self", NULL
20277 };
20278
20279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
20280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->Fit();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 Py_INCREF(Py_None); resultobj = Py_None;
20289 return resultobj;
20290 fail:
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxWindow *arg1 = (wxWindow *) 0 ;
20298 PyObject * obj0 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
20304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20305 {
20306 PyThreadState* __tstate = wxPyBeginAllowThreads();
20307 (arg1)->FitInside();
20308
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 Py_INCREF(Py_None); resultobj = Py_None;
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj;
20321 wxWindow *arg1 = (wxWindow *) 0 ;
20322 int arg2 ;
20323 int arg3 ;
20324 int arg4 = (int) -1 ;
20325 int arg5 = (int) -1 ;
20326 int arg6 = (int) -1 ;
20327 int arg7 = (int) -1 ;
20328 PyObject * obj0 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 Py_INCREF(Py_None); resultobj = Py_None;
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxWindow *arg1 = (wxWindow *) 0 ;
20352 int arg2 ;
20353 int arg3 ;
20354 int arg4 = (int) -1 ;
20355 int arg5 = (int) -1 ;
20356 PyObject * obj0 = 0 ;
20357 char *kwnames[] = {
20358 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20359 };
20360
20361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 Py_INCREF(Py_None); resultobj = Py_None;
20371 return resultobj;
20372 fail:
20373 return NULL;
20374 }
20375
20376
20377 static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 wxWindow *arg1 = (wxWindow *) 0 ;
20380 int result;
20381 PyObject * obj0 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
20390 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 resultobj = PyInt_FromLong((long)result);
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj;
20404 wxWindow *arg1 = (wxWindow *) 0 ;
20405 int result;
20406 PyObject * obj0 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 resultobj = PyInt_FromLong((long)result);
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxWindow *arg1 = (wxWindow *) 0 ;
20430 int result;
20431 PyObject * obj0 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 resultobj = PyInt_FromLong((long)result);
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj;
20454 wxWindow *arg1 = (wxWindow *) 0 ;
20455 int result;
20456 PyObject * obj0 = 0 ;
20457 char *kwnames[] = {
20458 (char *) "self", NULL
20459 };
20460
20461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 resultobj = PyInt_FromLong((long)result);
20471 return resultobj;
20472 fail:
20473 return NULL;
20474 }
20475
20476
20477 static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxWindow *arg1 = (wxWindow *) 0 ;
20480 wxSize result;
20481 PyObject * obj0 = 0 ;
20482 char *kwnames[] = {
20483 (char *) "self", NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = ((wxWindow const *)arg1)->GetMaxSize();
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 {
20496 wxSize * resultptr;
20497 resultptr = new wxSize((wxSize &) result);
20498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20499 }
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20507 PyObject *resultobj;
20508 wxWindow *arg1 = (wxWindow *) 0 ;
20509 wxSize *arg2 = 0 ;
20510 wxSize temp2 ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self",(char *) "size", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 {
20520 arg2 = &temp2;
20521 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20522 }
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 Py_INCREF(Py_None); resultobj = Py_None;
20531 return resultobj;
20532 fail:
20533 return NULL;
20534 }
20535
20536
20537 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20538 PyObject *resultobj;
20539 wxWindow *arg1 = (wxWindow *) 0 ;
20540 int arg2 ;
20541 int arg3 ;
20542 PyObject * obj0 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self",(char *) "w",(char *) "h", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 (arg1)->SetVirtualSize(arg2,arg3);
20552
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
20556 Py_INCREF(Py_None); resultobj = Py_None;
20557 return resultobj;
20558 fail:
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxWindow *arg1 = (wxWindow *) 0 ;
20566 wxSize result;
20567 PyObject * obj0 = 0 ;
20568 char *kwnames[] = {
20569 (char *) "self", NULL
20570 };
20571
20572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20574 {
20575 PyThreadState* __tstate = wxPyBeginAllowThreads();
20576 result = ((wxWindow const *)arg1)->GetVirtualSize();
20577
20578 wxPyEndAllowThreads(__tstate);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 {
20582 wxSize * resultptr;
20583 resultptr = new wxSize((wxSize &) result);
20584 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20585 }
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxWindow *arg1 = (wxWindow *) 0 ;
20595 int *arg2 = (int *) 0 ;
20596 int *arg3 = (int *) 0 ;
20597 int temp2 ;
20598 int temp3 ;
20599 PyObject * obj0 = 0 ;
20600 char *kwnames[] = {
20601 (char *) "self", NULL
20602 };
20603
20604 arg2 = &temp2;
20605 arg3 = &temp3;
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 Py_INCREF(Py_None); resultobj = Py_None;
20616 {
20617 PyObject *o = PyInt_FromLong((long) (*arg2));
20618 resultobj = t_output_helper(resultobj,o);
20619 }
20620 {
20621 PyObject *o = PyInt_FromLong((long) (*arg3));
20622 resultobj = t_output_helper(resultobj,o);
20623 }
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxWindow *arg1 = (wxWindow *) 0 ;
20633 wxSize result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20641 {
20642 PyThreadState* __tstate = wxPyBeginAllowThreads();
20643 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 {
20649 wxSize * resultptr;
20650 resultptr = new wxSize((wxSize &) result);
20651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20652 }
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxWindow *arg1 = (wxWindow *) 0 ;
20662 bool arg2 = (bool) True ;
20663 bool result;
20664 PyObject * obj0 = 0 ;
20665 PyObject * obj1 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "show", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 if (obj1) {
20673 arg2 = PyInt_AsLong(obj1) ? true : false;
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 result = (bool)(arg1)->Show(arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 resultobj = PyInt_FromLong((long)result);
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxWindow *arg1 = (wxWindow *) 0 ;
20693 bool result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (bool)(arg1)->Hide();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 resultobj = PyInt_FromLong((long)result);
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxWindow *arg1 = (wxWindow *) 0 ;
20718 bool arg2 = (bool) True ;
20719 bool result;
20720 PyObject * obj0 = 0 ;
20721 PyObject * obj1 = 0 ;
20722 char *kwnames[] = {
20723 (char *) "self",(char *) "enable", NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20728 if (obj1) {
20729 arg2 = PyInt_AsLong(obj1) ? true : false;
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 result = (bool)(arg1)->Enable(arg2);
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 resultobj = PyInt_FromLong((long)result);
20740 return resultobj;
20741 fail:
20742 return NULL;
20743 }
20744
20745
20746 static PyObject *_wrap_Window_Disable(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_Disable",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)(arg1)->Disable();
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
20771 static PyObject *_wrap_Window_IsShown(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_IsShown",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)->IsShown();
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
20796 static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxWindow *arg1 = (wxWindow *) 0 ;
20799 bool result;
20800 PyObject * obj0 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 resultobj = PyInt_FromLong((long)result);
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxWindow *arg1 = (wxWindow *) 0 ;
20824 long arg2 ;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self",(char *) "style", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 (arg1)->SetWindowStyleFlag(arg2);
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 Py_INCREF(Py_None); resultobj = Py_None;
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxWindow *arg1 = (wxWindow *) 0 ;
20849 long result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 resultobj = PyInt_FromLong((long)result);
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 wxWindow *arg1 = (wxWindow *) 0 ;
20874 long arg2 ;
20875 PyObject * obj0 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self",(char *) "style", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 (arg1)->SetWindowStyle(arg2);
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 Py_INCREF(Py_None); resultobj = Py_None;
20890 return resultobj;
20891 fail:
20892 return NULL;
20893 }
20894
20895
20896 static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 wxWindow *arg1 = (wxWindow *) 0 ;
20899 long result;
20900 PyObject * obj0 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 resultobj = PyInt_FromLong((long)result);
20915 return resultobj;
20916 fail:
20917 return NULL;
20918 }
20919
20920
20921 static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20922 PyObject *resultobj;
20923 wxWindow *arg1 = (wxWindow *) 0 ;
20924 int arg2 ;
20925 bool result;
20926 PyObject * obj0 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "flag", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 resultobj = PyInt_FromLong((long)result);
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxWindow *arg1 = (wxWindow *) 0 ;
20950 bool result;
20951 PyObject * obj0 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (bool)((wxWindow const *)arg1)->IsRetained();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 resultobj = PyInt_FromLong((long)result);
20966 return resultobj;
20967 fail:
20968 return NULL;
20969 }
20970
20971
20972 static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxWindow *arg1 = (wxWindow *) 0 ;
20975 long arg2 ;
20976 PyObject * obj0 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "exStyle", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 (arg1)->SetExtraStyle(arg2);
20986
20987 wxPyEndAllowThreads(__tstate);
20988 if (PyErr_Occurred()) SWIG_fail;
20989 }
20990 Py_INCREF(Py_None); resultobj = Py_None;
20991 return resultobj;
20992 fail:
20993 return NULL;
20994 }
20995
20996
20997 static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxWindow *arg1 = (wxWindow *) 0 ;
21000 long result;
21001 PyObject * obj0 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 resultobj = PyInt_FromLong((long)result);
21016 return resultobj;
21017 fail:
21018 return NULL;
21019 }
21020
21021
21022 static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxWindow *arg1 = (wxWindow *) 0 ;
21025 bool arg2 = (bool) True ;
21026 PyObject * obj0 = 0 ;
21027 PyObject * obj1 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "modal", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21034 if (obj1) {
21035 arg2 = PyInt_AsLong(obj1) ? true : false;
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->MakeModal(arg2);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 Py_INCREF(Py_None); resultobj = Py_None;
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxWindow *arg1 = (wxWindow *) 0 ;
21055 bool arg2 ;
21056 PyObject * obj0 = 0 ;
21057 PyObject * obj1 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "enableTheme", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21064 arg2 = PyInt_AsLong(obj1) ? true : false;
21065 if (PyErr_Occurred()) SWIG_fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 (arg1)->SetThemeEnabled(arg2);
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 Py_INCREF(Py_None); resultobj = Py_None;
21074 return resultobj;
21075 fail:
21076 return NULL;
21077 }
21078
21079
21080 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj;
21082 wxWindow *arg1 = (wxWindow *) 0 ;
21083 bool result;
21084 PyObject * obj0 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 resultobj = PyInt_FromLong((long)result);
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxWindow *arg1 = (wxWindow *) 0 ;
21108 bool result;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 resultobj = PyInt_FromLong((long)result);
21124 return resultobj;
21125 fail:
21126 return NULL;
21127 }
21128
21129
21130 static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21131 PyObject *resultobj;
21132 wxWindow *arg1 = (wxWindow *) 0 ;
21133 PyObject * obj0 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 (arg1)->SetFocus();
21143
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 Py_INCREF(Py_None); resultobj = Py_None;
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxWindow *arg1 = (wxWindow *) 0 ;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
21163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 (arg1)->SetFocusFromKbd();
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxWindow *result;
21181 char *kwnames[] = {
21182 NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
21186 {
21187 PyThreadState* __tstate = wxPyBeginAllowThreads();
21188 result = (wxWindow *)wxWindow::FindFocus();
21189
21190 wxPyEndAllowThreads(__tstate);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 }
21193 {
21194 resultobj = wxPyMake_wxObject(result);
21195 }
21196 return resultobj;
21197 fail:
21198 return NULL;
21199 }
21200
21201
21202 static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
21203 PyObject *resultobj;
21204 wxWindow *arg1 = (wxWindow *) 0 ;
21205 bool result;
21206 PyObject * obj0 = 0 ;
21207 char *kwnames[] = {
21208 (char *) "self", NULL
21209 };
21210
21211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
21212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 resultobj = PyInt_FromLong((long)result);
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxWindow *arg1 = (wxWindow *) 0 ;
21230 bool result;
21231 PyObject * obj0 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = PyInt_FromLong((long)result);
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxWindow *arg1 = (wxWindow *) 0 ;
21255 wxWindow *result;
21256 PyObject * obj0 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
21262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 {
21271 resultobj = wxPyMake_wxObject(result);
21272 }
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxWindow *arg1 = (wxWindow *) 0 ;
21282 wxWindow *arg2 = (wxWindow *) 0 ;
21283 wxWindow *result;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self",(char *) "child", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 resultobj = wxPyMake_wxObject(result);
21302 }
21303 return resultobj;
21304 fail:
21305 return NULL;
21306 }
21307
21308
21309 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21310 PyObject *resultobj;
21311 wxWindow *arg1 = (wxWindow *) 0 ;
21312 wxWindow *arg2 = (wxWindow *) 0 ;
21313 PyObject * obj0 = 0 ;
21314 PyObject * obj1 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "win", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 (arg1)->SetTmpDefaultItem(arg2);
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 Py_INCREF(Py_None); resultobj = Py_None;
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxWindow *arg1 = (wxWindow *) 0 ;
21339 PyObject *result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 result = (PyObject *)wxWindow_GetChildren(arg1);
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 resultobj = result;
21355 return resultobj;
21356 fail:
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxWindow *arg1 = (wxWindow *) 0 ;
21364 wxWindow *result;
21365 PyObject * obj0 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 {
21380 resultobj = wxPyMake_wxObject(result);
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxWindow *arg1 = (wxWindow *) 0 ;
21391 wxWindow *result;
21392 PyObject * obj0 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21399 {
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21402
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 {
21407 resultobj = wxPyMake_wxObject(result);
21408 }
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj;
21417 wxWindow *arg1 = (wxWindow *) 0 ;
21418 bool result;
21419 PyObject * obj0 = 0 ;
21420 char *kwnames[] = {
21421 (char *) "self", NULL
21422 };
21423
21424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = PyInt_FromLong((long)result);
21434 return resultobj;
21435 fail:
21436 return NULL;
21437 }
21438
21439
21440 static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj;
21442 wxWindow *arg1 = (wxWindow *) 0 ;
21443 wxWindow *arg2 = (wxWindow *) 0 ;
21444 bool result;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "newParent", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = (bool)(arg1)->Reparent(arg2);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 resultobj = PyInt_FromLong((long)result);
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxWindow *arg1 = (wxWindow *) 0 ;
21471 wxWindow *arg2 = (wxWindow *) 0 ;
21472 PyObject * obj0 = 0 ;
21473 PyObject * obj1 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "child", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 (arg1)->AddChild(arg2);
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 Py_INCREF(Py_None); resultobj = Py_None;
21489 return resultobj;
21490 fail:
21491 return NULL;
21492 }
21493
21494
21495 static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 wxWindow *arg1 = (wxWindow *) 0 ;
21498 wxWindow *arg2 = (wxWindow *) 0 ;
21499 PyObject * obj0 = 0 ;
21500 PyObject * obj1 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self",(char *) "child", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 (arg1)->RemoveChild(arg2);
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 Py_INCREF(Py_None); resultobj = Py_None;
21516 return resultobj;
21517 fail:
21518 return NULL;
21519 }
21520
21521
21522 static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21523 PyObject *resultobj;
21524 wxWindow *arg1 = (wxWindow *) 0 ;
21525 long arg2 ;
21526 wxWindow *result;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self",(char *) "winid", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (wxWindow *)(arg1)->FindWindow(arg2);
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 {
21542 resultobj = wxPyMake_wxObject(result);
21543 }
21544 return resultobj;
21545 fail:
21546 return NULL;
21547 }
21548
21549
21550 static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxWindow *arg1 = (wxWindow *) 0 ;
21553 wxString *arg2 = 0 ;
21554 wxWindow *result;
21555 bool temp2 = False ;
21556 PyObject * obj0 = 0 ;
21557 PyObject * obj1 = 0 ;
21558 char *kwnames[] = {
21559 (char *) "self",(char *) "name", NULL
21560 };
21561
21562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21564 {
21565 arg2 = wxString_in_helper(obj1);
21566 if (arg2 == NULL) SWIG_fail;
21567 temp2 = True;
21568 }
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 {
21577 resultobj = wxPyMake_wxObject(result);
21578 }
21579 {
21580 if (temp2)
21581 delete arg2;
21582 }
21583 return resultobj;
21584 fail:
21585 {
21586 if (temp2)
21587 delete arg2;
21588 }
21589 return NULL;
21590 }
21591
21592
21593 static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21594 PyObject *resultobj;
21595 wxWindow *arg1 = (wxWindow *) 0 ;
21596 wxEvtHandler *result;
21597 PyObject * obj0 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21607
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 {
21612 resultobj = wxPyMake_wxObject(result);
21613 }
21614 return resultobj;
21615 fail:
21616 return NULL;
21617 }
21618
21619
21620 static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21621 PyObject *resultobj;
21622 wxWindow *arg1 = (wxWindow *) 0 ;
21623 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self",(char *) "handler", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 (arg1)->SetEventHandler(arg2);
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 Py_INCREF(Py_None); resultobj = Py_None;
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxWindow *arg1 = (wxWindow *) 0 ;
21650 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21651 PyObject * obj0 = 0 ;
21652 PyObject * obj1 = 0 ;
21653 char *kwnames[] = {
21654 (char *) "self",(char *) "handler", NULL
21655 };
21656
21657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 (arg1)->PushEventHandler(arg2);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 Py_INCREF(Py_None); resultobj = Py_None;
21668 return resultobj;
21669 fail:
21670 return NULL;
21671 }
21672
21673
21674 static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21675 PyObject *resultobj;
21676 wxWindow *arg1 = (wxWindow *) 0 ;
21677 bool arg2 = (bool) False ;
21678 wxEvtHandler *result;
21679 PyObject * obj0 = 0 ;
21680 PyObject * obj1 = 0 ;
21681 char *kwnames[] = {
21682 (char *) "self",(char *) "deleteHandler", NULL
21683 };
21684
21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 if (obj1) {
21688 arg2 = PyInt_AsLong(obj1) ? true : false;
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 {
21699 resultobj = wxPyMake_wxObject(result);
21700 }
21701 return resultobj;
21702 fail:
21703 return NULL;
21704 }
21705
21706
21707 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21708 PyObject *resultobj;
21709 wxWindow *arg1 = (wxWindow *) 0 ;
21710 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21711 bool result;
21712 PyObject * obj0 = 0 ;
21713 PyObject * obj1 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self",(char *) "handler", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = (bool)(arg1)->RemoveEventHandler(arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 resultobj = PyInt_FromLong((long)result);
21729 return resultobj;
21730 fail:
21731 return NULL;
21732 }
21733
21734
21735 static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxWindow *arg1 = (wxWindow *) 0 ;
21738 wxValidator *arg2 = 0 ;
21739 PyObject * obj0 = 0 ;
21740 PyObject * obj1 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self",(char *) "validator", NULL
21743 };
21744
21745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 if (arg2 == NULL) {
21749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->SetValidator((wxValidator const &)*arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762 }
21763
21764
21765 static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxWindow *arg1 = (wxWindow *) 0 ;
21768 wxValidator *result;
21769 PyObject * obj0 = 0 ;
21770 char *kwnames[] = {
21771 (char *) "self", NULL
21772 };
21773
21774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 result = (wxValidator *)(arg1)->GetValidator();
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 {
21784 resultobj = wxPyMake_wxObject(result);
21785 }
21786 return resultobj;
21787 fail:
21788 return NULL;
21789 }
21790
21791
21792 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj;
21794 wxWindow *arg1 = (wxWindow *) 0 ;
21795 wxAcceleratorTable *arg2 = 0 ;
21796 PyObject * obj0 = 0 ;
21797 PyObject * obj1 = 0 ;
21798 char *kwnames[] = {
21799 (char *) "self",(char *) "accel", NULL
21800 };
21801
21802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21805 if (arg2 == NULL) {
21806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21807 }
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21811
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 Py_INCREF(Py_None); resultobj = Py_None;
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj;
21824 wxWindow *arg1 = (wxWindow *) 0 ;
21825 wxAcceleratorTable *result;
21826 PyObject * obj0 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "self", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxWindow *arg1 = (wxWindow *) 0 ;
21850 int arg2 ;
21851 int arg3 ;
21852 int arg4 ;
21853 bool result;
21854 PyObject * obj0 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21864
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = PyInt_FromLong((long)result);
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxWindow *arg1 = (wxWindow *) 0 ;
21878 int arg2 ;
21879 bool result;
21880 PyObject * obj0 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "hotkeyId", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21887 {
21888 PyThreadState* __tstate = wxPyBeginAllowThreads();
21889 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21890
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 resultobj = PyInt_FromLong((long)result);
21895 return resultobj;
21896 fail:
21897 return NULL;
21898 }
21899
21900
21901 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21902 PyObject *resultobj;
21903 wxWindow *arg1 = (wxWindow *) 0 ;
21904 wxPoint *arg2 = 0 ;
21905 wxPoint result;
21906 wxPoint temp2 ;
21907 PyObject * obj0 = 0 ;
21908 PyObject * obj1 = 0 ;
21909 char *kwnames[] = {
21910 (char *) "self",(char *) "pt", NULL
21911 };
21912
21913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21915 {
21916 arg2 = &temp2;
21917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21918 }
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 {
21927 wxPoint * resultptr;
21928 resultptr = new wxPoint((wxPoint &) result);
21929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21930 }
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxWindow *arg1 = (wxWindow *) 0 ;
21940 wxSize *arg2 = 0 ;
21941 wxSize result;
21942 wxSize temp2 ;
21943 PyObject * obj0 = 0 ;
21944 PyObject * obj1 = 0 ;
21945 char *kwnames[] = {
21946 (char *) "self",(char *) "sz", NULL
21947 };
21948
21949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21951 {
21952 arg2 = &temp2;
21953 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21954 }
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 {
21963 wxSize * resultptr;
21964 resultptr = new wxSize((wxSize &) result);
21965 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21966 }
21967 return resultobj;
21968 fail:
21969 return NULL;
21970 }
21971
21972
21973 static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21974 PyObject *resultobj;
21975 wxWindow *arg1 = (wxWindow *) 0 ;
21976 wxPoint *arg2 = 0 ;
21977 wxPoint result;
21978 wxPoint temp2 ;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 char *kwnames[] = {
21982 (char *) "self",(char *) "pt", NULL
21983 };
21984
21985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21987 {
21988 arg2 = &temp2;
21989 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21990 }
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 {
21999 wxPoint * resultptr;
22000 resultptr = new wxPoint((wxPoint &) result);
22001 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22002 }
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxWindow *arg1 = (wxWindow *) 0 ;
22012 wxSize *arg2 = 0 ;
22013 wxSize result;
22014 wxSize temp2 ;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "sz", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22023 {
22024 arg2 = &temp2;
22025 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22026 }
22027 {
22028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22029 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
22030
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 {
22035 wxSize * resultptr;
22036 resultptr = new wxSize((wxSize &) result);
22037 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22038 }
22039 return resultobj;
22040 fail:
22041 return NULL;
22042 }
22043
22044
22045 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
22046 PyObject *resultobj;
22047 wxWindow *arg1 = (wxWindow *) 0 ;
22048 wxPoint *arg2 = 0 ;
22049 wxPoint result;
22050 wxPoint temp2 ;
22051 PyObject * obj0 = 0 ;
22052 PyObject * obj1 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self",(char *) "pt", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
22058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22059 {
22060 arg2 = &temp2;
22061 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22062 }
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 {
22071 wxPoint * resultptr;
22072 resultptr = new wxPoint((wxPoint &) result);
22073 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22074 }
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxWindow *arg1 = (wxWindow *) 0 ;
22084 wxSize *arg2 = 0 ;
22085 wxSize result;
22086 wxSize temp2 ;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self",(char *) "sz", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
22094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22095 {
22096 arg2 = &temp2;
22097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22098 }
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 {
22107 wxSize * resultptr;
22108 resultptr = new wxSize((wxSize &) result);
22109 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
22110 }
22111 return resultobj;
22112 fail:
22113 return NULL;
22114 }
22115
22116
22117 static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
22118 PyObject *resultobj;
22119 wxWindow *arg1 = (wxWindow *) 0 ;
22120 int arg2 ;
22121 int arg3 ;
22122 PyObject * obj0 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self",(char *) "x",(char *) "y", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
22128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 (arg1)->WarpPointer(arg2,arg3);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 Py_INCREF(Py_None); resultobj = Py_None;
22137 return resultobj;
22138 fail:
22139 return NULL;
22140 }
22141
22142
22143 static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxWindow *arg1 = (wxWindow *) 0 ;
22146 PyObject * obj0 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 (arg1)->CaptureMouse();
22156
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 Py_INCREF(Py_None); resultobj = Py_None;
22161 return resultobj;
22162 fail:
22163 return NULL;
22164 }
22165
22166
22167 static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
22168 PyObject *resultobj;
22169 wxWindow *arg1 = (wxWindow *) 0 ;
22170 PyObject * obj0 = 0 ;
22171 char *kwnames[] = {
22172 (char *) "self", NULL
22173 };
22174
22175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
22176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->ReleaseMouse();
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 Py_INCREF(Py_None); resultobj = Py_None;
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxWindow *result;
22194 char *kwnames[] = {
22195 NULL
22196 };
22197
22198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 result = (wxWindow *)wxWindow::GetCapture();
22202
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 {
22207 resultobj = wxPyMake_wxObject(result);
22208 }
22209 return resultobj;
22210 fail:
22211 return NULL;
22212 }
22213
22214
22215 static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj;
22217 wxWindow *arg1 = (wxWindow *) 0 ;
22218 bool result;
22219 PyObject * obj0 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "self", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
22225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = (bool)((wxWindow const *)arg1)->HasCapture();
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 resultobj = PyInt_FromLong((long)result);
22234 return resultobj;
22235 fail:
22236 return NULL;
22237 }
22238
22239
22240 static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
22241 PyObject *resultobj;
22242 wxWindow *arg1 = (wxWindow *) 0 ;
22243 bool arg2 = (bool) True ;
22244 wxRect *arg3 = (wxRect *) NULL ;
22245 PyObject * obj0 = 0 ;
22246 PyObject * obj1 = 0 ;
22247 PyObject * obj2 = 0 ;
22248 char *kwnames[] = {
22249 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22250 };
22251
22252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
22253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22254 if (obj1) {
22255 arg2 = PyInt_AsLong(obj1) ? true : false;
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 if (obj2) {
22259 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 (arg1)->Refresh(arg2,(wxRect const *)arg3);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 Py_INCREF(Py_None); resultobj = Py_None;
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxWindow *arg1 = (wxWindow *) 0 ;
22278 wxRect *arg2 = 0 ;
22279 wxRect temp2 ;
22280 PyObject * obj0 = 0 ;
22281 PyObject * obj1 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self",(char *) "rect", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
22287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22288 {
22289 arg2 = &temp2;
22290 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22291 }
22292 {
22293 PyThreadState* __tstate = wxPyBeginAllowThreads();
22294 (arg1)->RefreshRect((wxRect const &)*arg2);
22295
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 Py_INCREF(Py_None); resultobj = Py_None;
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxWindow *arg1 = (wxWindow *) 0 ;
22309 PyObject * obj0 = 0 ;
22310 char *kwnames[] = {
22311 (char *) "self", NULL
22312 };
22313
22314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
22315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 (arg1)->Update();
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 Py_INCREF(Py_None); resultobj = Py_None;
22324 return resultobj;
22325 fail:
22326 return NULL;
22327 }
22328
22329
22330 static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxWindow *arg1 = (wxWindow *) 0 ;
22333 PyObject * obj0 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22340 {
22341 PyThreadState* __tstate = wxPyBeginAllowThreads();
22342 (arg1)->ClearBackground();
22343
22344 wxPyEndAllowThreads(__tstate);
22345 if (PyErr_Occurred()) SWIG_fail;
22346 }
22347 Py_INCREF(Py_None); resultobj = Py_None;
22348 return resultobj;
22349 fail:
22350 return NULL;
22351 }
22352
22353
22354 static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj;
22356 wxWindow *arg1 = (wxWindow *) 0 ;
22357 PyObject * obj0 = 0 ;
22358 char *kwnames[] = {
22359 (char *) "self", NULL
22360 };
22361
22362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 (arg1)->Freeze();
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 Py_INCREF(Py_None); resultobj = Py_None;
22372 return resultobj;
22373 fail:
22374 return NULL;
22375 }
22376
22377
22378 static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22379 PyObject *resultobj;
22380 wxWindow *arg1 = (wxWindow *) 0 ;
22381 PyObject * obj0 = 0 ;
22382 char *kwnames[] = {
22383 (char *) "self", NULL
22384 };
22385
22386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 (arg1)->Thaw();
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 Py_INCREF(Py_None); resultobj = Py_None;
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxWindow *arg1 = (wxWindow *) 0 ;
22405 wxDC *arg2 = 0 ;
22406 PyObject * obj0 = 0 ;
22407 PyObject * obj1 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self",(char *) "dc", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22415 if (arg2 == NULL) {
22416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22417 }
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 (arg1)->PrepareDC(*arg2);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 Py_INCREF(Py_None); resultobj = Py_None;
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxWindow *arg1 = (wxWindow *) 0 ;
22435 wxRegion *result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 {
22446 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22447 result = (wxRegion *) &_result_ref;
22448 }
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxWindow *arg1 = (wxWindow *) 0 ;
22463 wxRect result;
22464 PyObject * obj0 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",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 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 {
22479 wxRect * resultptr;
22480 resultptr = new wxRect((wxRect &) result);
22481 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22482 }
22483 return resultobj;
22484 fail:
22485 return NULL;
22486 }
22487
22488
22489 static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22490 PyObject *resultobj;
22491 wxWindow *arg1 = (wxWindow *) 0 ;
22492 int arg2 ;
22493 int arg3 ;
22494 int arg4 = (int) 1 ;
22495 int arg5 = (int) 1 ;
22496 bool result;
22497 PyObject * obj0 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22507
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 resultobj = PyInt_FromLong((long)result);
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxWindow *arg1 = (wxWindow *) 0 ;
22521 wxPoint *arg2 = 0 ;
22522 bool result;
22523 wxPoint temp2 ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self",(char *) "pt", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22532 {
22533 arg2 = &temp2;
22534 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = PyInt_FromLong((long)result);
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxWindow *arg1 = (wxWindow *) 0 ;
22553 wxRect *arg2 = 0 ;
22554 bool result;
22555 wxRect temp2 ;
22556 PyObject * obj0 = 0 ;
22557 PyObject * obj1 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "self",(char *) "rect", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22564 {
22565 arg2 = &temp2;
22566 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22567 }
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22571
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 resultobj = PyInt_FromLong((long)result);
22576 return resultobj;
22577 fail:
22578 return NULL;
22579 }
22580
22581
22582 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22583 PyObject *resultobj;
22584 wxWindow *arg1 = (wxWindow *) 0 ;
22585 wxColour *arg2 = 0 ;
22586 bool result;
22587 wxColour temp2 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self",(char *) "colour", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22596 {
22597 arg2 = &temp2;
22598 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22599 }
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 resultobj = PyInt_FromLong((long)result);
22608 return resultobj;
22609 fail:
22610 return NULL;
22611 }
22612
22613
22614 static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxWindow *arg1 = (wxWindow *) 0 ;
22617 wxColour *arg2 = 0 ;
22618 bool result;
22619 wxColour temp2 ;
22620 PyObject * obj0 = 0 ;
22621 PyObject * obj1 = 0 ;
22622 char *kwnames[] = {
22623 (char *) "self",(char *) "colour", NULL
22624 };
22625
22626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22628 {
22629 arg2 = &temp2;
22630 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 resultobj = PyInt_FromLong((long)result);
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxWindow *arg1 = (wxWindow *) 0 ;
22649 wxColour result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 {
22665 wxColour * resultptr;
22666 resultptr = new wxColour((wxColour &) result);
22667 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22668 }
22669 return resultobj;
22670 fail:
22671 return NULL;
22672 }
22673
22674
22675 static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22676 PyObject *resultobj;
22677 wxWindow *arg1 = (wxWindow *) 0 ;
22678 wxColour result;
22679 PyObject * obj0 = 0 ;
22680 char *kwnames[] = {
22681 (char *) "self", NULL
22682 };
22683
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22686 {
22687 PyThreadState* __tstate = wxPyBeginAllowThreads();
22688 result = ((wxWindow const *)arg1)->GetForegroundColour();
22689
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 {
22694 wxColour * resultptr;
22695 resultptr = new wxColour((wxColour &) result);
22696 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22697 }
22698 return resultobj;
22699 fail:
22700 return NULL;
22701 }
22702
22703
22704 static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22705 PyObject *resultobj;
22706 wxWindow *arg1 = (wxWindow *) 0 ;
22707 wxCursor *arg2 = 0 ;
22708 bool result;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "self",(char *) "cursor", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22718 if (arg2 == NULL) {
22719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22720 }
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 resultobj = PyInt_FromLong((long)result);
22729 return resultobj;
22730 fail:
22731 return NULL;
22732 }
22733
22734
22735 static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj;
22737 wxWindow *arg1 = (wxWindow *) 0 ;
22738 wxCursor *result;
22739 PyObject * obj0 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22746 {
22747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22748 {
22749 wxCursor &_result_ref = (arg1)->GetCursor();
22750 result = (wxCursor *) &_result_ref;
22751 }
22752
22753 wxPyEndAllowThreads(__tstate);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 }
22756 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22757 return resultobj;
22758 fail:
22759 return NULL;
22760 }
22761
22762
22763 static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22764 PyObject *resultobj;
22765 wxWindow *arg1 = (wxWindow *) 0 ;
22766 wxFont *arg2 = 0 ;
22767 bool result;
22768 PyObject * obj0 = 0 ;
22769 PyObject * obj1 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self",(char *) "font", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22777 if (arg2 == NULL) {
22778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22779 }
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = PyInt_FromLong((long)result);
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxWindow *arg1 = (wxWindow *) 0 ;
22797 wxFont *result;
22798 PyObject * obj0 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "self", NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 {
22808 wxFont &_result_ref = (arg1)->GetFont();
22809 result = (wxFont *) &_result_ref;
22810 }
22811
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22816 return resultobj;
22817 fail:
22818 return NULL;
22819 }
22820
22821
22822 static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22823 PyObject *resultobj;
22824 wxWindow *arg1 = (wxWindow *) 0 ;
22825 wxCaret *arg2 = (wxCaret *) 0 ;
22826 PyObject * obj0 = 0 ;
22827 PyObject * obj1 = 0 ;
22828 char *kwnames[] = {
22829 (char *) "self",(char *) "caret", NULL
22830 };
22831
22832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22835 {
22836 PyThreadState* __tstate = wxPyBeginAllowThreads();
22837 (arg1)->SetCaret(arg2);
22838
22839 wxPyEndAllowThreads(__tstate);
22840 if (PyErr_Occurred()) SWIG_fail;
22841 }
22842 Py_INCREF(Py_None); resultobj = Py_None;
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxWindow *arg1 = (wxWindow *) 0 ;
22852 wxCaret *result;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxWindow *arg1 = (wxWindow *) 0 ;
22877 int result;
22878 PyObject * obj0 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "self", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 resultobj = PyInt_FromLong((long)result);
22893 return resultobj;
22894 fail:
22895 return NULL;
22896 }
22897
22898
22899 static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxWindow *arg1 = (wxWindow *) 0 ;
22902 int result;
22903 PyObject * obj0 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22913
22914 wxPyEndAllowThreads(__tstate);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 }
22917 resultobj = PyInt_FromLong((long)result);
22918 return resultobj;
22919 fail:
22920 return NULL;
22921 }
22922
22923
22924 static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22925 PyObject *resultobj;
22926 wxWindow *arg1 = (wxWindow *) 0 ;
22927 wxString *arg2 = 0 ;
22928 int *arg3 = (int *) 0 ;
22929 int *arg4 = (int *) 0 ;
22930 bool temp2 = False ;
22931 int temp3 ;
22932 int temp4 ;
22933 PyObject * obj0 = 0 ;
22934 PyObject * obj1 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self",(char *) "string", NULL
22937 };
22938
22939 arg3 = &temp3;
22940 arg4 = &temp4;
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22943 {
22944 arg2 = wxString_in_helper(obj1);
22945 if (arg2 == NULL) SWIG_fail;
22946 temp2 = True;
22947 }
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 {
22957 PyObject *o = PyInt_FromLong((long) (*arg3));
22958 resultobj = t_output_helper(resultobj,o);
22959 }
22960 {
22961 PyObject *o = PyInt_FromLong((long) (*arg4));
22962 resultobj = t_output_helper(resultobj,o);
22963 }
22964 {
22965 if (temp2)
22966 delete arg2;
22967 }
22968 return resultobj;
22969 fail:
22970 {
22971 if (temp2)
22972 delete arg2;
22973 }
22974 return NULL;
22975 }
22976
22977
22978 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj;
22980 wxWindow *arg1 = (wxWindow *) 0 ;
22981 wxString *arg2 = 0 ;
22982 int *arg3 = (int *) 0 ;
22983 int *arg4 = (int *) 0 ;
22984 int *arg5 = (int *) 0 ;
22985 int *arg6 = (int *) 0 ;
22986 wxFont *arg7 = (wxFont *) NULL ;
22987 bool temp2 = False ;
22988 int temp3 ;
22989 int temp4 ;
22990 int temp5 ;
22991 int temp6 ;
22992 PyObject * obj0 = 0 ;
22993 PyObject * obj1 = 0 ;
22994 PyObject * obj2 = 0 ;
22995 char *kwnames[] = {
22996 (char *) "self",(char *) "string",(char *) "font", NULL
22997 };
22998
22999 arg3 = &temp3;
23000 arg4 = &temp4;
23001 arg5 = &temp5;
23002 arg6 = &temp6;
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23005 {
23006 arg2 = wxString_in_helper(obj1);
23007 if (arg2 == NULL) SWIG_fail;
23008 temp2 = True;
23009 }
23010 if (obj2) {
23011 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23012 }
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 Py_INCREF(Py_None); resultobj = Py_None;
23021 {
23022 PyObject *o = PyInt_FromLong((long) (*arg3));
23023 resultobj = t_output_helper(resultobj,o);
23024 }
23025 {
23026 PyObject *o = PyInt_FromLong((long) (*arg4));
23027 resultobj = t_output_helper(resultobj,o);
23028 }
23029 {
23030 PyObject *o = PyInt_FromLong((long) (*arg5));
23031 resultobj = t_output_helper(resultobj,o);
23032 }
23033 {
23034 PyObject *o = PyInt_FromLong((long) (*arg6));
23035 resultobj = t_output_helper(resultobj,o);
23036 }
23037 {
23038 if (temp2)
23039 delete arg2;
23040 }
23041 return resultobj;
23042 fail:
23043 {
23044 if (temp2)
23045 delete arg2;
23046 }
23047 return NULL;
23048 }
23049
23050
23051 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23052 PyObject *resultobj;
23053 wxWindow *arg1 = (wxWindow *) 0 ;
23054 int *arg2 = (int *) 0 ;
23055 int *arg3 = (int *) 0 ;
23056 int temp2 ;
23057 int temp3 ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 PyObject * obj2 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self",(char *) "x",(char *) "y", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
23066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23067 {
23068 temp2 = PyInt_AsLong(obj1);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 arg2 = &temp2;
23071 }
23072 {
23073 temp3 = PyInt_AsLong(obj2);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 arg3 = &temp3;
23076 }
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 Py_INCREF(Py_None); resultobj = Py_None;
23085 {
23086 PyObject *o = PyInt_FromLong((long) (*arg2));
23087 resultobj = t_output_helper(resultobj,o);
23088 }
23089 {
23090 PyObject *o = PyInt_FromLong((long) (*arg3));
23091 resultobj = t_output_helper(resultobj,o);
23092 }
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 wxWindow *arg1 = (wxWindow *) 0 ;
23102 int *arg2 = (int *) 0 ;
23103 int *arg3 = (int *) 0 ;
23104 int temp2 ;
23105 int temp3 ;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 PyObject * obj2 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "x",(char *) "y", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23115 {
23116 temp2 = PyInt_AsLong(obj1);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 arg2 = &temp2;
23119 }
23120 {
23121 temp3 = PyInt_AsLong(obj2);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 arg3 = &temp3;
23124 }
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 Py_INCREF(Py_None); resultobj = Py_None;
23133 {
23134 PyObject *o = PyInt_FromLong((long) (*arg2));
23135 resultobj = t_output_helper(resultobj,o);
23136 }
23137 {
23138 PyObject *o = PyInt_FromLong((long) (*arg3));
23139 resultobj = t_output_helper(resultobj,o);
23140 }
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxWindow *arg1 = (wxWindow *) 0 ;
23150 wxPoint *arg2 = 0 ;
23151 wxPoint result;
23152 wxPoint temp2 ;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "pt", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
23160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23161 {
23162 arg2 = &temp2;
23163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23164 }
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
23167 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
23168
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 {
23173 wxPoint * resultptr;
23174 resultptr = new wxPoint((wxPoint &) result);
23175 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23176 }
23177 return resultobj;
23178 fail:
23179 return NULL;
23180 }
23181
23182
23183 static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxWindow *arg1 = (wxWindow *) 0 ;
23186 wxPoint *arg2 = 0 ;
23187 wxPoint result;
23188 wxPoint temp2 ;
23189 PyObject * obj0 = 0 ;
23190 PyObject * obj1 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self",(char *) "pt", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
23196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23197 {
23198 arg2 = &temp2;
23199 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23200 }
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
23204
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 {
23209 wxPoint * resultptr;
23210 resultptr = new wxPoint((wxPoint &) result);
23211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23212 }
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj;
23221 wxWindow *arg1 = (wxWindow *) 0 ;
23222 int arg2 ;
23223 int arg3 ;
23224 int result;
23225 PyObject * obj0 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "x",(char *) "y", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
23231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 resultobj = PyInt_FromLong((long)result);
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxWindow *arg1 = (wxWindow *) 0 ;
23249 wxPoint *arg2 = 0 ;
23250 int result;
23251 wxPoint temp2 ;
23252 PyObject * obj0 = 0 ;
23253 PyObject * obj1 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self",(char *) "pt", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
23259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23260 {
23261 arg2 = &temp2;
23262 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23263 }
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 resultobj = PyInt_FromLong((long)result);
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 wxWindow *arg1 = (wxWindow *) 0 ;
23281 long arg2 ;
23282 int result;
23283 PyObject * obj0 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self",(char *) "flags", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 resultobj = PyInt_FromLong((long)result);
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
23305 PyObject *resultobj;
23306 wxWindow *arg1 = (wxWindow *) 0 ;
23307 int result;
23308 PyObject * obj0 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self", NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
23314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 result = (int)((wxWindow const *)arg1)->GetBorder();
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 resultobj = PyInt_FromLong((long)result);
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj;
23331 wxWindow *arg1 = (wxWindow *) 0 ;
23332 long arg2 = (long) wxUPDATE_UI_NONE ;
23333 PyObject * obj0 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self",(char *) "flags", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 (arg1)->UpdateWindowUI(arg2);
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 Py_INCREF(Py_None); resultobj = Py_None;
23348 return resultobj;
23349 fail:
23350 return NULL;
23351 }
23352
23353
23354 static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23355 PyObject *resultobj;
23356 wxWindow *arg1 = (wxWindow *) 0 ;
23357 wxMenu *arg2 = (wxMenu *) 0 ;
23358 int arg3 ;
23359 int arg4 ;
23360 bool result;
23361 PyObject * obj0 = 0 ;
23362 PyObject * obj1 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 resultobj = PyInt_FromLong((long)result);
23378 return resultobj;
23379 fail:
23380 return NULL;
23381 }
23382
23383
23384 static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj;
23386 wxWindow *arg1 = (wxWindow *) 0 ;
23387 wxMenu *arg2 = (wxMenu *) 0 ;
23388 wxPoint *arg3 = 0 ;
23389 bool result;
23390 wxPoint temp3 ;
23391 PyObject * obj0 = 0 ;
23392 PyObject * obj1 = 0 ;
23393 PyObject * obj2 = 0 ;
23394 char *kwnames[] = {
23395 (char *) "self",(char *) "menu",(char *) "pos", NULL
23396 };
23397
23398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23401 {
23402 arg3 = &temp3;
23403 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23404 }
23405 {
23406 PyThreadState* __tstate = wxPyBeginAllowThreads();
23407 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23408
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 resultobj = PyInt_FromLong((long)result);
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxWindow *arg1 = (wxWindow *) 0 ;
23422 long result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = (long)wxWindow_GetHandle(arg1);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 resultobj = PyInt_FromLong((long)result);
23438 return resultobj;
23439 fail:
23440 return NULL;
23441 }
23442
23443
23444 static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23445 PyObject *resultobj;
23446 wxWindow *arg1 = (wxWindow *) 0 ;
23447 int arg2 ;
23448 bool result;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "orient", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23459
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 resultobj = PyInt_FromLong((long)result);
23464 return resultobj;
23465 fail:
23466 return NULL;
23467 }
23468
23469
23470 static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj;
23472 wxWindow *arg1 = (wxWindow *) 0 ;
23473 int arg2 ;
23474 int arg3 ;
23475 int arg4 ;
23476 int arg5 ;
23477 bool arg6 = (bool) True ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj5 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23486 if (obj5) {
23487 arg6 = PyInt_AsLong(obj5) ? true : false;
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 Py_INCREF(Py_None); resultobj = Py_None;
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxWindow *arg1 = (wxWindow *) 0 ;
23507 int arg2 ;
23508 int arg3 ;
23509 bool arg4 = (bool) True ;
23510 PyObject * obj0 = 0 ;
23511 PyObject * obj3 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23518 if (obj3) {
23519 arg4 = PyInt_AsLong(obj3) ? true : false;
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 (arg1)->SetScrollPos(arg2,arg3,arg4);
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 Py_INCREF(Py_None); resultobj = Py_None;
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj;
23538 wxWindow *arg1 = (wxWindow *) 0 ;
23539 int arg2 ;
23540 int result;
23541 PyObject * obj0 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self",(char *) "orient", NULL
23544 };
23545
23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 resultobj = PyInt_FromLong((long)result);
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj;
23564 wxWindow *arg1 = (wxWindow *) 0 ;
23565 int arg2 ;
23566 int result;
23567 PyObject * obj0 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self",(char *) "orient", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 resultobj = PyInt_FromLong((long)result);
23582 return resultobj;
23583 fail:
23584 return NULL;
23585 }
23586
23587
23588 static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxWindow *arg1 = (wxWindow *) 0 ;
23591 int arg2 ;
23592 int result;
23593 PyObject * obj0 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "orient", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23600 {
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23603
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 resultobj = PyInt_FromLong((long)result);
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxWindow *arg1 = (wxWindow *) 0 ;
23617 int arg2 ;
23618 int arg3 ;
23619 wxRect *arg4 = (wxRect *) NULL ;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj3 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23628 if (obj3) {
23629 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 }
23631 {
23632 PyThreadState* __tstate = wxPyBeginAllowThreads();
23633 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23634
23635 wxPyEndAllowThreads(__tstate);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 Py_INCREF(Py_None); resultobj = Py_None;
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxWindow *arg1 = (wxWindow *) 0 ;
23648 int arg2 ;
23649 bool result;
23650 PyObject * obj0 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "lines", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 result = (bool)(arg1)->ScrollLines(arg2);
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 resultobj = PyInt_FromLong((long)result);
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxWindow *arg1 = (wxWindow *) 0 ;
23674 int arg2 ;
23675 bool result;
23676 PyObject * obj0 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self",(char *) "pages", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 result = (bool)(arg1)->ScrollPages(arg2);
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 resultobj = PyInt_FromLong((long)result);
23691 return resultobj;
23692 fail:
23693 return NULL;
23694 }
23695
23696
23697 static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23698 PyObject *resultobj;
23699 wxWindow *arg1 = (wxWindow *) 0 ;
23700 bool result;
23701 PyObject * obj0 = 0 ;
23702 char *kwnames[] = {
23703 (char *) "self", NULL
23704 };
23705
23706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (bool)(arg1)->LineUp();
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 resultobj = PyInt_FromLong((long)result);
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxWindow *arg1 = (wxWindow *) 0 ;
23725 bool result;
23726 PyObject * obj0 = 0 ;
23727 char *kwnames[] = {
23728 (char *) "self", NULL
23729 };
23730
23731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 result = (bool)(arg1)->LineDown();
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = PyInt_FromLong((long)result);
23741 return resultobj;
23742 fail:
23743 return NULL;
23744 }
23745
23746
23747 static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj;
23749 wxWindow *arg1 = (wxWindow *) 0 ;
23750 bool result;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 result = (bool)(arg1)->PageUp();
23761
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 resultobj = PyInt_FromLong((long)result);
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23773 PyObject *resultobj;
23774 wxWindow *arg1 = (wxWindow *) 0 ;
23775 bool result;
23776 PyObject * obj0 = 0 ;
23777 char *kwnames[] = {
23778 (char *) "self", NULL
23779 };
23780
23781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (bool)(arg1)->PageDown();
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = PyInt_FromLong((long)result);
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 wxWindow *arg1 = (wxWindow *) 0 ;
23800 wxString *arg2 = 0 ;
23801 bool temp2 = False ;
23802 PyObject * obj0 = 0 ;
23803 PyObject * obj1 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self",(char *) "text", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23810 {
23811 arg2 = wxString_in_helper(obj1);
23812 if (arg2 == NULL) SWIG_fail;
23813 temp2 = True;
23814 }
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 (arg1)->SetHelpText((wxString const &)*arg2);
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 Py_INCREF(Py_None); resultobj = Py_None;
23823 {
23824 if (temp2)
23825 delete arg2;
23826 }
23827 return resultobj;
23828 fail:
23829 {
23830 if (temp2)
23831 delete arg2;
23832 }
23833 return NULL;
23834 }
23835
23836
23837 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23838 PyObject *resultobj;
23839 wxWindow *arg1 = (wxWindow *) 0 ;
23840 wxString *arg2 = 0 ;
23841 bool temp2 = False ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self",(char *) "text", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23850 {
23851 arg2 = wxString_in_helper(obj1);
23852 if (arg2 == NULL) SWIG_fail;
23853 temp2 = True;
23854 }
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 Py_INCREF(Py_None); resultobj = Py_None;
23863 {
23864 if (temp2)
23865 delete arg2;
23866 }
23867 return resultobj;
23868 fail:
23869 {
23870 if (temp2)
23871 delete arg2;
23872 }
23873 return NULL;
23874 }
23875
23876
23877 static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23878 PyObject *resultobj;
23879 wxWindow *arg1 = (wxWindow *) 0 ;
23880 wxString result;
23881 PyObject * obj0 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 result = ((wxWindow const *)arg1)->GetHelpText();
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
23895 {
23896 #if wxUSE_UNICODE
23897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23898 #else
23899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23900 #endif
23901 }
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxWindow *arg1 = (wxWindow *) 0 ;
23911 wxString *arg2 = 0 ;
23912 bool temp2 = False ;
23913 PyObject * obj0 = 0 ;
23914 PyObject * obj1 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self",(char *) "tip", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23921 {
23922 arg2 = wxString_in_helper(obj1);
23923 if (arg2 == NULL) SWIG_fail;
23924 temp2 = True;
23925 }
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 (arg1)->SetToolTip((wxString const &)*arg2);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 Py_INCREF(Py_None); resultobj = Py_None;
23934 {
23935 if (temp2)
23936 delete arg2;
23937 }
23938 return resultobj;
23939 fail:
23940 {
23941 if (temp2)
23942 delete arg2;
23943 }
23944 return NULL;
23945 }
23946
23947
23948 static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 wxWindow *arg1 = (wxWindow *) 0 ;
23951 wxToolTip *arg2 = (wxToolTip *) 0 ;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self",(char *) "tip", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 (arg1)->SetToolTip(arg2);
23964
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
23968 Py_INCREF(Py_None); resultobj = Py_None;
23969 return resultobj;
23970 fail:
23971 return NULL;
23972 }
23973
23974
23975 static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23976 PyObject *resultobj;
23977 wxWindow *arg1 = (wxWindow *) 0 ;
23978 wxToolTip *result;
23979 PyObject * obj0 = 0 ;
23980 char *kwnames[] = {
23981 (char *) "self", NULL
23982 };
23983
23984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 resultobj = wxPyMake_wxObject(result);
23995 }
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxWindow *arg1 = (wxWindow *) 0 ;
24005 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
24006 PyObject * obj0 = 0 ;
24007 PyObject * obj1 = 0 ;
24008 char *kwnames[] = {
24009 (char *) "self",(char *) "dropTarget", NULL
24010 };
24011
24012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
24013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 (arg1)->SetDropTarget(arg2);
24018
24019 wxPyEndAllowThreads(__tstate);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 Py_INCREF(Py_None); resultobj = Py_None;
24023 return resultobj;
24024 fail:
24025 return NULL;
24026 }
24027
24028
24029 static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxWindow *arg1 = (wxWindow *) 0 ;
24032 wxPyDropTarget *result;
24033 PyObject * obj0 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
24039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 0);
24048 return resultobj;
24049 fail:
24050 return NULL;
24051 }
24052
24053
24054 static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj;
24056 wxWindow *arg1 = (wxWindow *) 0 ;
24057 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
24058 PyObject * obj0 = 0 ;
24059 PyObject * obj1 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self",(char *) "constraints", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
24065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 (arg1)->SetConstraints(arg2);
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 Py_INCREF(Py_None); resultobj = Py_None;
24075 return resultobj;
24076 fail:
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxWindow *arg1 = (wxWindow *) 0 ;
24084 wxLayoutConstraints *result;
24085 PyObject * obj0 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
24091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
24099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
24100 return resultobj;
24101 fail:
24102 return NULL;
24103 }
24104
24105
24106 static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj;
24108 wxWindow *arg1 = (wxWindow *) 0 ;
24109 bool arg2 ;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "autoLayout", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
24117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24118 arg2 = PyInt_AsLong(obj1) ? true : false;
24119 if (PyErr_Occurred()) SWIG_fail;
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 (arg1)->SetAutoLayout(arg2);
24123
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 Py_INCREF(Py_None); resultobj = Py_None;
24128 return resultobj;
24129 fail:
24130 return NULL;
24131 }
24132
24133
24134 static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
24135 PyObject *resultobj;
24136 wxWindow *arg1 = (wxWindow *) 0 ;
24137 bool result;
24138 PyObject * obj0 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
24144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 resultobj = PyInt_FromLong((long)result);
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxWindow *arg1 = (wxWindow *) 0 ;
24162 bool result;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 result = (bool)(arg1)->Layout();
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 resultobj = PyInt_FromLong((long)result);
24178 return resultobj;
24179 fail:
24180 return NULL;
24181 }
24182
24183
24184 static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxWindow *arg1 = (wxWindow *) 0 ;
24187 wxSizer *arg2 = (wxSizer *) 0 ;
24188 bool arg3 = (bool) True ;
24189 PyObject * obj0 = 0 ;
24190 PyObject * obj1 = 0 ;
24191 PyObject * obj2 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24199 if (obj2) {
24200 arg3 = PyInt_AsLong(obj2) ? true : false;
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->SetSizer(arg2,arg3);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxWindow *arg1 = (wxWindow *) 0 ;
24220 wxSizer *arg2 = (wxSizer *) 0 ;
24221 bool arg3 = (bool) True ;
24222 PyObject * obj0 = 0 ;
24223 PyObject * obj1 = 0 ;
24224 PyObject * obj2 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
24230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24232 if (obj2) {
24233 arg3 = PyInt_AsLong(obj2) ? true : false;
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 (arg1)->SetSizerAndFit(arg2,arg3);
24239
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 Py_INCREF(Py_None); resultobj = Py_None;
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxWindow *arg1 = (wxWindow *) 0 ;
24253 wxSizer *result;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 {
24269 resultobj = wxPyMake_wxSizer(result);
24270 }
24271 return resultobj;
24272 fail:
24273 return NULL;
24274 }
24275
24276
24277 static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj;
24279 wxWindow *arg1 = (wxWindow *) 0 ;
24280 wxSizer *arg2 = (wxSizer *) 0 ;
24281 PyObject * obj0 = 0 ;
24282 PyObject * obj1 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self",(char *) "sizer", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 (arg1)->SetContainingSizer(arg2);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxWindow *arg1 = (wxWindow *) 0 ;
24307 wxSizer *result;
24308 PyObject * obj0 = 0 ;
24309 char *kwnames[] = {
24310 (char *) "self", NULL
24311 };
24312
24313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
24314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
24318
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 {
24323 resultobj = wxPyMake_wxSizer(result);
24324 }
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24332 PyObject *obj;
24333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24334 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24335 Py_INCREF(obj);
24336 return Py_BuildValue((char *)"");
24337 }
24338 static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj;
24340 long arg1 ;
24341 wxWindow *arg2 = (wxWindow *) NULL ;
24342 wxWindow *result;
24343 PyObject * obj1 = 0 ;
24344 char *kwnames[] = {
24345 (char *) "id",(char *) "parent", NULL
24346 };
24347
24348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24349 if (obj1) {
24350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 }
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 {
24360 resultobj = wxPyMake_wxObject(result);
24361 }
24362 return resultobj;
24363 fail:
24364 return NULL;
24365 }
24366
24367
24368 static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxString *arg1 = 0 ;
24371 wxWindow *arg2 = (wxWindow *) NULL ;
24372 wxWindow *result;
24373 bool temp1 = False ;
24374 PyObject * obj0 = 0 ;
24375 PyObject * obj1 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "name",(char *) "parent", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24381 {
24382 arg1 = wxString_in_helper(obj0);
24383 if (arg1 == NULL) SWIG_fail;
24384 temp1 = True;
24385 }
24386 if (obj1) {
24387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24388 }
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 {
24397 resultobj = wxPyMake_wxObject(result);
24398 }
24399 {
24400 if (temp1)
24401 delete arg1;
24402 }
24403 return resultobj;
24404 fail:
24405 {
24406 if (temp1)
24407 delete arg1;
24408 }
24409 return NULL;
24410 }
24411
24412
24413 static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24414 PyObject *resultobj;
24415 wxString *arg1 = 0 ;
24416 wxWindow *arg2 = (wxWindow *) NULL ;
24417 wxWindow *result;
24418 bool temp1 = False ;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 char *kwnames[] = {
24422 (char *) "label",(char *) "parent", NULL
24423 };
24424
24425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24426 {
24427 arg1 = wxString_in_helper(obj0);
24428 if (arg1 == NULL) SWIG_fail;
24429 temp1 = True;
24430 }
24431 if (obj1) {
24432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24433 }
24434 {
24435 PyThreadState* __tstate = wxPyBeginAllowThreads();
24436 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24437
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 {
24442 resultobj = wxPyMake_wxObject(result);
24443 }
24444 {
24445 if (temp1)
24446 delete arg1;
24447 }
24448 return resultobj;
24449 fail:
24450 {
24451 if (temp1)
24452 delete arg1;
24453 }
24454 return NULL;
24455 }
24456
24457
24458 static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24459 PyObject *resultobj;
24460 unsigned long arg1 ;
24461 wxWindow *result;
24462 PyObject * obj0 = 0 ;
24463 char *kwnames[] = {
24464 (char *) "hWnd", NULL
24465 };
24466
24467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24468 arg1 = (unsigned long) PyInt_AsLong(obj0);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 result = (wxWindow *)wxWindow_FromHWND(arg1);
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 {
24478 resultobj = wxPyMake_wxObject(result);
24479 }
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj;
24488 wxValidator *result;
24489 char *kwnames[] = {
24490 NULL
24491 };
24492
24493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (wxValidator *)new wxValidator();
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 {
24502 resultobj = wxPyMake_wxObject(result);
24503 }
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj;
24512 wxValidator *arg1 = (wxValidator *) 0 ;
24513 wxValidator *result;
24514 PyObject * obj0 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 result = (wxValidator *)(arg1)->Clone();
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 {
24529 resultobj = wxPyMake_wxObject(result);
24530 }
24531 return resultobj;
24532 fail:
24533 return NULL;
24534 }
24535
24536
24537 static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24538 PyObject *resultobj;
24539 wxValidator *arg1 = (wxValidator *) 0 ;
24540 wxWindow *arg2 = (wxWindow *) 0 ;
24541 bool result;
24542 PyObject * obj0 = 0 ;
24543 PyObject * obj1 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "parent", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 result = (bool)(arg1)->Validate(arg2);
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 resultobj = PyInt_FromLong((long)result);
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxValidator *arg1 = (wxValidator *) 0 ;
24568 bool result;
24569 PyObject * obj0 = 0 ;
24570 char *kwnames[] = {
24571 (char *) "self", NULL
24572 };
24573
24574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24576 {
24577 PyThreadState* __tstate = wxPyBeginAllowThreads();
24578 result = (bool)(arg1)->TransferToWindow();
24579
24580 wxPyEndAllowThreads(__tstate);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 }
24583 resultobj = PyInt_FromLong((long)result);
24584 return resultobj;
24585 fail:
24586 return NULL;
24587 }
24588
24589
24590 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24591 PyObject *resultobj;
24592 wxValidator *arg1 = (wxValidator *) 0 ;
24593 bool result;
24594 PyObject * obj0 = 0 ;
24595 char *kwnames[] = {
24596 (char *) "self", NULL
24597 };
24598
24599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (bool)(arg1)->TransferFromWindow();
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 resultobj = PyInt_FromLong((long)result);
24609 return resultobj;
24610 fail:
24611 return NULL;
24612 }
24613
24614
24615 static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24616 PyObject *resultobj;
24617 wxValidator *arg1 = (wxValidator *) 0 ;
24618 wxWindow *result;
24619 PyObject * obj0 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = (wxWindow *)(arg1)->GetWindow();
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 resultobj = wxPyMake_wxObject(result);
24635 }
24636 return resultobj;
24637 fail:
24638 return NULL;
24639 }
24640
24641
24642 static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj;
24644 wxValidator *arg1 = (wxValidator *) 0 ;
24645 wxWindow *arg2 = (wxWindow *) 0 ;
24646 PyObject * obj0 = 0 ;
24647 PyObject * obj1 = 0 ;
24648 char *kwnames[] = {
24649 (char *) "self",(char *) "window", NULL
24650 };
24651
24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24655 {
24656 PyThreadState* __tstate = wxPyBeginAllowThreads();
24657 (arg1)->SetWindow(arg2);
24658
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 Py_INCREF(Py_None); resultobj = Py_None;
24663 return resultobj;
24664 fail:
24665 return NULL;
24666 }
24667
24668
24669 static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24670 PyObject *resultobj;
24671 bool result;
24672 char *kwnames[] = {
24673 NULL
24674 };
24675
24676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24677 {
24678 PyThreadState* __tstate = wxPyBeginAllowThreads();
24679 result = (bool)wxValidator::IsSilent();
24680
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 resultobj = PyInt_FromLong((long)result);
24685 return resultobj;
24686 fail:
24687 return NULL;
24688 }
24689
24690
24691 static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24692 PyObject *resultobj;
24693 int arg1 = (int) True ;
24694 char *kwnames[] = {
24695 (char *) "doIt", NULL
24696 };
24697
24698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24699 {
24700 PyThreadState* __tstate = wxPyBeginAllowThreads();
24701 wxValidator::SetBellOnError(arg1);
24702
24703 wxPyEndAllowThreads(__tstate);
24704 if (PyErr_Occurred()) SWIG_fail;
24705 }
24706 Py_INCREF(Py_None); resultobj = Py_None;
24707 return resultobj;
24708 fail:
24709 return NULL;
24710 }
24711
24712
24713 static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24714 PyObject *obj;
24715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24717 Py_INCREF(obj);
24718 return Py_BuildValue((char *)"");
24719 }
24720 static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24721 PyObject *resultobj;
24722 wxPyValidator *result;
24723 char *kwnames[] = {
24724 NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 result = (wxPyValidator *)new wxPyValidator();
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24736 return resultobj;
24737 fail:
24738 return NULL;
24739 }
24740
24741
24742 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24745 PyObject *arg2 = (PyObject *) 0 ;
24746 PyObject *arg3 = (PyObject *) 0 ;
24747 int arg4 = (int) True ;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 PyObject * obj2 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24757 arg2 = obj1;
24758 arg3 = obj2;
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24762
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 Py_INCREF(Py_None); resultobj = Py_None;
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24774 PyObject *obj;
24775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24776 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24777 Py_INCREF(obj);
24778 return Py_BuildValue((char *)"");
24779 }
24780 static int _wrap_DefaultValidator_set(PyObject *_val) {
24781 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24782 return 1;
24783 }
24784
24785
24786 static PyObject *_wrap_DefaultValidator_get() {
24787 PyObject *pyobj;
24788
24789 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24790 return pyobj;
24791 }
24792
24793
24794 static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24795 PyObject *resultobj;
24796 wxString const &arg1_defvalue = wxPyEmptyString ;
24797 wxString *arg1 = (wxString *) &arg1_defvalue ;
24798 long arg2 = (long) 0 ;
24799 wxMenu *result;
24800 bool temp1 = False ;
24801 PyObject * obj0 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "title",(char *) "style", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24807 if (obj0) {
24808 {
24809 arg1 = wxString_in_helper(obj0);
24810 if (arg1 == NULL) SWIG_fail;
24811 temp1 = True;
24812 }
24813 }
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 resultobj = wxPyMake_wxObject(result);
24823 }
24824 {
24825 if (temp1)
24826 delete arg1;
24827 }
24828 return resultobj;
24829 fail:
24830 {
24831 if (temp1)
24832 delete arg1;
24833 }
24834 return NULL;
24835 }
24836
24837
24838 static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj;
24840 wxMenu *arg1 = (wxMenu *) 0 ;
24841 int arg2 ;
24842 wxString *arg3 = 0 ;
24843 wxString const &arg4_defvalue = wxPyEmptyString ;
24844 wxString *arg4 = (wxString *) &arg4_defvalue ;
24845 int arg5 = (int) wxITEM_NORMAL ;
24846 bool temp3 = False ;
24847 bool temp4 = False ;
24848 PyObject * obj0 = 0 ;
24849 PyObject * obj2 = 0 ;
24850 PyObject * obj3 = 0 ;
24851 char *kwnames[] = {
24852 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24853 };
24854
24855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24857 {
24858 arg3 = wxString_in_helper(obj2);
24859 if (arg3 == NULL) SWIG_fail;
24860 temp3 = True;
24861 }
24862 if (obj3) {
24863 {
24864 arg4 = wxString_in_helper(obj3);
24865 if (arg4 == NULL) SWIG_fail;
24866 temp4 = True;
24867 }
24868 }
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 Py_INCREF(Py_None); resultobj = Py_None;
24877 {
24878 if (temp3)
24879 delete arg3;
24880 }
24881 {
24882 if (temp4)
24883 delete arg4;
24884 }
24885 return resultobj;
24886 fail:
24887 {
24888 if (temp3)
24889 delete arg3;
24890 }
24891 {
24892 if (temp4)
24893 delete arg4;
24894 }
24895 return NULL;
24896 }
24897
24898
24899 static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24900 PyObject *resultobj;
24901 wxMenu *arg1 = (wxMenu *) 0 ;
24902 PyObject * obj0 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 (arg1)->AppendSeparator();
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 Py_INCREF(Py_None); resultobj = Py_None;
24917 return resultobj;
24918 fail:
24919 return NULL;
24920 }
24921
24922
24923 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24924 PyObject *resultobj;
24925 wxMenu *arg1 = (wxMenu *) 0 ;
24926 int arg2 ;
24927 wxString *arg3 = 0 ;
24928 wxString const &arg4_defvalue = wxPyEmptyString ;
24929 wxString *arg4 = (wxString *) &arg4_defvalue ;
24930 bool temp3 = False ;
24931 bool temp4 = False ;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj2 = 0 ;
24934 PyObject * obj3 = 0 ;
24935 char *kwnames[] = {
24936 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24937 };
24938
24939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24941 {
24942 arg3 = wxString_in_helper(obj2);
24943 if (arg3 == NULL) SWIG_fail;
24944 temp3 = True;
24945 }
24946 if (obj3) {
24947 {
24948 arg4 = wxString_in_helper(obj3);
24949 if (arg4 == NULL) SWIG_fail;
24950 temp4 = True;
24951 }
24952 }
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
24955 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24956
24957 wxPyEndAllowThreads(__tstate);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 }
24960 Py_INCREF(Py_None); resultobj = Py_None;
24961 {
24962 if (temp3)
24963 delete arg3;
24964 }
24965 {
24966 if (temp4)
24967 delete arg4;
24968 }
24969 return resultobj;
24970 fail:
24971 {
24972 if (temp3)
24973 delete arg3;
24974 }
24975 {
24976 if (temp4)
24977 delete arg4;
24978 }
24979 return NULL;
24980 }
24981
24982
24983 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24984 PyObject *resultobj;
24985 wxMenu *arg1 = (wxMenu *) 0 ;
24986 int arg2 ;
24987 wxString *arg3 = 0 ;
24988 wxString const &arg4_defvalue = wxPyEmptyString ;
24989 wxString *arg4 = (wxString *) &arg4_defvalue ;
24990 bool temp3 = False ;
24991 bool temp4 = False ;
24992 PyObject * obj0 = 0 ;
24993 PyObject * obj2 = 0 ;
24994 PyObject * obj3 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25001 {
25002 arg3 = wxString_in_helper(obj2);
25003 if (arg3 == NULL) SWIG_fail;
25004 temp3 = True;
25005 }
25006 if (obj3) {
25007 {
25008 arg4 = wxString_in_helper(obj3);
25009 if (arg4 == NULL) SWIG_fail;
25010 temp4 = True;
25011 }
25012 }
25013 {
25014 PyThreadState* __tstate = wxPyBeginAllowThreads();
25015 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25016
25017 wxPyEndAllowThreads(__tstate);
25018 if (PyErr_Occurred()) SWIG_fail;
25019 }
25020 Py_INCREF(Py_None); resultobj = Py_None;
25021 {
25022 if (temp3)
25023 delete arg3;
25024 }
25025 {
25026 if (temp4)
25027 delete arg4;
25028 }
25029 return resultobj;
25030 fail:
25031 {
25032 if (temp3)
25033 delete arg3;
25034 }
25035 {
25036 if (temp4)
25037 delete arg4;
25038 }
25039 return NULL;
25040 }
25041
25042
25043 static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxMenu *arg1 = (wxMenu *) 0 ;
25046 int arg2 ;
25047 wxString *arg3 = 0 ;
25048 wxMenu *arg4 = (wxMenu *) 0 ;
25049 wxString const &arg5_defvalue = wxPyEmptyString ;
25050 wxString *arg5 = (wxString *) &arg5_defvalue ;
25051 bool temp3 = False ;
25052 bool temp5 = False ;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj2 = 0 ;
25055 PyObject * obj3 = 0 ;
25056 PyObject * obj4 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25059 };
25060
25061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25063 {
25064 arg3 = wxString_in_helper(obj2);
25065 if (arg3 == NULL) SWIG_fail;
25066 temp3 = True;
25067 }
25068 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25069 if (obj4) {
25070 {
25071 arg5 = wxString_in_helper(obj4);
25072 if (arg5 == NULL) SWIG_fail;
25073 temp5 = True;
25074 }
25075 }
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 Py_INCREF(Py_None); resultobj = Py_None;
25084 {
25085 if (temp3)
25086 delete arg3;
25087 }
25088 {
25089 if (temp5)
25090 delete arg5;
25091 }
25092 return resultobj;
25093 fail:
25094 {
25095 if (temp3)
25096 delete arg3;
25097 }
25098 {
25099 if (temp5)
25100 delete arg5;
25101 }
25102 return NULL;
25103 }
25104
25105
25106 static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25107 PyObject *resultobj;
25108 wxMenu *arg1 = (wxMenu *) 0 ;
25109 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25110 PyObject * obj0 = 0 ;
25111 PyObject * obj1 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self",(char *) "item", NULL
25114 };
25115
25116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
25117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25119 {
25120 PyThreadState* __tstate = wxPyBeginAllowThreads();
25121 (arg1)->Append(arg2);
25122
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 Py_INCREF(Py_None); resultobj = Py_None;
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj;
25135 wxMenu *arg1 = (wxMenu *) 0 ;
25136 PyObject * obj0 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 (arg1)->Break();
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 Py_INCREF(Py_None); resultobj = Py_None;
25151 return resultobj;
25152 fail:
25153 return NULL;
25154 }
25155
25156
25157 static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25158 PyObject *resultobj;
25159 wxMenu *arg1 = (wxMenu *) 0 ;
25160 size_t arg2 ;
25161 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
25162 bool result;
25163 PyObject * obj0 = 0 ;
25164 PyObject * obj1 = 0 ;
25165 PyObject * obj2 = 0 ;
25166 char *kwnames[] = {
25167 (char *) "self",(char *) "pos",(char *) "item", NULL
25168 };
25169
25170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25172 arg2 = (size_t) PyInt_AsLong(obj1);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25175 {
25176 PyThreadState* __tstate = wxPyBeginAllowThreads();
25177 result = (bool)(arg1)->Insert(arg2,arg3);
25178
25179 wxPyEndAllowThreads(__tstate);
25180 if (PyErr_Occurred()) SWIG_fail;
25181 }
25182 resultobj = PyInt_FromLong((long)result);
25183 return resultobj;
25184 fail:
25185 return NULL;
25186 }
25187
25188
25189 static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
25190 PyObject *resultobj;
25191 wxMenu *arg1 = (wxMenu *) 0 ;
25192 size_t arg2 ;
25193 int arg3 ;
25194 wxString *arg4 = 0 ;
25195 wxString const &arg5_defvalue = wxPyEmptyString ;
25196 wxString *arg5 = (wxString *) &arg5_defvalue ;
25197 int arg6 = (int) wxITEM_NORMAL ;
25198 bool temp4 = False ;
25199 bool temp5 = False ;
25200 PyObject * obj0 = 0 ;
25201 PyObject * obj1 = 0 ;
25202 PyObject * obj3 = 0 ;
25203 PyObject * obj4 = 0 ;
25204 char *kwnames[] = {
25205 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
25209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25210 arg2 = (size_t) PyInt_AsLong(obj1);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 {
25213 arg4 = wxString_in_helper(obj3);
25214 if (arg4 == NULL) SWIG_fail;
25215 temp4 = True;
25216 }
25217 if (obj4) {
25218 {
25219 arg5 = wxString_in_helper(obj4);
25220 if (arg5 == NULL) SWIG_fail;
25221 temp5 = True;
25222 }
25223 }
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
25227
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 Py_INCREF(Py_None); resultobj = Py_None;
25232 {
25233 if (temp4)
25234 delete arg4;
25235 }
25236 {
25237 if (temp5)
25238 delete arg5;
25239 }
25240 return resultobj;
25241 fail:
25242 {
25243 if (temp4)
25244 delete arg4;
25245 }
25246 {
25247 if (temp5)
25248 delete arg5;
25249 }
25250 return NULL;
25251 }
25252
25253
25254 static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25255 PyObject *resultobj;
25256 wxMenu *arg1 = (wxMenu *) 0 ;
25257 size_t arg2 ;
25258 PyObject * obj0 = 0 ;
25259 PyObject * obj1 = 0 ;
25260 char *kwnames[] = {
25261 (char *) "self",(char *) "pos", NULL
25262 };
25263
25264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
25265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25266 arg2 = (size_t) PyInt_AsLong(obj1);
25267 if (PyErr_Occurred()) SWIG_fail;
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 (arg1)->InsertSeparator(arg2);
25271
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
25275 Py_INCREF(Py_None); resultobj = Py_None;
25276 return resultobj;
25277 fail:
25278 return NULL;
25279 }
25280
25281
25282 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25283 PyObject *resultobj;
25284 wxMenu *arg1 = (wxMenu *) 0 ;
25285 size_t arg2 ;
25286 int arg3 ;
25287 wxString *arg4 = 0 ;
25288 wxString const &arg5_defvalue = wxPyEmptyString ;
25289 wxString *arg5 = (wxString *) &arg5_defvalue ;
25290 bool temp4 = False ;
25291 bool temp5 = False ;
25292 PyObject * obj0 = 0 ;
25293 PyObject * obj1 = 0 ;
25294 PyObject * obj3 = 0 ;
25295 PyObject * obj4 = 0 ;
25296 char *kwnames[] = {
25297 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25298 };
25299
25300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25302 arg2 = (size_t) PyInt_AsLong(obj1);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 {
25305 arg4 = wxString_in_helper(obj3);
25306 if (arg4 == NULL) SWIG_fail;
25307 temp4 = True;
25308 }
25309 if (obj4) {
25310 {
25311 arg5 = wxString_in_helper(obj4);
25312 if (arg5 == NULL) SWIG_fail;
25313 temp5 = True;
25314 }
25315 }
25316 {
25317 PyThreadState* __tstate = wxPyBeginAllowThreads();
25318 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25319
25320 wxPyEndAllowThreads(__tstate);
25321 if (PyErr_Occurred()) SWIG_fail;
25322 }
25323 Py_INCREF(Py_None); resultobj = Py_None;
25324 {
25325 if (temp4)
25326 delete arg4;
25327 }
25328 {
25329 if (temp5)
25330 delete arg5;
25331 }
25332 return resultobj;
25333 fail:
25334 {
25335 if (temp4)
25336 delete arg4;
25337 }
25338 {
25339 if (temp5)
25340 delete arg5;
25341 }
25342 return NULL;
25343 }
25344
25345
25346 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxMenu *arg1 = (wxMenu *) 0 ;
25349 size_t arg2 ;
25350 int arg3 ;
25351 wxString *arg4 = 0 ;
25352 wxString const &arg5_defvalue = wxPyEmptyString ;
25353 wxString *arg5 = (wxString *) &arg5_defvalue ;
25354 bool temp4 = False ;
25355 bool temp5 = False ;
25356 PyObject * obj0 = 0 ;
25357 PyObject * obj1 = 0 ;
25358 PyObject * obj3 = 0 ;
25359 PyObject * obj4 = 0 ;
25360 char *kwnames[] = {
25361 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25362 };
25363
25364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25366 arg2 = (size_t) PyInt_AsLong(obj1);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 {
25369 arg4 = wxString_in_helper(obj3);
25370 if (arg4 == NULL) SWIG_fail;
25371 temp4 = True;
25372 }
25373 if (obj4) {
25374 {
25375 arg5 = wxString_in_helper(obj4);
25376 if (arg5 == NULL) SWIG_fail;
25377 temp5 = True;
25378 }
25379 }
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 Py_INCREF(Py_None); resultobj = Py_None;
25388 {
25389 if (temp4)
25390 delete arg4;
25391 }
25392 {
25393 if (temp5)
25394 delete arg5;
25395 }
25396 return resultobj;
25397 fail:
25398 {
25399 if (temp4)
25400 delete arg4;
25401 }
25402 {
25403 if (temp5)
25404 delete arg5;
25405 }
25406 return NULL;
25407 }
25408
25409
25410 static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25411 PyObject *resultobj;
25412 wxMenu *arg1 = (wxMenu *) 0 ;
25413 size_t arg2 ;
25414 int arg3 ;
25415 wxString *arg4 = 0 ;
25416 wxMenu *arg5 = (wxMenu *) 0 ;
25417 wxString const &arg6_defvalue = wxPyEmptyString ;
25418 wxString *arg6 = (wxString *) &arg6_defvalue ;
25419 bool temp4 = False ;
25420 bool temp6 = False ;
25421 PyObject * obj0 = 0 ;
25422 PyObject * obj1 = 0 ;
25423 PyObject * obj3 = 0 ;
25424 PyObject * obj4 = 0 ;
25425 PyObject * obj5 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25432 arg2 = (size_t) PyInt_AsLong(obj1);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 {
25435 arg4 = wxString_in_helper(obj3);
25436 if (arg4 == NULL) SWIG_fail;
25437 temp4 = True;
25438 }
25439 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25440 if (obj5) {
25441 {
25442 arg6 = wxString_in_helper(obj5);
25443 if (arg6 == NULL) SWIG_fail;
25444 temp6 = True;
25445 }
25446 }
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25450
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 Py_INCREF(Py_None); resultobj = Py_None;
25455 {
25456 if (temp4)
25457 delete arg4;
25458 }
25459 {
25460 if (temp6)
25461 delete arg6;
25462 }
25463 return resultobj;
25464 fail:
25465 {
25466 if (temp4)
25467 delete arg4;
25468 }
25469 {
25470 if (temp6)
25471 delete arg6;
25472 }
25473 return NULL;
25474 }
25475
25476
25477 static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25478 PyObject *resultobj;
25479 wxMenu *arg1 = (wxMenu *) 0 ;
25480 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self",(char *) "item", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 (arg1)->Prepend(arg2);
25493
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 Py_INCREF(Py_None); resultobj = Py_None;
25498 return resultobj;
25499 fail:
25500 return NULL;
25501 }
25502
25503
25504 static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25505 PyObject *resultobj;
25506 wxMenu *arg1 = (wxMenu *) 0 ;
25507 int arg2 ;
25508 wxString *arg3 = 0 ;
25509 wxString const &arg4_defvalue = wxPyEmptyString ;
25510 wxString *arg4 = (wxString *) &arg4_defvalue ;
25511 int arg5 = (int) wxITEM_NORMAL ;
25512 bool temp3 = False ;
25513 bool temp4 = False ;
25514 PyObject * obj0 = 0 ;
25515 PyObject * obj2 = 0 ;
25516 PyObject * obj3 = 0 ;
25517 char *kwnames[] = {
25518 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25519 };
25520
25521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25523 {
25524 arg3 = wxString_in_helper(obj2);
25525 if (arg3 == NULL) SWIG_fail;
25526 temp3 = True;
25527 }
25528 if (obj3) {
25529 {
25530 arg4 = wxString_in_helper(obj3);
25531 if (arg4 == NULL) SWIG_fail;
25532 temp4 = True;
25533 }
25534 }
25535 {
25536 PyThreadState* __tstate = wxPyBeginAllowThreads();
25537 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25538
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 Py_INCREF(Py_None); resultobj = Py_None;
25543 {
25544 if (temp3)
25545 delete arg3;
25546 }
25547 {
25548 if (temp4)
25549 delete arg4;
25550 }
25551 return resultobj;
25552 fail:
25553 {
25554 if (temp3)
25555 delete arg3;
25556 }
25557 {
25558 if (temp4)
25559 delete arg4;
25560 }
25561 return NULL;
25562 }
25563
25564
25565 static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25566 PyObject *resultobj;
25567 wxMenu *arg1 = (wxMenu *) 0 ;
25568 PyObject * obj0 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 (arg1)->PrependSeparator();
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 Py_INCREF(Py_None); resultobj = Py_None;
25583 return resultobj;
25584 fail:
25585 return NULL;
25586 }
25587
25588
25589 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25590 PyObject *resultobj;
25591 wxMenu *arg1 = (wxMenu *) 0 ;
25592 int arg2 ;
25593 wxString *arg3 = 0 ;
25594 wxString const &arg4_defvalue = wxPyEmptyString ;
25595 wxString *arg4 = (wxString *) &arg4_defvalue ;
25596 bool temp3 = False ;
25597 bool temp4 = False ;
25598 PyObject * obj0 = 0 ;
25599 PyObject * obj2 = 0 ;
25600 PyObject * obj3 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25607 {
25608 arg3 = wxString_in_helper(obj2);
25609 if (arg3 == NULL) SWIG_fail;
25610 temp3 = True;
25611 }
25612 if (obj3) {
25613 {
25614 arg4 = wxString_in_helper(obj3);
25615 if (arg4 == NULL) SWIG_fail;
25616 temp4 = True;
25617 }
25618 }
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25622
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 Py_INCREF(Py_None); resultobj = Py_None;
25627 {
25628 if (temp3)
25629 delete arg3;
25630 }
25631 {
25632 if (temp4)
25633 delete arg4;
25634 }
25635 return resultobj;
25636 fail:
25637 {
25638 if (temp3)
25639 delete arg3;
25640 }
25641 {
25642 if (temp4)
25643 delete arg4;
25644 }
25645 return NULL;
25646 }
25647
25648
25649 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25650 PyObject *resultobj;
25651 wxMenu *arg1 = (wxMenu *) 0 ;
25652 int arg2 ;
25653 wxString *arg3 = 0 ;
25654 wxString const &arg4_defvalue = wxPyEmptyString ;
25655 wxString *arg4 = (wxString *) &arg4_defvalue ;
25656 bool temp3 = False ;
25657 bool temp4 = False ;
25658 PyObject * obj0 = 0 ;
25659 PyObject * obj2 = 0 ;
25660 PyObject * obj3 = 0 ;
25661 char *kwnames[] = {
25662 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25663 };
25664
25665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25667 {
25668 arg3 = wxString_in_helper(obj2);
25669 if (arg3 == NULL) SWIG_fail;
25670 temp3 = True;
25671 }
25672 if (obj3) {
25673 {
25674 arg4 = wxString_in_helper(obj3);
25675 if (arg4 == NULL) SWIG_fail;
25676 temp4 = True;
25677 }
25678 }
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25682
25683 wxPyEndAllowThreads(__tstate);
25684 if (PyErr_Occurred()) SWIG_fail;
25685 }
25686 Py_INCREF(Py_None); resultobj = Py_None;
25687 {
25688 if (temp3)
25689 delete arg3;
25690 }
25691 {
25692 if (temp4)
25693 delete arg4;
25694 }
25695 return resultobj;
25696 fail:
25697 {
25698 if (temp3)
25699 delete arg3;
25700 }
25701 {
25702 if (temp4)
25703 delete arg4;
25704 }
25705 return NULL;
25706 }
25707
25708
25709 static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25710 PyObject *resultobj;
25711 wxMenu *arg1 = (wxMenu *) 0 ;
25712 int arg2 ;
25713 wxString *arg3 = 0 ;
25714 wxMenu *arg4 = (wxMenu *) 0 ;
25715 wxString const &arg5_defvalue = wxPyEmptyString ;
25716 wxString *arg5 = (wxString *) &arg5_defvalue ;
25717 bool temp3 = False ;
25718 bool temp5 = False ;
25719 PyObject * obj0 = 0 ;
25720 PyObject * obj2 = 0 ;
25721 PyObject * obj3 = 0 ;
25722 PyObject * obj4 = 0 ;
25723 char *kwnames[] = {
25724 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25725 };
25726
25727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25729 {
25730 arg3 = wxString_in_helper(obj2);
25731 if (arg3 == NULL) SWIG_fail;
25732 temp3 = True;
25733 }
25734 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25735 if (obj4) {
25736 {
25737 arg5 = wxString_in_helper(obj4);
25738 if (arg5 == NULL) SWIG_fail;
25739 temp5 = True;
25740 }
25741 }
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 Py_INCREF(Py_None); resultobj = Py_None;
25750 {
25751 if (temp3)
25752 delete arg3;
25753 }
25754 {
25755 if (temp5)
25756 delete arg5;
25757 }
25758 return resultobj;
25759 fail:
25760 {
25761 if (temp3)
25762 delete arg3;
25763 }
25764 {
25765 if (temp5)
25766 delete arg5;
25767 }
25768 return NULL;
25769 }
25770
25771
25772 static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxMenu *arg1 = (wxMenu *) 0 ;
25775 int arg2 ;
25776 wxMenuItem *result;
25777 PyObject * obj0 = 0 ;
25778 char *kwnames[] = {
25779 (char *) "self",(char *) "itemid", NULL
25780 };
25781
25782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 result = (wxMenuItem *)(arg1)->Remove(arg2);
25787
25788 wxPyEndAllowThreads(__tstate);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 {
25792 resultobj = wxPyMake_wxObject(result);
25793 }
25794 return resultobj;
25795 fail:
25796 return NULL;
25797 }
25798
25799
25800 static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25801 PyObject *resultobj;
25802 wxMenu *arg1 = (wxMenu *) 0 ;
25803 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25804 wxMenuItem *result;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 char *kwnames[] = {
25808 (char *) "self",(char *) "item", NULL
25809 };
25810
25811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 result = (wxMenuItem *)(arg1)->Remove(arg2);
25817
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 {
25822 resultobj = wxPyMake_wxObject(result);
25823 }
25824 return resultobj;
25825 fail:
25826 return NULL;
25827 }
25828
25829
25830 static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25831 PyObject *resultobj;
25832 wxMenu *arg1 = (wxMenu *) 0 ;
25833 int arg2 ;
25834 bool result;
25835 PyObject * obj0 = 0 ;
25836 char *kwnames[] = {
25837 (char *) "self",(char *) "itemid", NULL
25838 };
25839
25840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 result = (bool)(arg1)->Delete(arg2);
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 resultobj = PyInt_FromLong((long)result);
25850 return resultobj;
25851 fail:
25852 return NULL;
25853 }
25854
25855
25856 static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj;
25858 wxMenu *arg1 = (wxMenu *) 0 ;
25859 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25860 bool result;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 char *kwnames[] = {
25864 (char *) "self",(char *) "item", NULL
25865 };
25866
25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 result = (bool)(arg1)->Delete(arg2);
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 resultobj = PyInt_FromLong((long)result);
25878 return resultobj;
25879 fail:
25880 return NULL;
25881 }
25882
25883
25884 static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj;
25886 wxMenu *arg1 = (wxMenu *) 0 ;
25887 PyObject * obj0 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25894 {
25895 PyThreadState* __tstate = wxPyBeginAllowThreads();
25896 wxMenu_Destroy(arg1);
25897
25898 wxPyEndAllowThreads(__tstate);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 Py_INCREF(Py_None); resultobj = Py_None;
25902 return resultobj;
25903 fail:
25904 return NULL;
25905 }
25906
25907
25908 static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25909 PyObject *resultobj;
25910 wxMenu *arg1 = (wxMenu *) 0 ;
25911 int arg2 ;
25912 bool result;
25913 PyObject * obj0 = 0 ;
25914 char *kwnames[] = {
25915 (char *) "self",(char *) "itemid", NULL
25916 };
25917
25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 result = (bool)(arg1)->Destroy(arg2);
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 resultobj = PyInt_FromLong((long)result);
25928 return resultobj;
25929 fail:
25930 return NULL;
25931 }
25932
25933
25934 static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25935 PyObject *resultobj;
25936 wxMenu *arg1 = (wxMenu *) 0 ;
25937 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25938 bool result;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj1 = 0 ;
25941 char *kwnames[] = {
25942 (char *) "self",(char *) "item", NULL
25943 };
25944
25945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25948 {
25949 PyThreadState* __tstate = wxPyBeginAllowThreads();
25950 result = (bool)(arg1)->Destroy(arg2);
25951
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 resultobj = PyInt_FromLong((long)result);
25956 return resultobj;
25957 fail:
25958 return NULL;
25959 }
25960
25961
25962 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25963 PyObject *resultobj;
25964 wxMenu *arg1 = (wxMenu *) 0 ;
25965 size_t result;
25966 PyObject * obj0 = 0 ;
25967 char *kwnames[] = {
25968 (char *) "self", NULL
25969 };
25970
25971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25976
25977 wxPyEndAllowThreads(__tstate);
25978 if (PyErr_Occurred()) SWIG_fail;
25979 }
25980 resultobj = PyInt_FromLong((long)result);
25981 return resultobj;
25982 fail:
25983 return NULL;
25984 }
25985
25986
25987 static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25988 PyObject *resultobj;
25989 wxMenu *arg1 = (wxMenu *) 0 ;
25990 PyObject *result;
25991 PyObject * obj0 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "self", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 result = (PyObject *)wxMenu_GetMenuItems(arg1);
26001
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 resultobj = result;
26006 return resultobj;
26007 fail:
26008 return NULL;
26009 }
26010
26011
26012 static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26013 PyObject *resultobj;
26014 wxMenu *arg1 = (wxMenu *) 0 ;
26015 wxString *arg2 = 0 ;
26016 int result;
26017 bool temp2 = False ;
26018 PyObject * obj0 = 0 ;
26019 PyObject * obj1 = 0 ;
26020 char *kwnames[] = {
26021 (char *) "self",(char *) "item", NULL
26022 };
26023
26024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
26025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26026 {
26027 arg2 = wxString_in_helper(obj1);
26028 if (arg2 == NULL) SWIG_fail;
26029 temp2 = True;
26030 }
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
26034
26035 wxPyEndAllowThreads(__tstate);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 }
26038 resultobj = PyInt_FromLong((long)result);
26039 {
26040 if (temp2)
26041 delete arg2;
26042 }
26043 return resultobj;
26044 fail:
26045 {
26046 if (temp2)
26047 delete arg2;
26048 }
26049 return NULL;
26050 }
26051
26052
26053 static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26054 PyObject *resultobj;
26055 wxMenu *arg1 = (wxMenu *) 0 ;
26056 int arg2 ;
26057 wxMenuItem *result;
26058 PyObject * obj0 = 0 ;
26059 char *kwnames[] = {
26060 (char *) "self",(char *) "itemid", NULL
26061 };
26062
26063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
26064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 {
26073 resultobj = wxPyMake_wxObject(result);
26074 }
26075 return resultobj;
26076 fail:
26077 return NULL;
26078 }
26079
26080
26081 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj;
26083 wxMenu *arg1 = (wxMenu *) 0 ;
26084 size_t arg2 ;
26085 wxMenuItem *result;
26086 PyObject * obj0 = 0 ;
26087 PyObject * obj1 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "self",(char *) "position", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
26093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26094 arg2 = (size_t) PyInt_AsLong(obj1);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
26099
26100 wxPyEndAllowThreads(__tstate);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 resultobj = wxPyMake_wxObject(result);
26105 }
26106 return resultobj;
26107 fail:
26108 return NULL;
26109 }
26110
26111
26112 static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
26113 PyObject *resultobj;
26114 wxMenu *arg1 = (wxMenu *) 0 ;
26115 int arg2 ;
26116 bool arg3 ;
26117 PyObject * obj0 = 0 ;
26118 PyObject * obj2 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
26124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26125 arg3 = PyInt_AsLong(obj2) ? true : false;
26126 if (PyErr_Occurred()) SWIG_fail;
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 (arg1)->Enable(arg2,arg3);
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
26134 Py_INCREF(Py_None); resultobj = Py_None;
26135 return resultobj;
26136 fail:
26137 return NULL;
26138 }
26139
26140
26141 static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj;
26143 wxMenu *arg1 = (wxMenu *) 0 ;
26144 int arg2 ;
26145 bool result;
26146 PyObject * obj0 = 0 ;
26147 char *kwnames[] = {
26148 (char *) "self",(char *) "itemid", NULL
26149 };
26150
26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
26152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26153 {
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
26156
26157 wxPyEndAllowThreads(__tstate);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 resultobj = PyInt_FromLong((long)result);
26161 return resultobj;
26162 fail:
26163 return NULL;
26164 }
26165
26166
26167 static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj;
26169 wxMenu *arg1 = (wxMenu *) 0 ;
26170 int arg2 ;
26171 bool arg3 ;
26172 PyObject * obj0 = 0 ;
26173 PyObject * obj2 = 0 ;
26174 char *kwnames[] = {
26175 (char *) "self",(char *) "itemid",(char *) "check", NULL
26176 };
26177
26178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
26179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26180 arg3 = PyInt_AsLong(obj2) ? true : false;
26181 if (PyErr_Occurred()) SWIG_fail;
26182 {
26183 PyThreadState* __tstate = wxPyBeginAllowThreads();
26184 (arg1)->Check(arg2,arg3);
26185
26186 wxPyEndAllowThreads(__tstate);
26187 if (PyErr_Occurred()) SWIG_fail;
26188 }
26189 Py_INCREF(Py_None); resultobj = Py_None;
26190 return resultobj;
26191 fail:
26192 return NULL;
26193 }
26194
26195
26196 static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
26197 PyObject *resultobj;
26198 wxMenu *arg1 = (wxMenu *) 0 ;
26199 int arg2 ;
26200 bool result;
26201 PyObject * obj0 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "self",(char *) "itemid", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
26207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = PyInt_FromLong((long)result);
26216 return resultobj;
26217 fail:
26218 return NULL;
26219 }
26220
26221
26222 static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj;
26224 wxMenu *arg1 = (wxMenu *) 0 ;
26225 int arg2 ;
26226 wxString *arg3 = 0 ;
26227 bool temp3 = False ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj2 = 0 ;
26230 char *kwnames[] = {
26231 (char *) "self",(char *) "itemid",(char *) "label", NULL
26232 };
26233
26234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
26235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26236 {
26237 arg3 = wxString_in_helper(obj2);
26238 if (arg3 == NULL) SWIG_fail;
26239 temp3 = True;
26240 }
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 Py_INCREF(Py_None); resultobj = Py_None;
26249 {
26250 if (temp3)
26251 delete arg3;
26252 }
26253 return resultobj;
26254 fail:
26255 {
26256 if (temp3)
26257 delete arg3;
26258 }
26259 return NULL;
26260 }
26261
26262
26263 static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26264 PyObject *resultobj;
26265 wxMenu *arg1 = (wxMenu *) 0 ;
26266 int arg2 ;
26267 wxString result;
26268 PyObject * obj0 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "itemid", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
26274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 result = ((wxMenu const *)arg1)->GetLabel(arg2);
26278
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 {
26283 #if wxUSE_UNICODE
26284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26285 #else
26286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26287 #endif
26288 }
26289 return resultobj;
26290 fail:
26291 return NULL;
26292 }
26293
26294
26295 static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxMenu *arg1 = (wxMenu *) 0 ;
26298 int arg2 ;
26299 wxString *arg3 = 0 ;
26300 bool temp3 = False ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj2 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
26308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26309 {
26310 arg3 = wxString_in_helper(obj2);
26311 if (arg3 == NULL) SWIG_fail;
26312 temp3 = True;
26313 }
26314 {
26315 PyThreadState* __tstate = wxPyBeginAllowThreads();
26316 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
26317
26318 wxPyEndAllowThreads(__tstate);
26319 if (PyErr_Occurred()) SWIG_fail;
26320 }
26321 Py_INCREF(Py_None); resultobj = Py_None;
26322 {
26323 if (temp3)
26324 delete arg3;
26325 }
26326 return resultobj;
26327 fail:
26328 {
26329 if (temp3)
26330 delete arg3;
26331 }
26332 return NULL;
26333 }
26334
26335
26336 static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj;
26338 wxMenu *arg1 = (wxMenu *) 0 ;
26339 int arg2 ;
26340 wxString result;
26341 PyObject * obj0 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self",(char *) "itemid", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 {
26356 #if wxUSE_UNICODE
26357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26358 #else
26359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26360 #endif
26361 }
26362 return resultobj;
26363 fail:
26364 return NULL;
26365 }
26366
26367
26368 static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj;
26370 wxMenu *arg1 = (wxMenu *) 0 ;
26371 wxString *arg2 = 0 ;
26372 bool temp2 = False ;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "title", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26381 {
26382 arg2 = wxString_in_helper(obj1);
26383 if (arg2 == NULL) SWIG_fail;
26384 temp2 = True;
26385 }
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 (arg1)->SetTitle((wxString const &)*arg2);
26389
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 Py_INCREF(Py_None); resultobj = Py_None;
26394 {
26395 if (temp2)
26396 delete arg2;
26397 }
26398 return resultobj;
26399 fail:
26400 {
26401 if (temp2)
26402 delete arg2;
26403 }
26404 return NULL;
26405 }
26406
26407
26408 static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj;
26410 wxMenu *arg1 = (wxMenu *) 0 ;
26411 wxString result;
26412 PyObject * obj0 = 0 ;
26413 char *kwnames[] = {
26414 (char *) "self", NULL
26415 };
26416
26417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = ((wxMenu const *)arg1)->GetTitle();
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 #if wxUSE_UNICODE
26428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26429 #else
26430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26431 #endif
26432 }
26433 return resultobj;
26434 fail:
26435 return NULL;
26436 }
26437
26438
26439 static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj;
26441 wxMenu *arg1 = (wxMenu *) 0 ;
26442 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26443 PyObject * obj0 = 0 ;
26444 PyObject * obj1 = 0 ;
26445 char *kwnames[] = {
26446 (char *) "self",(char *) "handler", NULL
26447 };
26448
26449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26452 {
26453 PyThreadState* __tstate = wxPyBeginAllowThreads();
26454 (arg1)->SetEventHandler(arg2);
26455
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 Py_INCREF(Py_None); resultobj = Py_None;
26460 return resultobj;
26461 fail:
26462 return NULL;
26463 }
26464
26465
26466 static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26467 PyObject *resultobj;
26468 wxMenu *arg1 = (wxMenu *) 0 ;
26469 wxEvtHandler *result;
26470 PyObject * obj0 = 0 ;
26471 char *kwnames[] = {
26472 (char *) "self", NULL
26473 };
26474
26475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26477 {
26478 PyThreadState* __tstate = wxPyBeginAllowThreads();
26479 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26480
26481 wxPyEndAllowThreads(__tstate);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 {
26485 resultobj = wxPyMake_wxObject(result);
26486 }
26487 return resultobj;
26488 fail:
26489 return NULL;
26490 }
26491
26492
26493 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26494 PyObject *resultobj;
26495 wxMenu *arg1 = (wxMenu *) 0 ;
26496 wxWindow *arg2 = (wxWindow *) 0 ;
26497 PyObject * obj0 = 0 ;
26498 PyObject * obj1 = 0 ;
26499 char *kwnames[] = {
26500 (char *) "self",(char *) "win", NULL
26501 };
26502
26503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26506 {
26507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26508 (arg1)->SetInvokingWindow(arg2);
26509
26510 wxPyEndAllowThreads(__tstate);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 }
26513 Py_INCREF(Py_None); resultobj = Py_None;
26514 return resultobj;
26515 fail:
26516 return NULL;
26517 }
26518
26519
26520 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26521 PyObject *resultobj;
26522 wxMenu *arg1 = (wxMenu *) 0 ;
26523 wxWindow *result;
26524 PyObject * obj0 = 0 ;
26525 char *kwnames[] = {
26526 (char *) "self", NULL
26527 };
26528
26529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26534
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 {
26539 resultobj = wxPyMake_wxObject(result);
26540 }
26541 return resultobj;
26542 fail:
26543 return NULL;
26544 }
26545
26546
26547 static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj;
26549 wxMenu *arg1 = (wxMenu *) 0 ;
26550 long result;
26551 PyObject * obj0 = 0 ;
26552 char *kwnames[] = {
26553 (char *) "self", NULL
26554 };
26555
26556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26558 {
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 result = (long)((wxMenu const *)arg1)->GetStyle();
26561
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 resultobj = PyInt_FromLong((long)result);
26566 return resultobj;
26567 fail:
26568 return NULL;
26569 }
26570
26571
26572 static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26573 PyObject *resultobj;
26574 wxMenu *arg1 = (wxMenu *) 0 ;
26575 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26576 PyObject * obj0 = 0 ;
26577 PyObject * obj1 = 0 ;
26578 char *kwnames[] = {
26579 (char *) "self",(char *) "source", NULL
26580 };
26581
26582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26584 if (obj1) {
26585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26586 }
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 (arg1)->UpdateUI(arg2);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 Py_INCREF(Py_None); resultobj = Py_None;
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxMenu *arg1 = (wxMenu *) 0 ;
26604 wxMenuBar *result;
26605 PyObject * obj0 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26615
26616 wxPyEndAllowThreads(__tstate);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 }
26619 {
26620 resultobj = wxPyMake_wxObject(result);
26621 }
26622 return resultobj;
26623 fail:
26624 return NULL;
26625 }
26626
26627
26628 static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26629 PyObject *resultobj;
26630 wxMenu *arg1 = (wxMenu *) 0 ;
26631 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26632 PyObject * obj0 = 0 ;
26633 PyObject * obj1 = 0 ;
26634 char *kwnames[] = {
26635 (char *) "self",(char *) "menubar", NULL
26636 };
26637
26638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26641 {
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 (arg1)->Attach(arg2);
26644
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 Py_INCREF(Py_None); resultobj = Py_None;
26649 return resultobj;
26650 fail:
26651 return NULL;
26652 }
26653
26654
26655 static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26656 PyObject *resultobj;
26657 wxMenu *arg1 = (wxMenu *) 0 ;
26658 PyObject * obj0 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 (arg1)->Detach();
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 Py_INCREF(Py_None); resultobj = Py_None;
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxMenu *arg1 = (wxMenu *) 0 ;
26682 bool result;
26683 PyObject * obj0 = 0 ;
26684 char *kwnames[] = {
26685 (char *) "self", NULL
26686 };
26687
26688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26690 {
26691 PyThreadState* __tstate = wxPyBeginAllowThreads();
26692 result = (bool)((wxMenu const *)arg1)->IsAttached();
26693
26694 wxPyEndAllowThreads(__tstate);
26695 if (PyErr_Occurred()) SWIG_fail;
26696 }
26697 resultobj = PyInt_FromLong((long)result);
26698 return resultobj;
26699 fail:
26700 return NULL;
26701 }
26702
26703
26704 static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26705 PyObject *resultobj;
26706 wxMenu *arg1 = (wxMenu *) 0 ;
26707 wxMenu *arg2 = (wxMenu *) 0 ;
26708 PyObject * obj0 = 0 ;
26709 PyObject * obj1 = 0 ;
26710 char *kwnames[] = {
26711 (char *) "self",(char *) "parent", NULL
26712 };
26713
26714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 (arg1)->SetParent(arg2);
26720
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 Py_INCREF(Py_None); resultobj = Py_None;
26725 return resultobj;
26726 fail:
26727 return NULL;
26728 }
26729
26730
26731 static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26732 PyObject *resultobj;
26733 wxMenu *arg1 = (wxMenu *) 0 ;
26734 wxMenu *result;
26735 PyObject * obj0 = 0 ;
26736 char *kwnames[] = {
26737 (char *) "self", NULL
26738 };
26739
26740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26742 {
26743 PyThreadState* __tstate = wxPyBeginAllowThreads();
26744 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26745
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 {
26750 resultobj = wxPyMake_wxObject(result);
26751 }
26752 return resultobj;
26753 fail:
26754 return NULL;
26755 }
26756
26757
26758 static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26759 PyObject *obj;
26760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26761 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26762 Py_INCREF(obj);
26763 return Py_BuildValue((char *)"");
26764 }
26765 static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj;
26767 long arg1 = (long) 0 ;
26768 wxMenuBar *result;
26769 char *kwnames[] = {
26770 (char *) "style", NULL
26771 };
26772
26773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26774 {
26775 PyThreadState* __tstate = wxPyBeginAllowThreads();
26776 result = (wxMenuBar *)new wxMenuBar(arg1);
26777
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 {
26782 resultobj = wxPyMake_wxObject(result);
26783 }
26784 return resultobj;
26785 fail:
26786 return NULL;
26787 }
26788
26789
26790 static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26791 PyObject *resultobj;
26792 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26793 wxMenu *arg2 = (wxMenu *) 0 ;
26794 wxString *arg3 = 0 ;
26795 bool result;
26796 bool temp3 = False ;
26797 PyObject * obj0 = 0 ;
26798 PyObject * obj1 = 0 ;
26799 PyObject * obj2 = 0 ;
26800 char *kwnames[] = {
26801 (char *) "self",(char *) "menu",(char *) "title", NULL
26802 };
26803
26804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26807 {
26808 arg3 = wxString_in_helper(obj2);
26809 if (arg3 == NULL) SWIG_fail;
26810 temp3 = True;
26811 }
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 resultobj = PyInt_FromLong((long)result);
26820 {
26821 if (temp3)
26822 delete arg3;
26823 }
26824 return resultobj;
26825 fail:
26826 {
26827 if (temp3)
26828 delete arg3;
26829 }
26830 return NULL;
26831 }
26832
26833
26834 static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26835 PyObject *resultobj;
26836 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26837 size_t arg2 ;
26838 wxMenu *arg3 = (wxMenu *) 0 ;
26839 wxString *arg4 = 0 ;
26840 bool result;
26841 bool temp4 = False ;
26842 PyObject * obj0 = 0 ;
26843 PyObject * obj1 = 0 ;
26844 PyObject * obj2 = 0 ;
26845 PyObject * obj3 = 0 ;
26846 char *kwnames[] = {
26847 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26848 };
26849
26850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26852 arg2 = (size_t) PyInt_AsLong(obj1);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26855 {
26856 arg4 = wxString_in_helper(obj3);
26857 if (arg4 == NULL) SWIG_fail;
26858 temp4 = True;
26859 }
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 resultobj = PyInt_FromLong((long)result);
26868 {
26869 if (temp4)
26870 delete arg4;
26871 }
26872 return resultobj;
26873 fail:
26874 {
26875 if (temp4)
26876 delete arg4;
26877 }
26878 return NULL;
26879 }
26880
26881
26882 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26883 PyObject *resultobj;
26884 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26885 size_t result;
26886 PyObject * obj0 = 0 ;
26887 char *kwnames[] = {
26888 (char *) "self", NULL
26889 };
26890
26891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 resultobj = PyInt_FromLong((long)result);
26901 return resultobj;
26902 fail:
26903 return NULL;
26904 }
26905
26906
26907 static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj;
26909 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26910 size_t arg2 ;
26911 wxMenu *result;
26912 PyObject * obj0 = 0 ;
26913 PyObject * obj1 = 0 ;
26914 char *kwnames[] = {
26915 (char *) "self",(char *) "pos", NULL
26916 };
26917
26918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26920 arg2 = (size_t) PyInt_AsLong(obj1);
26921 if (PyErr_Occurred()) SWIG_fail;
26922 {
26923 PyThreadState* __tstate = wxPyBeginAllowThreads();
26924 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26925
26926 wxPyEndAllowThreads(__tstate);
26927 if (PyErr_Occurred()) SWIG_fail;
26928 }
26929 {
26930 resultobj = wxPyMake_wxObject(result);
26931 }
26932 return resultobj;
26933 fail:
26934 return NULL;
26935 }
26936
26937
26938 static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj;
26940 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26941 size_t arg2 ;
26942 wxMenu *arg3 = (wxMenu *) 0 ;
26943 wxString *arg4 = 0 ;
26944 wxMenu *result;
26945 bool temp4 = False ;
26946 PyObject * obj0 = 0 ;
26947 PyObject * obj1 = 0 ;
26948 PyObject * obj2 = 0 ;
26949 PyObject * obj3 = 0 ;
26950 char *kwnames[] = {
26951 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26952 };
26953
26954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26956 arg2 = (size_t) PyInt_AsLong(obj1);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26959 {
26960 arg4 = wxString_in_helper(obj3);
26961 if (arg4 == NULL) SWIG_fail;
26962 temp4 = True;
26963 }
26964 {
26965 PyThreadState* __tstate = wxPyBeginAllowThreads();
26966 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26967
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 {
26972 resultobj = wxPyMake_wxObject(result);
26973 }
26974 {
26975 if (temp4)
26976 delete arg4;
26977 }
26978 return resultobj;
26979 fail:
26980 {
26981 if (temp4)
26982 delete arg4;
26983 }
26984 return NULL;
26985 }
26986
26987
26988 static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26989 PyObject *resultobj;
26990 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26991 size_t arg2 ;
26992 wxMenu *result;
26993 PyObject * obj0 = 0 ;
26994 PyObject * obj1 = 0 ;
26995 char *kwnames[] = {
26996 (char *) "self",(char *) "pos", NULL
26997 };
26998
26999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
27000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27001 arg2 = (size_t) PyInt_AsLong(obj1);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 result = (wxMenu *)(arg1)->Remove(arg2);
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 {
27011 resultobj = wxPyMake_wxObject(result);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27022 size_t arg2 ;
27023 bool arg3 ;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 PyObject * obj2 = 0 ;
27027 char *kwnames[] = {
27028 (char *) "self",(char *) "pos",(char *) "enable", NULL
27029 };
27030
27031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27033 arg2 = (size_t) PyInt_AsLong(obj1);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 arg3 = PyInt_AsLong(obj2) ? true : false;
27036 if (PyErr_Occurred()) SWIG_fail;
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 (arg1)->EnableTop(arg2,arg3);
27040
27041 wxPyEndAllowThreads(__tstate);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 Py_INCREF(Py_None); resultobj = Py_None;
27045 return resultobj;
27046 fail:
27047 return NULL;
27048 }
27049
27050
27051 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27052 PyObject *resultobj;
27053 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27054 size_t arg2 ;
27055 bool result;
27056 PyObject * obj0 = 0 ;
27057 PyObject * obj1 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self",(char *) "pos", NULL
27060 };
27061
27062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
27063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27064 arg2 = (size_t) PyInt_AsLong(obj1);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 {
27067 PyThreadState* __tstate = wxPyBeginAllowThreads();
27068 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
27069
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
27073 resultobj = PyInt_FromLong((long)result);
27074 return resultobj;
27075 fail:
27076 return NULL;
27077 }
27078
27079
27080 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27081 PyObject *resultobj;
27082 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27083 size_t arg2 ;
27084 wxString *arg3 = 0 ;
27085 bool temp3 = False ;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 PyObject * obj2 = 0 ;
27089 char *kwnames[] = {
27090 (char *) "self",(char *) "pos",(char *) "label", NULL
27091 };
27092
27093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27095 arg2 = (size_t) PyInt_AsLong(obj1);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 {
27098 arg3 = wxString_in_helper(obj2);
27099 if (arg3 == NULL) SWIG_fail;
27100 temp3 = True;
27101 }
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 Py_INCREF(Py_None); resultobj = Py_None;
27110 {
27111 if (temp3)
27112 delete arg3;
27113 }
27114 return resultobj;
27115 fail:
27116 {
27117 if (temp3)
27118 delete arg3;
27119 }
27120 return NULL;
27121 }
27122
27123
27124 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
27125 PyObject *resultobj;
27126 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27127 size_t arg2 ;
27128 wxString result;
27129 PyObject * obj0 = 0 ;
27130 PyObject * obj1 = 0 ;
27131 char *kwnames[] = {
27132 (char *) "self",(char *) "pos", NULL
27133 };
27134
27135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
27136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27137 arg2 = (size_t) PyInt_AsLong(obj1);
27138 if (PyErr_Occurred()) SWIG_fail;
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
27142
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 {
27147 #if wxUSE_UNICODE
27148 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27149 #else
27150 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27151 #endif
27152 }
27153 return resultobj;
27154 fail:
27155 return NULL;
27156 }
27157
27158
27159 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27160 PyObject *resultobj;
27161 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27162 wxString *arg2 = 0 ;
27163 wxString *arg3 = 0 ;
27164 int result;
27165 bool temp2 = False ;
27166 bool temp3 = False ;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 PyObject * obj2 = 0 ;
27170 char *kwnames[] = {
27171 (char *) "self",(char *) "menu",(char *) "item", NULL
27172 };
27173
27174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27176 {
27177 arg2 = wxString_in_helper(obj1);
27178 if (arg2 == NULL) SWIG_fail;
27179 temp2 = True;
27180 }
27181 {
27182 arg3 = wxString_in_helper(obj2);
27183 if (arg3 == NULL) SWIG_fail;
27184 temp3 = True;
27185 }
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
27189
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 resultobj = PyInt_FromLong((long)result);
27194 {
27195 if (temp2)
27196 delete arg2;
27197 }
27198 {
27199 if (temp3)
27200 delete arg3;
27201 }
27202 return resultobj;
27203 fail:
27204 {
27205 if (temp2)
27206 delete arg2;
27207 }
27208 {
27209 if (temp3)
27210 delete arg3;
27211 }
27212 return NULL;
27213 }
27214
27215
27216 static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
27217 PyObject *resultobj;
27218 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27219 int arg2 ;
27220 wxMenuItem *result;
27221 PyObject * obj0 = 0 ;
27222 char *kwnames[] = {
27223 (char *) "self",(char *) "itemid", NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
27227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 {
27236 resultobj = wxPyMake_wxObject(result);
27237 }
27238 return resultobj;
27239 fail:
27240 return NULL;
27241 }
27242
27243
27244 static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27245 PyObject *resultobj;
27246 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27247 wxString *arg2 = 0 ;
27248 int result;
27249 bool temp2 = False ;
27250 PyObject * obj0 = 0 ;
27251 PyObject * obj1 = 0 ;
27252 char *kwnames[] = {
27253 (char *) "self",(char *) "title", NULL
27254 };
27255
27256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
27257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27258 {
27259 arg2 = wxString_in_helper(obj1);
27260 if (arg2 == NULL) SWIG_fail;
27261 temp2 = True;
27262 }
27263 {
27264 PyThreadState* __tstate = wxPyBeginAllowThreads();
27265 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
27266
27267 wxPyEndAllowThreads(__tstate);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 }
27270 resultobj = PyInt_FromLong((long)result);
27271 {
27272 if (temp2)
27273 delete arg2;
27274 }
27275 return resultobj;
27276 fail:
27277 {
27278 if (temp2)
27279 delete arg2;
27280 }
27281 return NULL;
27282 }
27283
27284
27285 static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27286 PyObject *resultobj;
27287 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27288 int arg2 ;
27289 bool arg3 ;
27290 PyObject * obj0 = 0 ;
27291 PyObject * obj2 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
27297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27298 arg3 = PyInt_AsLong(obj2) ? true : false;
27299 if (PyErr_Occurred()) SWIG_fail;
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 (arg1)->Enable(arg2,arg3);
27303
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 Py_INCREF(Py_None); resultobj = Py_None;
27308 return resultobj;
27309 fail:
27310 return NULL;
27311 }
27312
27313
27314 static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27315 PyObject *resultobj;
27316 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27317 int arg2 ;
27318 bool arg3 ;
27319 PyObject * obj0 = 0 ;
27320 PyObject * obj2 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self",(char *) "itemid",(char *) "check", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27327 arg3 = PyInt_AsLong(obj2) ? true : false;
27328 if (PyErr_Occurred()) SWIG_fail;
27329 {
27330 PyThreadState* __tstate = wxPyBeginAllowThreads();
27331 (arg1)->Check(arg2,arg3);
27332
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 Py_INCREF(Py_None); resultobj = Py_None;
27337 return resultobj;
27338 fail:
27339 return NULL;
27340 }
27341
27342
27343 static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27346 int arg2 ;
27347 bool result;
27348 PyObject * obj0 = 0 ;
27349 char *kwnames[] = {
27350 (char *) "self",(char *) "itemid", NULL
27351 };
27352
27353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27355 {
27356 PyThreadState* __tstate = wxPyBeginAllowThreads();
27357 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27358
27359 wxPyEndAllowThreads(__tstate);
27360 if (PyErr_Occurred()) SWIG_fail;
27361 }
27362 resultobj = PyInt_FromLong((long)result);
27363 return resultobj;
27364 fail:
27365 return NULL;
27366 }
27367
27368
27369 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27370 PyObject *resultobj;
27371 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27372 int arg2 ;
27373 bool result;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self",(char *) "itemid", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27381 {
27382 PyThreadState* __tstate = wxPyBeginAllowThreads();
27383 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27384
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 resultobj = PyInt_FromLong((long)result);
27389 return resultobj;
27390 fail:
27391 return NULL;
27392 }
27393
27394
27395 static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27396 PyObject *resultobj;
27397 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27398 int arg2 ;
27399 wxString *arg3 = 0 ;
27400 bool temp3 = False ;
27401 PyObject * obj0 = 0 ;
27402 PyObject * obj2 = 0 ;
27403 char *kwnames[] = {
27404 (char *) "self",(char *) "itemid",(char *) "label", NULL
27405 };
27406
27407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27409 {
27410 arg3 = wxString_in_helper(obj2);
27411 if (arg3 == NULL) SWIG_fail;
27412 temp3 = True;
27413 }
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27417
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
27421 Py_INCREF(Py_None); resultobj = Py_None;
27422 {
27423 if (temp3)
27424 delete arg3;
27425 }
27426 return resultobj;
27427 fail:
27428 {
27429 if (temp3)
27430 delete arg3;
27431 }
27432 return NULL;
27433 }
27434
27435
27436 static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27437 PyObject *resultobj;
27438 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27439 int arg2 ;
27440 wxString result;
27441 PyObject * obj0 = 0 ;
27442 char *kwnames[] = {
27443 (char *) "self",(char *) "itemid", NULL
27444 };
27445
27446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27451
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 {
27456 #if wxUSE_UNICODE
27457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27458 #else
27459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27460 #endif
27461 }
27462 return resultobj;
27463 fail:
27464 return NULL;
27465 }
27466
27467
27468 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27469 PyObject *resultobj;
27470 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27471 int arg2 ;
27472 wxString *arg3 = 0 ;
27473 bool temp3 = False ;
27474 PyObject * obj0 = 0 ;
27475 PyObject * obj2 = 0 ;
27476 char *kwnames[] = {
27477 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27478 };
27479
27480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27482 {
27483 arg3 = wxString_in_helper(obj2);
27484 if (arg3 == NULL) SWIG_fail;
27485 temp3 = True;
27486 }
27487 {
27488 PyThreadState* __tstate = wxPyBeginAllowThreads();
27489 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27490
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 Py_INCREF(Py_None); resultobj = Py_None;
27495 {
27496 if (temp3)
27497 delete arg3;
27498 }
27499 return resultobj;
27500 fail:
27501 {
27502 if (temp3)
27503 delete arg3;
27504 }
27505 return NULL;
27506 }
27507
27508
27509 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27510 PyObject *resultobj;
27511 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27512 int arg2 ;
27513 wxString result;
27514 PyObject * obj0 = 0 ;
27515 char *kwnames[] = {
27516 (char *) "self",(char *) "itemid", NULL
27517 };
27518
27519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27521 {
27522 PyThreadState* __tstate = wxPyBeginAllowThreads();
27523 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27524
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
27528 {
27529 #if wxUSE_UNICODE
27530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27531 #else
27532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27533 #endif
27534 }
27535 return resultobj;
27536 fail:
27537 return NULL;
27538 }
27539
27540
27541 static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27542 PyObject *resultobj;
27543 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27544 wxFrame *result;
27545 PyObject * obj0 = 0 ;
27546 char *kwnames[] = {
27547 (char *) "self", NULL
27548 };
27549
27550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27552 {
27553 PyThreadState* __tstate = wxPyBeginAllowThreads();
27554 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27555
27556 wxPyEndAllowThreads(__tstate);
27557 if (PyErr_Occurred()) SWIG_fail;
27558 }
27559 {
27560 resultobj = wxPyMake_wxObject(result);
27561 }
27562 return resultobj;
27563 fail:
27564 return NULL;
27565 }
27566
27567
27568 static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27569 PyObject *resultobj;
27570 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27571 bool result;
27572 PyObject * obj0 = 0 ;
27573 char *kwnames[] = {
27574 (char *) "self", NULL
27575 };
27576
27577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27579 {
27580 PyThreadState* __tstate = wxPyBeginAllowThreads();
27581 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27582
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 resultobj = PyInt_FromLong((long)result);
27587 return resultobj;
27588 fail:
27589 return NULL;
27590 }
27591
27592
27593 static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27594 PyObject *resultobj;
27595 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27596 wxFrame *arg2 = (wxFrame *) 0 ;
27597 PyObject * obj0 = 0 ;
27598 PyObject * obj1 = 0 ;
27599 char *kwnames[] = {
27600 (char *) "self",(char *) "frame", NULL
27601 };
27602
27603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27606 {
27607 PyThreadState* __tstate = wxPyBeginAllowThreads();
27608 (arg1)->Attach(arg2);
27609
27610 wxPyEndAllowThreads(__tstate);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 }
27613 Py_INCREF(Py_None); resultobj = Py_None;
27614 return resultobj;
27615 fail:
27616 return NULL;
27617 }
27618
27619
27620 static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27621 PyObject *resultobj;
27622 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27623 PyObject * obj0 = 0 ;
27624 char *kwnames[] = {
27625 (char *) "self", NULL
27626 };
27627
27628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 (arg1)->Detach();
27633
27634 wxPyEndAllowThreads(__tstate);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
27637 Py_INCREF(Py_None); resultobj = Py_None;
27638 return resultobj;
27639 fail:
27640 return NULL;
27641 }
27642
27643
27644 static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27645 PyObject *obj;
27646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27648 Py_INCREF(obj);
27649 return Py_BuildValue((char *)"");
27650 }
27651 static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxMenu *arg1 = (wxMenu *) NULL ;
27654 int arg2 = (int) wxID_SEPARATOR ;
27655 wxString const &arg3_defvalue = wxPyEmptyString ;
27656 wxString *arg3 = (wxString *) &arg3_defvalue ;
27657 wxString const &arg4_defvalue = wxPyEmptyString ;
27658 wxString *arg4 = (wxString *) &arg4_defvalue ;
27659 int arg5 = (int) wxITEM_NORMAL ;
27660 wxMenu *arg6 = (wxMenu *) NULL ;
27661 wxMenuItem *result;
27662 bool temp3 = False ;
27663 bool temp4 = False ;
27664 PyObject * obj0 = 0 ;
27665 PyObject * obj2 = 0 ;
27666 PyObject * obj3 = 0 ;
27667 PyObject * obj5 = 0 ;
27668 char *kwnames[] = {
27669 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27670 };
27671
27672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27673 if (obj0) {
27674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27675 }
27676 if (obj2) {
27677 {
27678 arg3 = wxString_in_helper(obj2);
27679 if (arg3 == NULL) SWIG_fail;
27680 temp3 = True;
27681 }
27682 }
27683 if (obj3) {
27684 {
27685 arg4 = wxString_in_helper(obj3);
27686 if (arg4 == NULL) SWIG_fail;
27687 temp4 = True;
27688 }
27689 }
27690 if (obj5) {
27691 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27692 }
27693 {
27694 PyThreadState* __tstate = wxPyBeginAllowThreads();
27695 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27696
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 {
27701 resultobj = wxPyMake_wxObject(result);
27702 }
27703 {
27704 if (temp3)
27705 delete arg3;
27706 }
27707 {
27708 if (temp4)
27709 delete arg4;
27710 }
27711 return resultobj;
27712 fail:
27713 {
27714 if (temp3)
27715 delete arg3;
27716 }
27717 {
27718 if (temp4)
27719 delete arg4;
27720 }
27721 return NULL;
27722 }
27723
27724
27725 static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27728 wxMenu *result;
27729 PyObject * obj0 = 0 ;
27730 char *kwnames[] = {
27731 (char *) "self", NULL
27732 };
27733
27734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27736 {
27737 PyThreadState* __tstate = wxPyBeginAllowThreads();
27738 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27739
27740 wxPyEndAllowThreads(__tstate);
27741 if (PyErr_Occurred()) SWIG_fail;
27742 }
27743 {
27744 resultobj = wxPyMake_wxObject(result);
27745 }
27746 return resultobj;
27747 fail:
27748 return NULL;
27749 }
27750
27751
27752 static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj;
27754 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27755 wxMenu *arg2 = (wxMenu *) 0 ;
27756 PyObject * obj0 = 0 ;
27757 PyObject * obj1 = 0 ;
27758 char *kwnames[] = {
27759 (char *) "self",(char *) "menu", NULL
27760 };
27761
27762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
27767 (arg1)->SetMenu(arg2);
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 Py_INCREF(Py_None); resultobj = Py_None;
27773 return resultobj;
27774 fail:
27775 return NULL;
27776 }
27777
27778
27779 static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27780 PyObject *resultobj;
27781 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27782 int arg2 ;
27783 PyObject * obj0 = 0 ;
27784 char *kwnames[] = {
27785 (char *) "self",(char *) "itemid", NULL
27786 };
27787
27788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 (arg1)->SetId(arg2);
27793
27794 wxPyEndAllowThreads(__tstate);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 }
27797 Py_INCREF(Py_None); resultobj = Py_None;
27798 return resultobj;
27799 fail:
27800 return NULL;
27801 }
27802
27803
27804 static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27807 int result;
27808 PyObject * obj0 = 0 ;
27809 char *kwnames[] = {
27810 (char *) "self", NULL
27811 };
27812
27813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27815 {
27816 PyThreadState* __tstate = wxPyBeginAllowThreads();
27817 result = (int)((wxMenuItem const *)arg1)->GetId();
27818
27819 wxPyEndAllowThreads(__tstate);
27820 if (PyErr_Occurred()) SWIG_fail;
27821 }
27822 resultobj = PyInt_FromLong((long)result);
27823 return resultobj;
27824 fail:
27825 return NULL;
27826 }
27827
27828
27829 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27830 PyObject *resultobj;
27831 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27832 bool result;
27833 PyObject * obj0 = 0 ;
27834 char *kwnames[] = {
27835 (char *) "self", NULL
27836 };
27837
27838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27840 {
27841 PyThreadState* __tstate = wxPyBeginAllowThreads();
27842 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27843
27844 wxPyEndAllowThreads(__tstate);
27845 if (PyErr_Occurred()) SWIG_fail;
27846 }
27847 resultobj = PyInt_FromLong((long)result);
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27855 PyObject *resultobj;
27856 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27857 wxString *arg2 = 0 ;
27858 bool temp2 = False ;
27859 PyObject * obj0 = 0 ;
27860 PyObject * obj1 = 0 ;
27861 char *kwnames[] = {
27862 (char *) "self",(char *) "str", NULL
27863 };
27864
27865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27867 {
27868 arg2 = wxString_in_helper(obj1);
27869 if (arg2 == NULL) SWIG_fail;
27870 temp2 = True;
27871 }
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 (arg1)->SetText((wxString const &)*arg2);
27875
27876 wxPyEndAllowThreads(__tstate);
27877 if (PyErr_Occurred()) SWIG_fail;
27878 }
27879 Py_INCREF(Py_None); resultobj = Py_None;
27880 {
27881 if (temp2)
27882 delete arg2;
27883 }
27884 return resultobj;
27885 fail:
27886 {
27887 if (temp2)
27888 delete arg2;
27889 }
27890 return NULL;
27891 }
27892
27893
27894 static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27895 PyObject *resultobj;
27896 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27897 wxString result;
27898 PyObject * obj0 = 0 ;
27899 char *kwnames[] = {
27900 (char *) "self", NULL
27901 };
27902
27903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = ((wxMenuItem const *)arg1)->GetLabel();
27908
27909 wxPyEndAllowThreads(__tstate);
27910 if (PyErr_Occurred()) SWIG_fail;
27911 }
27912 {
27913 #if wxUSE_UNICODE
27914 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27915 #else
27916 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27917 #endif
27918 }
27919 return resultobj;
27920 fail:
27921 return NULL;
27922 }
27923
27924
27925 static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27926 PyObject *resultobj;
27927 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27928 wxString *result;
27929 PyObject * obj0 = 0 ;
27930 char *kwnames[] = {
27931 (char *) "self", NULL
27932 };
27933
27934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 {
27939 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27940 result = (wxString *) &_result_ref;
27941 }
27942
27943 wxPyEndAllowThreads(__tstate);
27944 if (PyErr_Occurred()) SWIG_fail;
27945 }
27946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27947 return resultobj;
27948 fail:
27949 return NULL;
27950 }
27951
27952
27953 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27954 PyObject *resultobj;
27955 wxString *arg1 = 0 ;
27956 wxString result;
27957 bool temp1 = False ;
27958 PyObject * obj0 = 0 ;
27959 char *kwnames[] = {
27960 (char *) "text", NULL
27961 };
27962
27963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27964 {
27965 arg1 = wxString_in_helper(obj0);
27966 if (arg1 == NULL) SWIG_fail;
27967 temp1 = True;
27968 }
27969 {
27970 PyThreadState* __tstate = wxPyBeginAllowThreads();
27971 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27972
27973 wxPyEndAllowThreads(__tstate);
27974 if (PyErr_Occurred()) SWIG_fail;
27975 }
27976 {
27977 #if wxUSE_UNICODE
27978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27979 #else
27980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27981 #endif
27982 }
27983 {
27984 if (temp1)
27985 delete arg1;
27986 }
27987 return resultobj;
27988 fail:
27989 {
27990 if (temp1)
27991 delete arg1;
27992 }
27993 return NULL;
27994 }
27995
27996
27997 static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27998 PyObject *resultobj;
27999 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28000 int result;
28001 PyObject * obj0 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
28007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28008 {
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 result = (int)((wxMenuItem const *)arg1)->GetKind();
28011
28012 wxPyEndAllowThreads(__tstate);
28013 if (PyErr_Occurred()) SWIG_fail;
28014 }
28015 resultobj = PyInt_FromLong((long)result);
28016 return resultobj;
28017 fail:
28018 return NULL;
28019 }
28020
28021
28022 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
28023 PyObject *resultobj;
28024 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28025 bool arg2 ;
28026 PyObject * obj0 = 0 ;
28027 PyObject * obj1 = 0 ;
28028 char *kwnames[] = {
28029 (char *) "self",(char *) "checkable", NULL
28030 };
28031
28032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
28033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28034 arg2 = PyInt_AsLong(obj1) ? true : false;
28035 if (PyErr_Occurred()) SWIG_fail;
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 (arg1)->SetCheckable(arg2);
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 Py_INCREF(Py_None); resultobj = Py_None;
28044 return resultobj;
28045 fail:
28046 return NULL;
28047 }
28048
28049
28050 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
28051 PyObject *resultobj;
28052 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28053 bool result;
28054 PyObject * obj0 = 0 ;
28055 char *kwnames[] = {
28056 (char *) "self", NULL
28057 };
28058
28059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
28060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
28064
28065 wxPyEndAllowThreads(__tstate);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
28068 resultobj = PyInt_FromLong((long)result);
28069 return resultobj;
28070 fail:
28071 return NULL;
28072 }
28073
28074
28075 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28076 PyObject *resultobj;
28077 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28078 bool result;
28079 PyObject * obj0 = 0 ;
28080 char *kwnames[] = {
28081 (char *) "self", NULL
28082 };
28083
28084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
28085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
28089
28090 wxPyEndAllowThreads(__tstate);
28091 if (PyErr_Occurred()) SWIG_fail;
28092 }
28093 resultobj = PyInt_FromLong((long)result);
28094 return resultobj;
28095 fail:
28096 return NULL;
28097 }
28098
28099
28100 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28101 PyObject *resultobj;
28102 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28103 wxMenu *arg2 = (wxMenu *) 0 ;
28104 PyObject * obj0 = 0 ;
28105 PyObject * obj1 = 0 ;
28106 char *kwnames[] = {
28107 (char *) "self",(char *) "menu", NULL
28108 };
28109
28110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
28111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->SetSubMenu(arg2);
28116
28117 wxPyEndAllowThreads(__tstate);
28118 if (PyErr_Occurred()) SWIG_fail;
28119 }
28120 Py_INCREF(Py_None); resultobj = Py_None;
28121 return resultobj;
28122 fail:
28123 return NULL;
28124 }
28125
28126
28127 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28128 PyObject *resultobj;
28129 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28130 wxMenu *result;
28131 PyObject * obj0 = 0 ;
28132 char *kwnames[] = {
28133 (char *) "self", NULL
28134 };
28135
28136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
28137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
28141
28142 wxPyEndAllowThreads(__tstate);
28143 if (PyErr_Occurred()) SWIG_fail;
28144 }
28145 {
28146 resultobj = wxPyMake_wxObject(result);
28147 }
28148 return resultobj;
28149 fail:
28150 return NULL;
28151 }
28152
28153
28154 static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
28155 PyObject *resultobj;
28156 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28157 bool arg2 = (bool) True ;
28158 PyObject * obj0 = 0 ;
28159 PyObject * obj1 = 0 ;
28160 char *kwnames[] = {
28161 (char *) "self",(char *) "enable", NULL
28162 };
28163
28164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
28165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28166 if (obj1) {
28167 arg2 = PyInt_AsLong(obj1) ? true : false;
28168 if (PyErr_Occurred()) SWIG_fail;
28169 }
28170 {
28171 PyThreadState* __tstate = wxPyBeginAllowThreads();
28172 (arg1)->Enable(arg2);
28173
28174 wxPyEndAllowThreads(__tstate);
28175 if (PyErr_Occurred()) SWIG_fail;
28176 }
28177 Py_INCREF(Py_None); resultobj = Py_None;
28178 return resultobj;
28179 fail:
28180 return NULL;
28181 }
28182
28183
28184 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
28185 PyObject *resultobj;
28186 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28187 bool result;
28188 PyObject * obj0 = 0 ;
28189 char *kwnames[] = {
28190 (char *) "self", NULL
28191 };
28192
28193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
28194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
28198
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 resultobj = PyInt_FromLong((long)result);
28203 return resultobj;
28204 fail:
28205 return NULL;
28206 }
28207
28208
28209 static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj;
28211 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28212 bool arg2 = (bool) True ;
28213 PyObject * obj0 = 0 ;
28214 PyObject * obj1 = 0 ;
28215 char *kwnames[] = {
28216 (char *) "self",(char *) "check", NULL
28217 };
28218
28219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
28220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28221 if (obj1) {
28222 arg2 = PyInt_AsLong(obj1) ? true : false;
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
28225 {
28226 PyThreadState* __tstate = wxPyBeginAllowThreads();
28227 (arg1)->Check(arg2);
28228
28229 wxPyEndAllowThreads(__tstate);
28230 if (PyErr_Occurred()) SWIG_fail;
28231 }
28232 Py_INCREF(Py_None); resultobj = Py_None;
28233 return resultobj;
28234 fail:
28235 return NULL;
28236 }
28237
28238
28239 static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
28240 PyObject *resultobj;
28241 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28242 bool result;
28243 PyObject * obj0 = 0 ;
28244 char *kwnames[] = {
28245 (char *) "self", NULL
28246 };
28247
28248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
28249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28250 {
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
28253
28254 wxPyEndAllowThreads(__tstate);
28255 if (PyErr_Occurred()) SWIG_fail;
28256 }
28257 resultobj = PyInt_FromLong((long)result);
28258 return resultobj;
28259 fail:
28260 return NULL;
28261 }
28262
28263
28264 static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
28265 PyObject *resultobj;
28266 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28267 PyObject * obj0 = 0 ;
28268 char *kwnames[] = {
28269 (char *) "self", NULL
28270 };
28271
28272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
28273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->Toggle();
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 Py_INCREF(Py_None); resultobj = Py_None;
28282 return resultobj;
28283 fail:
28284 return NULL;
28285 }
28286
28287
28288 static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj;
28290 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28291 wxString *arg2 = 0 ;
28292 bool temp2 = False ;
28293 PyObject * obj0 = 0 ;
28294 PyObject * obj1 = 0 ;
28295 char *kwnames[] = {
28296 (char *) "self",(char *) "str", NULL
28297 };
28298
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
28300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28301 {
28302 arg2 = wxString_in_helper(obj1);
28303 if (arg2 == NULL) SWIG_fail;
28304 temp2 = True;
28305 }
28306 {
28307 PyThreadState* __tstate = wxPyBeginAllowThreads();
28308 (arg1)->SetHelp((wxString const &)*arg2);
28309
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 Py_INCREF(Py_None); resultobj = Py_None;
28314 {
28315 if (temp2)
28316 delete arg2;
28317 }
28318 return resultobj;
28319 fail:
28320 {
28321 if (temp2)
28322 delete arg2;
28323 }
28324 return NULL;
28325 }
28326
28327
28328 static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28329 PyObject *resultobj;
28330 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28331 wxString *result;
28332 PyObject * obj0 = 0 ;
28333 char *kwnames[] = {
28334 (char *) "self", NULL
28335 };
28336
28337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 {
28342 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28343 result = (wxString *) &_result_ref;
28344 }
28345
28346 wxPyEndAllowThreads(__tstate);
28347 if (PyErr_Occurred()) SWIG_fail;
28348 }
28349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
28350 return resultobj;
28351 fail:
28352 return NULL;
28353 }
28354
28355
28356 static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28357 PyObject *resultobj;
28358 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28359 wxAcceleratorEntry *result;
28360 PyObject * obj0 = 0 ;
28361 char *kwnames[] = {
28362 (char *) "self", NULL
28363 };
28364
28365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28367 {
28368 PyThreadState* __tstate = wxPyBeginAllowThreads();
28369 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28370
28371 wxPyEndAllowThreads(__tstate);
28372 if (PyErr_Occurred()) SWIG_fail;
28373 }
28374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28375 return resultobj;
28376 fail:
28377 return NULL;
28378 }
28379
28380
28381 static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28382 PyObject *resultobj;
28383 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28384 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28385 PyObject * obj0 = 0 ;
28386 PyObject * obj1 = 0 ;
28387 char *kwnames[] = {
28388 (char *) "self",(char *) "accel", NULL
28389 };
28390
28391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28394 {
28395 PyThreadState* __tstate = wxPyBeginAllowThreads();
28396 (arg1)->SetAccel(arg2);
28397
28398 wxPyEndAllowThreads(__tstate);
28399 if (PyErr_Occurred()) SWIG_fail;
28400 }
28401 Py_INCREF(Py_None); resultobj = Py_None;
28402 return resultobj;
28403 fail:
28404 return NULL;
28405 }
28406
28407
28408 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28409 PyObject *resultobj;
28410 int result;
28411 char *kwnames[] = {
28412 NULL
28413 };
28414
28415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28416 {
28417 PyThreadState* __tstate = wxPyBeginAllowThreads();
28418 result = (int)MenuItem_GetDefaultMarginWidth();
28419
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 resultobj = PyInt_FromLong((long)result);
28424 return resultobj;
28425 fail:
28426 return NULL;
28427 }
28428
28429
28430 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28431 PyObject *resultobj;
28432 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28433 wxBitmap *arg2 = 0 ;
28434 PyObject * obj0 = 0 ;
28435 PyObject * obj1 = 0 ;
28436 char *kwnames[] = {
28437 (char *) "self",(char *) "bitmap", NULL
28438 };
28439
28440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28443 if (arg2 == NULL) {
28444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28445 }
28446 {
28447 PyThreadState* __tstate = wxPyBeginAllowThreads();
28448 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28449
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 Py_INCREF(Py_None); resultobj = Py_None;
28454 return resultobj;
28455 fail:
28456 return NULL;
28457 }
28458
28459
28460 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28461 PyObject *resultobj;
28462 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28463 wxBitmap *result;
28464 PyObject * obj0 = 0 ;
28465 char *kwnames[] = {
28466 (char *) "self", NULL
28467 };
28468
28469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28471 {
28472 PyThreadState* __tstate = wxPyBeginAllowThreads();
28473 {
28474 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28475 result = (wxBitmap *) &_result_ref;
28476 }
28477
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
28481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28482 return resultobj;
28483 fail:
28484 return NULL;
28485 }
28486
28487
28488 static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28489 PyObject *obj;
28490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28491 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28492 Py_INCREF(obj);
28493 return Py_BuildValue((char *)"");
28494 }
28495 static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28496 PyObject *resultobj;
28497 wxWindow *arg1 = (wxWindow *) 0 ;
28498 int arg2 ;
28499 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28500 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28501 wxSize const &arg4_defvalue = wxDefaultSize ;
28502 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28503 long arg5 = (long) 0 ;
28504 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28505 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28506 wxString const &arg7_defvalue = wxPyControlNameStr ;
28507 wxString *arg7 = (wxString *) &arg7_defvalue ;
28508 wxControl *result;
28509 wxPoint temp3 ;
28510 wxSize temp4 ;
28511 bool temp7 = False ;
28512 PyObject * obj0 = 0 ;
28513 PyObject * obj2 = 0 ;
28514 PyObject * obj3 = 0 ;
28515 PyObject * obj5 = 0 ;
28516 PyObject * obj6 = 0 ;
28517 char *kwnames[] = {
28518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28519 };
28520
28521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28523 if (obj2) {
28524 {
28525 arg3 = &temp3;
28526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28527 }
28528 }
28529 if (obj3) {
28530 {
28531 arg4 = &temp4;
28532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28533 }
28534 }
28535 if (obj5) {
28536 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28537 if (arg6 == NULL) {
28538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28539 }
28540 }
28541 if (obj6) {
28542 {
28543 arg7 = wxString_in_helper(obj6);
28544 if (arg7 == NULL) SWIG_fail;
28545 temp7 = True;
28546 }
28547 }
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28551
28552 wxPyEndAllowThreads(__tstate);
28553 if (PyErr_Occurred()) SWIG_fail;
28554 }
28555 {
28556 resultobj = wxPyMake_wxObject(result);
28557 }
28558 {
28559 if (temp7)
28560 delete arg7;
28561 }
28562 return resultobj;
28563 fail:
28564 {
28565 if (temp7)
28566 delete arg7;
28567 }
28568 return NULL;
28569 }
28570
28571
28572 static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28573 PyObject *resultobj;
28574 wxControl *result;
28575 char *kwnames[] = {
28576 NULL
28577 };
28578
28579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28580 {
28581 PyThreadState* __tstate = wxPyBeginAllowThreads();
28582 result = (wxControl *)new wxControl();
28583
28584 wxPyEndAllowThreads(__tstate);
28585 if (PyErr_Occurred()) SWIG_fail;
28586 }
28587 {
28588 resultobj = wxPyMake_wxObject(result);
28589 }
28590 return resultobj;
28591 fail:
28592 return NULL;
28593 }
28594
28595
28596 static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28597 PyObject *resultobj;
28598 wxControl *arg1 = (wxControl *) 0 ;
28599 wxWindow *arg2 = (wxWindow *) 0 ;
28600 int arg3 ;
28601 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28602 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28603 wxSize const &arg5_defvalue = wxDefaultSize ;
28604 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28605 long arg6 = (long) 0 ;
28606 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28607 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28608 wxString const &arg8_defvalue = wxPyControlNameStr ;
28609 wxString *arg8 = (wxString *) &arg8_defvalue ;
28610 bool result;
28611 wxPoint temp4 ;
28612 wxSize temp5 ;
28613 bool temp8 = False ;
28614 PyObject * obj0 = 0 ;
28615 PyObject * obj1 = 0 ;
28616 PyObject * obj3 = 0 ;
28617 PyObject * obj4 = 0 ;
28618 PyObject * obj6 = 0 ;
28619 PyObject * obj7 = 0 ;
28620 char *kwnames[] = {
28621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28622 };
28623
28624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28627 if (obj3) {
28628 {
28629 arg4 = &temp4;
28630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28631 }
28632 }
28633 if (obj4) {
28634 {
28635 arg5 = &temp5;
28636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28637 }
28638 }
28639 if (obj6) {
28640 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28641 if (arg7 == NULL) {
28642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28643 }
28644 }
28645 if (obj7) {
28646 {
28647 arg8 = wxString_in_helper(obj7);
28648 if (arg8 == NULL) SWIG_fail;
28649 temp8 = True;
28650 }
28651 }
28652 {
28653 PyThreadState* __tstate = wxPyBeginAllowThreads();
28654 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28655
28656 wxPyEndAllowThreads(__tstate);
28657 if (PyErr_Occurred()) SWIG_fail;
28658 }
28659 resultobj = PyInt_FromLong((long)result);
28660 {
28661 if (temp8)
28662 delete arg8;
28663 }
28664 return resultobj;
28665 fail:
28666 {
28667 if (temp8)
28668 delete arg8;
28669 }
28670 return NULL;
28671 }
28672
28673
28674 static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28675 PyObject *resultobj;
28676 wxControl *arg1 = (wxControl *) 0 ;
28677 wxCommandEvent *arg2 = 0 ;
28678 PyObject * obj0 = 0 ;
28679 PyObject * obj1 = 0 ;
28680 char *kwnames[] = {
28681 (char *) "self",(char *) "event", NULL
28682 };
28683
28684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28687 if (arg2 == NULL) {
28688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28689 }
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 (arg1)->Command(*arg2);
28693
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 Py_INCREF(Py_None); resultobj = Py_None;
28698 return resultobj;
28699 fail:
28700 return NULL;
28701 }
28702
28703
28704 static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj;
28706 wxControl *arg1 = (wxControl *) 0 ;
28707 wxString result;
28708 PyObject * obj0 = 0 ;
28709 char *kwnames[] = {
28710 (char *) "self", NULL
28711 };
28712
28713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 result = (arg1)->GetLabel();
28718
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 {
28723 #if wxUSE_UNICODE
28724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28725 #else
28726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28727 #endif
28728 }
28729 return resultobj;
28730 fail:
28731 return NULL;
28732 }
28733
28734
28735 static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28736 PyObject *resultobj;
28737 wxControl *arg1 = (wxControl *) 0 ;
28738 wxString *arg2 = 0 ;
28739 bool temp2 = False ;
28740 PyObject * obj0 = 0 ;
28741 PyObject * obj1 = 0 ;
28742 char *kwnames[] = {
28743 (char *) "self",(char *) "label", NULL
28744 };
28745
28746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28748 {
28749 arg2 = wxString_in_helper(obj1);
28750 if (arg2 == NULL) SWIG_fail;
28751 temp2 = True;
28752 }
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 (arg1)->SetLabel((wxString const &)*arg2);
28756
28757 wxPyEndAllowThreads(__tstate);
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
28760 Py_INCREF(Py_None); resultobj = Py_None;
28761 {
28762 if (temp2)
28763 delete arg2;
28764 }
28765 return resultobj;
28766 fail:
28767 {
28768 if (temp2)
28769 delete arg2;
28770 }
28771 return NULL;
28772 }
28773
28774
28775 static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28776 PyObject *obj;
28777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28778 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28779 Py_INCREF(obj);
28780 return Py_BuildValue((char *)"");
28781 }
28782 static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28783 PyObject *resultobj;
28784 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28785 wxString *arg2 = 0 ;
28786 PyObject *arg3 = (PyObject *) NULL ;
28787 int result;
28788 bool temp2 = False ;
28789 PyObject * obj0 = 0 ;
28790 PyObject * obj1 = 0 ;
28791 PyObject * obj2 = 0 ;
28792 char *kwnames[] = {
28793 (char *) "self",(char *) "item",(char *) "clientData", NULL
28794 };
28795
28796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28798 {
28799 arg2 = wxString_in_helper(obj1);
28800 if (arg2 == NULL) SWIG_fail;
28801 temp2 = True;
28802 }
28803 if (obj2) {
28804 arg3 = obj2;
28805 }
28806 {
28807 PyThreadState* __tstate = wxPyBeginAllowThreads();
28808 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28809
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 resultobj = PyInt_FromLong((long)result);
28814 {
28815 if (temp2)
28816 delete arg2;
28817 }
28818 return resultobj;
28819 fail:
28820 {
28821 if (temp2)
28822 delete arg2;
28823 }
28824 return NULL;
28825 }
28826
28827
28828 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28829 PyObject *resultobj;
28830 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28831 wxArrayString *arg2 = 0 ;
28832 PyObject * obj0 = 0 ;
28833 PyObject * obj1 = 0 ;
28834 char *kwnames[] = {
28835 (char *) "self",(char *) "strings", NULL
28836 };
28837
28838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28840 {
28841 if (! PySequence_Check(obj1)) {
28842 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28843 SWIG_fail;
28844 }
28845 arg2 = new wxArrayString;
28846 int i, len=PySequence_Length(obj1);
28847 for (i=0; i<len; i++) {
28848 PyObject* item = PySequence_GetItem(obj1, i);
28849 #if wxUSE_UNICODE
28850 PyObject* str = PyObject_Unicode(item);
28851 #else
28852 PyObject* str = PyObject_Str(item);
28853 #endif
28854 arg2->Add(Py2wxString(str));
28855 Py_DECREF(item);
28856 Py_DECREF(str);
28857 }
28858 }
28859 {
28860 PyThreadState* __tstate = wxPyBeginAllowThreads();
28861 (arg1)->Append((wxArrayString const &)*arg2);
28862
28863 wxPyEndAllowThreads(__tstate);
28864 if (PyErr_Occurred()) SWIG_fail;
28865 }
28866 Py_INCREF(Py_None); resultobj = Py_None;
28867 {
28868 if (arg2) delete arg2;
28869 }
28870 return resultobj;
28871 fail:
28872 {
28873 if (arg2) delete arg2;
28874 }
28875 return NULL;
28876 }
28877
28878
28879 static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28880 PyObject *resultobj;
28881 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28882 wxString *arg2 = 0 ;
28883 int arg3 ;
28884 PyObject *arg4 = (PyObject *) NULL ;
28885 int result;
28886 bool temp2 = False ;
28887 PyObject * obj0 = 0 ;
28888 PyObject * obj1 = 0 ;
28889 PyObject * obj3 = 0 ;
28890 char *kwnames[] = {
28891 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28892 };
28893
28894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
28895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28896 {
28897 arg2 = wxString_in_helper(obj1);
28898 if (arg2 == NULL) SWIG_fail;
28899 temp2 = True;
28900 }
28901 if (obj3) {
28902 arg4 = obj3;
28903 }
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
28906 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
28907
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 resultobj = PyInt_FromLong((long)result);
28912 {
28913 if (temp2)
28914 delete arg2;
28915 }
28916 return resultobj;
28917 fail:
28918 {
28919 if (temp2)
28920 delete arg2;
28921 }
28922 return NULL;
28923 }
28924
28925
28926 static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
28927 PyObject *resultobj;
28928 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28929 PyObject * obj0 = 0 ;
28930 char *kwnames[] = {
28931 (char *) "self", NULL
28932 };
28933
28934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
28935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 (arg1)->Clear();
28939
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 Py_INCREF(Py_None); resultobj = Py_None;
28944 return resultobj;
28945 fail:
28946 return NULL;
28947 }
28948
28949
28950 static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28951 PyObject *resultobj;
28952 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28953 int arg2 ;
28954 PyObject * obj0 = 0 ;
28955 char *kwnames[] = {
28956 (char *) "self",(char *) "n", NULL
28957 };
28958
28959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
28960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 (arg1)->Delete(arg2);
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 Py_INCREF(Py_None); resultobj = Py_None;
28969 return resultobj;
28970 fail:
28971 return NULL;
28972 }
28973
28974
28975 static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28976 PyObject *resultobj;
28977 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28978 int result;
28979 PyObject * obj0 = 0 ;
28980 char *kwnames[] = {
28981 (char *) "self", NULL
28982 };
28983
28984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
28985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28986 {
28987 PyThreadState* __tstate = wxPyBeginAllowThreads();
28988 result = (int)((wxItemContainer const *)arg1)->GetCount();
28989
28990 wxPyEndAllowThreads(__tstate);
28991 if (PyErr_Occurred()) SWIG_fail;
28992 }
28993 resultobj = PyInt_FromLong((long)result);
28994 return resultobj;
28995 fail:
28996 return NULL;
28997 }
28998
28999
29000 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
29001 PyObject *resultobj;
29002 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29003 bool result;
29004 PyObject * obj0 = 0 ;
29005 char *kwnames[] = {
29006 (char *) "self", NULL
29007 };
29008
29009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
29010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29011 {
29012 PyThreadState* __tstate = wxPyBeginAllowThreads();
29013 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
29014
29015 wxPyEndAllowThreads(__tstate);
29016 if (PyErr_Occurred()) SWIG_fail;
29017 }
29018 resultobj = PyInt_FromLong((long)result);
29019 return resultobj;
29020 fail:
29021 return NULL;
29022 }
29023
29024
29025 static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29026 PyObject *resultobj;
29027 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29028 int arg2 ;
29029 wxString result;
29030 PyObject * obj0 = 0 ;
29031 char *kwnames[] = {
29032 (char *) "self",(char *) "n", NULL
29033 };
29034
29035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
29036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29037 {
29038 PyThreadState* __tstate = wxPyBeginAllowThreads();
29039 result = ((wxItemContainer const *)arg1)->GetString(arg2);
29040
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
29044 {
29045 #if wxUSE_UNICODE
29046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29047 #else
29048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29049 #endif
29050 }
29051 return resultobj;
29052 fail:
29053 return NULL;
29054 }
29055
29056
29057 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
29058 PyObject *resultobj;
29059 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29060 wxArrayString result;
29061 PyObject * obj0 = 0 ;
29062 char *kwnames[] = {
29063 (char *) "self", NULL
29064 };
29065
29066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
29067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29068 {
29069 PyThreadState* __tstate = wxPyBeginAllowThreads();
29070 result = ((wxItemContainer const *)arg1)->GetStrings();
29071
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 {
29076 resultobj = wxArrayString2PyList_helper(result);
29077 }
29078 return resultobj;
29079 fail:
29080 return NULL;
29081 }
29082
29083
29084 static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
29085 PyObject *resultobj;
29086 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29087 int arg2 ;
29088 wxString *arg3 = 0 ;
29089 bool temp3 = False ;
29090 PyObject * obj0 = 0 ;
29091 PyObject * obj2 = 0 ;
29092 char *kwnames[] = {
29093 (char *) "self",(char *) "n",(char *) "s", NULL
29094 };
29095
29096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
29097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29098 {
29099 arg3 = wxString_in_helper(obj2);
29100 if (arg3 == NULL) SWIG_fail;
29101 temp3 = True;
29102 }
29103 {
29104 PyThreadState* __tstate = wxPyBeginAllowThreads();
29105 (arg1)->SetString(arg2,(wxString const &)*arg3);
29106
29107 wxPyEndAllowThreads(__tstate);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 }
29110 Py_INCREF(Py_None); resultobj = Py_None;
29111 {
29112 if (temp3)
29113 delete arg3;
29114 }
29115 return resultobj;
29116 fail:
29117 {
29118 if (temp3)
29119 delete arg3;
29120 }
29121 return NULL;
29122 }
29123
29124
29125 static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
29126 PyObject *resultobj;
29127 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29128 wxString *arg2 = 0 ;
29129 int result;
29130 bool temp2 = False ;
29131 PyObject * obj0 = 0 ;
29132 PyObject * obj1 = 0 ;
29133 char *kwnames[] = {
29134 (char *) "self",(char *) "s", NULL
29135 };
29136
29137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
29138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29139 {
29140 arg2 = wxString_in_helper(obj1);
29141 if (arg2 == NULL) SWIG_fail;
29142 temp2 = True;
29143 }
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
29147
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 resultobj = PyInt_FromLong((long)result);
29152 {
29153 if (temp2)
29154 delete arg2;
29155 }
29156 return resultobj;
29157 fail:
29158 {
29159 if (temp2)
29160 delete arg2;
29161 }
29162 return NULL;
29163 }
29164
29165
29166 static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
29167 PyObject *resultobj;
29168 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29169 int arg2 ;
29170 PyObject * obj0 = 0 ;
29171 char *kwnames[] = {
29172 (char *) "self",(char *) "n", NULL
29173 };
29174
29175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
29176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29177 {
29178 PyThreadState* __tstate = wxPyBeginAllowThreads();
29179 (arg1)->Select(arg2);
29180
29181 wxPyEndAllowThreads(__tstate);
29182 if (PyErr_Occurred()) SWIG_fail;
29183 }
29184 Py_INCREF(Py_None); resultobj = Py_None;
29185 return resultobj;
29186 fail:
29187 return NULL;
29188 }
29189
29190
29191 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29192 PyObject *resultobj;
29193 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29194 int result;
29195 PyObject * obj0 = 0 ;
29196 char *kwnames[] = {
29197 (char *) "self", NULL
29198 };
29199
29200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
29201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 result = (int)((wxItemContainer const *)arg1)->GetSelection();
29205
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 resultobj = PyInt_FromLong((long)result);
29210 return resultobj;
29211 fail:
29212 return NULL;
29213 }
29214
29215
29216 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
29217 PyObject *resultobj;
29218 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29219 wxString result;
29220 PyObject * obj0 = 0 ;
29221 char *kwnames[] = {
29222 (char *) "self", NULL
29223 };
29224
29225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
29226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29227 {
29228 PyThreadState* __tstate = wxPyBeginAllowThreads();
29229 result = ((wxItemContainer const *)arg1)->GetStringSelection();
29230
29231 wxPyEndAllowThreads(__tstate);
29232 if (PyErr_Occurred()) SWIG_fail;
29233 }
29234 {
29235 #if wxUSE_UNICODE
29236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29237 #else
29238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29239 #endif
29240 }
29241 return resultobj;
29242 fail:
29243 return NULL;
29244 }
29245
29246
29247 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29248 PyObject *resultobj;
29249 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29250 int arg2 ;
29251 PyObject *result;
29252 PyObject * obj0 = 0 ;
29253 char *kwnames[] = {
29254 (char *) "self",(char *) "n", NULL
29255 };
29256
29257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
29258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29259 {
29260 PyThreadState* __tstate = wxPyBeginAllowThreads();
29261 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
29262
29263 wxPyEndAllowThreads(__tstate);
29264 if (PyErr_Occurred()) SWIG_fail;
29265 }
29266 resultobj = result;
29267 return resultobj;
29268 fail:
29269 return NULL;
29270 }
29271
29272
29273 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29274 PyObject *resultobj;
29275 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29276 int arg2 ;
29277 PyObject *arg3 = (PyObject *) 0 ;
29278 PyObject * obj0 = 0 ;
29279 PyObject * obj2 = 0 ;
29280 char *kwnames[] = {
29281 (char *) "self",(char *) "n",(char *) "clientData", NULL
29282 };
29283
29284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
29285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29286 arg3 = obj2;
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 wxItemContainer_SetClientData(arg1,arg2,arg3);
29290
29291 wxPyEndAllowThreads(__tstate);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 }
29294 Py_INCREF(Py_None); resultobj = Py_None;
29295 return resultobj;
29296 fail:
29297 return NULL;
29298 }
29299
29300
29301 static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
29302 PyObject *obj;
29303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29304 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
29305 Py_INCREF(obj);
29306 return Py_BuildValue((char *)"");
29307 }
29308 static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
29309 PyObject *obj;
29310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29311 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
29312 Py_INCREF(obj);
29313 return Py_BuildValue((char *)"");
29314 }
29315 static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29316 PyObject *resultobj;
29317 wxSizerItem *result;
29318 char *kwnames[] = {
29319 NULL
29320 };
29321
29322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
29323 {
29324 PyThreadState* __tstate = wxPyBeginAllowThreads();
29325 result = (wxSizerItem *)new wxSizerItem();
29326
29327 wxPyEndAllowThreads(__tstate);
29328 if (PyErr_Occurred()) SWIG_fail;
29329 }
29330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29331 return resultobj;
29332 fail:
29333 return NULL;
29334 }
29335
29336
29337 static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29338 PyObject *resultobj;
29339 int arg1 ;
29340 int arg2 ;
29341 int arg3 ;
29342 int arg4 ;
29343 int arg5 ;
29344 wxObject *arg6 = (wxObject *) 0 ;
29345 wxSizerItem *result;
29346 PyObject * obj5 = 0 ;
29347 char *kwnames[] = {
29348 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29349 };
29350
29351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29352 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29356
29357 wxPyEndAllowThreads(__tstate);
29358 if (PyErr_Occurred()) SWIG_fail;
29359 }
29360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29361 return resultobj;
29362 fail:
29363 return NULL;
29364 }
29365
29366
29367 static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29368 PyObject *resultobj;
29369 wxWindow *arg1 = (wxWindow *) 0 ;
29370 int arg2 ;
29371 int arg3 ;
29372 int arg4 ;
29373 wxObject *arg5 = (wxObject *) 0 ;
29374 wxSizerItem *result;
29375 PyObject * obj0 = 0 ;
29376 PyObject * obj4 = 0 ;
29377 char *kwnames[] = {
29378 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29379 };
29380
29381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29383 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29384 {
29385 PyThreadState* __tstate = wxPyBeginAllowThreads();
29386 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29387
29388 wxPyEndAllowThreads(__tstate);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 }
29391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29392 return resultobj;
29393 fail:
29394 return NULL;
29395 }
29396
29397
29398 static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29399 PyObject *resultobj;
29400 wxSizer *arg1 = (wxSizer *) 0 ;
29401 int arg2 ;
29402 int arg3 ;
29403 int arg4 ;
29404 wxObject *arg5 = (wxObject *) 0 ;
29405 wxSizerItem *result;
29406 PyObject * obj0 = 0 ;
29407 PyObject * obj4 = 0 ;
29408 char *kwnames[] = {
29409 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29410 };
29411
29412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29414 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29415 {
29416 PyThreadState* __tstate = wxPyBeginAllowThreads();
29417 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29418
29419 wxPyEndAllowThreads(__tstate);
29420 if (PyErr_Occurred()) SWIG_fail;
29421 }
29422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29423 return resultobj;
29424 fail:
29425 return NULL;
29426 }
29427
29428
29429 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29430 PyObject *resultobj;
29431 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29432 PyObject * obj0 = 0 ;
29433 char *kwnames[] = {
29434 (char *) "self", NULL
29435 };
29436
29437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 (arg1)->DeleteWindows();
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 Py_INCREF(Py_None); resultobj = Py_None;
29447 return resultobj;
29448 fail:
29449 return NULL;
29450 }
29451
29452
29453 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29454 PyObject *resultobj;
29455 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29456 PyObject * obj0 = 0 ;
29457 char *kwnames[] = {
29458 (char *) "self", NULL
29459 };
29460
29461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29463 {
29464 PyThreadState* __tstate = wxPyBeginAllowThreads();
29465 (arg1)->DetachSizer();
29466
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 Py_INCREF(Py_None); resultobj = Py_None;
29471 return resultobj;
29472 fail:
29473 return NULL;
29474 }
29475
29476
29477 static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29478 PyObject *resultobj;
29479 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29480 wxSize result;
29481 PyObject * obj0 = 0 ;
29482 char *kwnames[] = {
29483 (char *) "self", NULL
29484 };
29485
29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29488 {
29489 PyThreadState* __tstate = wxPyBeginAllowThreads();
29490 result = (arg1)->GetSize();
29491
29492 wxPyEndAllowThreads(__tstate);
29493 if (PyErr_Occurred()) SWIG_fail;
29494 }
29495 {
29496 wxSize * resultptr;
29497 resultptr = new wxSize((wxSize &) result);
29498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29499 }
29500 return resultobj;
29501 fail:
29502 return NULL;
29503 }
29504
29505
29506 static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29507 PyObject *resultobj;
29508 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29509 wxSize result;
29510 PyObject * obj0 = 0 ;
29511 char *kwnames[] = {
29512 (char *) "self", NULL
29513 };
29514
29515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29517 {
29518 PyThreadState* __tstate = wxPyBeginAllowThreads();
29519 result = (arg1)->CalcMin();
29520
29521 wxPyEndAllowThreads(__tstate);
29522 if (PyErr_Occurred()) SWIG_fail;
29523 }
29524 {
29525 wxSize * resultptr;
29526 resultptr = new wxSize((wxSize &) result);
29527 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29528 }
29529 return resultobj;
29530 fail:
29531 return NULL;
29532 }
29533
29534
29535 static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29536 PyObject *resultobj;
29537 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29538 wxPoint arg2 ;
29539 wxSize arg3 ;
29540 wxPoint *argp2 ;
29541 wxSize *argp3 ;
29542 PyObject * obj0 = 0 ;
29543 PyObject * obj1 = 0 ;
29544 PyObject * obj2 = 0 ;
29545 char *kwnames[] = {
29546 (char *) "self",(char *) "pos",(char *) "size", NULL
29547 };
29548
29549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29551 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29552 arg2 = *argp2;
29553 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29554 arg3 = *argp3;
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
29557 (arg1)->SetDimension(arg2,arg3);
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 Py_INCREF(Py_None); resultobj = Py_None;
29563 return resultobj;
29564 fail:
29565 return NULL;
29566 }
29567
29568
29569 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29570 PyObject *resultobj;
29571 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29572 wxSize result;
29573 PyObject * obj0 = 0 ;
29574 char *kwnames[] = {
29575 (char *) "self", NULL
29576 };
29577
29578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
29579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29580 {
29581 PyThreadState* __tstate = wxPyBeginAllowThreads();
29582 result = (arg1)->GetMinSize();
29583
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 {
29588 wxSize * resultptr;
29589 resultptr = new wxSize((wxSize &) result);
29590 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29591 }
29592 return resultobj;
29593 fail:
29594 return NULL;
29595 }
29596
29597
29598 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29599 PyObject *resultobj;
29600 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29601 int arg2 ;
29602 int arg3 ;
29603 PyObject * obj0 = 0 ;
29604 char *kwnames[] = {
29605 (char *) "self",(char *) "x",(char *) "y", NULL
29606 };
29607
29608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29610 {
29611 PyThreadState* __tstate = wxPyBeginAllowThreads();
29612 (arg1)->SetInitSize(arg2,arg3);
29613
29614 wxPyEndAllowThreads(__tstate);
29615 if (PyErr_Occurred()) SWIG_fail;
29616 }
29617 Py_INCREF(Py_None); resultobj = Py_None;
29618 return resultobj;
29619 fail:
29620 return NULL;
29621 }
29622
29623
29624 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29625 PyObject *resultobj;
29626 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29627 int arg2 ;
29628 int arg3 ;
29629 PyObject * obj0 = 0 ;
29630 char *kwnames[] = {
29631 (char *) "self",(char *) "width",(char *) "height", NULL
29632 };
29633
29634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29636 {
29637 PyThreadState* __tstate = wxPyBeginAllowThreads();
29638 (arg1)->SetRatio(arg2,arg3);
29639
29640 wxPyEndAllowThreads(__tstate);
29641 if (PyErr_Occurred()) SWIG_fail;
29642 }
29643 Py_INCREF(Py_None); resultobj = Py_None;
29644 return resultobj;
29645 fail:
29646 return NULL;
29647 }
29648
29649
29650 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29651 PyObject *resultobj;
29652 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29653 wxSize arg2 ;
29654 wxSize *argp2 ;
29655 PyObject * obj0 = 0 ;
29656 PyObject * obj1 = 0 ;
29657 char *kwnames[] = {
29658 (char *) "self",(char *) "size", NULL
29659 };
29660
29661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29663 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29664 arg2 = *argp2;
29665 {
29666 PyThreadState* __tstate = wxPyBeginAllowThreads();
29667 (arg1)->SetRatio(arg2);
29668
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 Py_INCREF(Py_None); resultobj = Py_None;
29673 return resultobj;
29674 fail:
29675 return NULL;
29676 }
29677
29678
29679 static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29680 PyObject *resultobj;
29681 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29682 float arg2 ;
29683 PyObject * obj0 = 0 ;
29684 char *kwnames[] = {
29685 (char *) "self",(char *) "ratio", NULL
29686 };
29687
29688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29690 {
29691 PyThreadState* __tstate = wxPyBeginAllowThreads();
29692 (arg1)->SetRatio(arg2);
29693
29694 wxPyEndAllowThreads(__tstate);
29695 if (PyErr_Occurred()) SWIG_fail;
29696 }
29697 Py_INCREF(Py_None); resultobj = Py_None;
29698 return resultobj;
29699 fail:
29700 return NULL;
29701 }
29702
29703
29704 static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29705 PyObject *resultobj;
29706 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29707 float result;
29708 PyObject * obj0 = 0 ;
29709 char *kwnames[] = {
29710 (char *) "self", NULL
29711 };
29712
29713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29715 {
29716 PyThreadState* __tstate = wxPyBeginAllowThreads();
29717 result = (float)(arg1)->GetRatio();
29718
29719 wxPyEndAllowThreads(__tstate);
29720 if (PyErr_Occurred()) SWIG_fail;
29721 }
29722 resultobj = PyFloat_FromDouble(result);
29723 return resultobj;
29724 fail:
29725 return NULL;
29726 }
29727
29728
29729 static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29730 PyObject *resultobj;
29731 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29732 bool result;
29733 PyObject * obj0 = 0 ;
29734 char *kwnames[] = {
29735 (char *) "self", NULL
29736 };
29737
29738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 result = (bool)(arg1)->IsWindow();
29743
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 resultobj = PyInt_FromLong((long)result);
29748 return resultobj;
29749 fail:
29750 return NULL;
29751 }
29752
29753
29754 static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29755 PyObject *resultobj;
29756 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29757 bool result;
29758 PyObject * obj0 = 0 ;
29759 char *kwnames[] = {
29760 (char *) "self", NULL
29761 };
29762
29763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 result = (bool)(arg1)->IsSizer();
29768
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 resultobj = PyInt_FromLong((long)result);
29773 return resultobj;
29774 fail:
29775 return NULL;
29776 }
29777
29778
29779 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj;
29781 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29782 bool result;
29783 PyObject * obj0 = 0 ;
29784 char *kwnames[] = {
29785 (char *) "self", NULL
29786 };
29787
29788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 result = (bool)(arg1)->IsSpacer();
29793
29794 wxPyEndAllowThreads(__tstate);
29795 if (PyErr_Occurred()) SWIG_fail;
29796 }
29797 resultobj = PyInt_FromLong((long)result);
29798 return resultobj;
29799 fail:
29800 return NULL;
29801 }
29802
29803
29804 static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29805 PyObject *resultobj;
29806 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29807 int arg2 ;
29808 PyObject * obj0 = 0 ;
29809 char *kwnames[] = {
29810 (char *) "self",(char *) "proportion", NULL
29811 };
29812
29813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29815 {
29816 PyThreadState* __tstate = wxPyBeginAllowThreads();
29817 (arg1)->SetProportion(arg2);
29818
29819 wxPyEndAllowThreads(__tstate);
29820 if (PyErr_Occurred()) SWIG_fail;
29821 }
29822 Py_INCREF(Py_None); resultobj = Py_None;
29823 return resultobj;
29824 fail:
29825 return NULL;
29826 }
29827
29828
29829 static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29830 PyObject *resultobj;
29831 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29832 int result;
29833 PyObject * obj0 = 0 ;
29834 char *kwnames[] = {
29835 (char *) "self", NULL
29836 };
29837
29838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29840 {
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 result = (int)(arg1)->GetProportion();
29843
29844 wxPyEndAllowThreads(__tstate);
29845 if (PyErr_Occurred()) SWIG_fail;
29846 }
29847 resultobj = PyInt_FromLong((long)result);
29848 return resultobj;
29849 fail:
29850 return NULL;
29851 }
29852
29853
29854 static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29855 PyObject *resultobj;
29856 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29857 int arg2 ;
29858 PyObject * obj0 = 0 ;
29859 char *kwnames[] = {
29860 (char *) "self",(char *) "flag", NULL
29861 };
29862
29863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29865 {
29866 PyThreadState* __tstate = wxPyBeginAllowThreads();
29867 (arg1)->SetFlag(arg2);
29868
29869 wxPyEndAllowThreads(__tstate);
29870 if (PyErr_Occurred()) SWIG_fail;
29871 }
29872 Py_INCREF(Py_None); resultobj = Py_None;
29873 return resultobj;
29874 fail:
29875 return NULL;
29876 }
29877
29878
29879 static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29880 PyObject *resultobj;
29881 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29882 int result;
29883 PyObject * obj0 = 0 ;
29884 char *kwnames[] = {
29885 (char *) "self", NULL
29886 };
29887
29888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
29889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29890 {
29891 PyThreadState* __tstate = wxPyBeginAllowThreads();
29892 result = (int)(arg1)->GetFlag();
29893
29894 wxPyEndAllowThreads(__tstate);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 resultobj = PyInt_FromLong((long)result);
29898 return resultobj;
29899 fail:
29900 return NULL;
29901 }
29902
29903
29904 static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29905 PyObject *resultobj;
29906 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29907 int arg2 ;
29908 PyObject * obj0 = 0 ;
29909 char *kwnames[] = {
29910 (char *) "self",(char *) "border", NULL
29911 };
29912
29913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",kwnames,&obj0,&arg2)) goto fail;
29914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29915 {
29916 PyThreadState* __tstate = wxPyBeginAllowThreads();
29917 (arg1)->SetBorder(arg2);
29918
29919 wxPyEndAllowThreads(__tstate);
29920 if (PyErr_Occurred()) SWIG_fail;
29921 }
29922 Py_INCREF(Py_None); resultobj = Py_None;
29923 return resultobj;
29924 fail:
29925 return NULL;
29926 }
29927
29928
29929 static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29930 PyObject *resultobj;
29931 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29932 int result;
29933 PyObject * obj0 = 0 ;
29934 char *kwnames[] = {
29935 (char *) "self", NULL
29936 };
29937
29938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
29939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
29942 result = (int)(arg1)->GetBorder();
29943
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 resultobj = PyInt_FromLong((long)result);
29948 return resultobj;
29949 fail:
29950 return NULL;
29951 }
29952
29953
29954 static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29955 PyObject *resultobj;
29956 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29957 wxWindow *result;
29958 PyObject * obj0 = 0 ;
29959 char *kwnames[] = {
29960 (char *) "self", NULL
29961 };
29962
29963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
29964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (wxWindow *)(arg1)->GetWindow();
29968
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 {
29973 resultobj = wxPyMake_wxObject(result);
29974 }
29975 return resultobj;
29976 fail:
29977 return NULL;
29978 }
29979
29980
29981 static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29982 PyObject *resultobj;
29983 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29984 wxWindow *arg2 = (wxWindow *) 0 ;
29985 PyObject * obj0 = 0 ;
29986 PyObject * obj1 = 0 ;
29987 char *kwnames[] = {
29988 (char *) "self",(char *) "window", NULL
29989 };
29990
29991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
29992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->SetWindow(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
30008 static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30009 PyObject *resultobj;
30010 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30011 wxSizer *result;
30012 PyObject * obj0 = 0 ;
30013 char *kwnames[] = {
30014 (char *) "self", NULL
30015 };
30016
30017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",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 = (wxSizer *)(arg1)->GetSizer();
30022
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 {
30027 resultobj = wxPyMake_wxSizer(result);
30028 }
30029 return resultobj;
30030 fail:
30031 return NULL;
30032 }
30033
30034
30035 static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30036 PyObject *resultobj;
30037 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30038 wxSizer *arg2 = (wxSizer *) 0 ;
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 char *kwnames[] = {
30042 (char *) "self",(char *) "sizer", NULL
30043 };
30044
30045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
30046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30047 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 (arg1)->SetSizer(arg2);
30051
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
30055 Py_INCREF(Py_None); resultobj = Py_None;
30056 return resultobj;
30057 fail:
30058 return NULL;
30059 }
30060
30061
30062 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj;
30064 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30065 wxSize *result;
30066 PyObject * obj0 = 0 ;
30067 char *kwnames[] = {
30068 (char *) "self", NULL
30069 };
30070
30071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
30072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30073 {
30074 PyThreadState* __tstate = wxPyBeginAllowThreads();
30075 {
30076 wxSize const &_result_ref = (arg1)->GetSpacer();
30077 result = (wxSize *) &_result_ref;
30078 }
30079
30080 wxPyEndAllowThreads(__tstate);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 }
30083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
30084 return resultobj;
30085 fail:
30086 return NULL;
30087 }
30088
30089
30090 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
30091 PyObject *resultobj;
30092 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30093 wxSize *arg2 = 0 ;
30094 wxSize temp2 ;
30095 PyObject * obj0 = 0 ;
30096 PyObject * obj1 = 0 ;
30097 char *kwnames[] = {
30098 (char *) "self",(char *) "size", NULL
30099 };
30100
30101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
30102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30103 {
30104 arg2 = &temp2;
30105 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30106 }
30107 {
30108 PyThreadState* __tstate = wxPyBeginAllowThreads();
30109 (arg1)->SetSpacer((wxSize const &)*arg2);
30110
30111 wxPyEndAllowThreads(__tstate);
30112 if (PyErr_Occurred()) SWIG_fail;
30113 }
30114 Py_INCREF(Py_None); resultobj = Py_None;
30115 return resultobj;
30116 fail:
30117 return NULL;
30118 }
30119
30120
30121 static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30122 PyObject *resultobj;
30123 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30124 bool arg2 ;
30125 PyObject * obj0 = 0 ;
30126 PyObject * obj1 = 0 ;
30127 char *kwnames[] = {
30128 (char *) "self",(char *) "show", NULL
30129 };
30130
30131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
30132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30133 arg2 = PyInt_AsLong(obj1) ? true : false;
30134 if (PyErr_Occurred()) SWIG_fail;
30135 {
30136 PyThreadState* __tstate = wxPyBeginAllowThreads();
30137 (arg1)->Show(arg2);
30138
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 Py_INCREF(Py_None); resultobj = Py_None;
30143 return resultobj;
30144 fail:
30145 return NULL;
30146 }
30147
30148
30149 static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30150 PyObject *resultobj;
30151 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30152 bool result;
30153 PyObject * obj0 = 0 ;
30154 char *kwnames[] = {
30155 (char *) "self", NULL
30156 };
30157
30158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
30159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30160 {
30161 PyThreadState* __tstate = wxPyBeginAllowThreads();
30162 result = (bool)(arg1)->IsShown();
30163
30164 wxPyEndAllowThreads(__tstate);
30165 if (PyErr_Occurred()) SWIG_fail;
30166 }
30167 resultobj = PyInt_FromLong((long)result);
30168 return resultobj;
30169 fail:
30170 return NULL;
30171 }
30172
30173
30174 static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30175 PyObject *resultobj;
30176 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30177 wxPoint result;
30178 PyObject * obj0 = 0 ;
30179 char *kwnames[] = {
30180 (char *) "self", NULL
30181 };
30182
30183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
30184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30185 {
30186 PyThreadState* __tstate = wxPyBeginAllowThreads();
30187 result = (arg1)->GetPosition();
30188
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 {
30193 wxPoint * resultptr;
30194 resultptr = new wxPoint((wxPoint &) result);
30195 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30196 }
30197 return resultobj;
30198 fail:
30199 return NULL;
30200 }
30201
30202
30203 static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
30204 PyObject *resultobj;
30205 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
30206 PyObject *result;
30207 PyObject * obj0 = 0 ;
30208 char *kwnames[] = {
30209 (char *) "self", NULL
30210 };
30211
30212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
30213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30214 {
30215 PyThreadState* __tstate = wxPyBeginAllowThreads();
30216 result = (PyObject *)wxSizerItem_GetUserData(arg1);
30217
30218 wxPyEndAllowThreads(__tstate);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 }
30221 resultobj = result;
30222 return resultobj;
30223 fail:
30224 return NULL;
30225 }
30226
30227
30228 static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
30229 PyObject *obj;
30230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30231 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
30232 Py_INCREF(obj);
30233 return Py_BuildValue((char *)"");
30234 }
30235 static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30236 PyObject *resultobj;
30237 wxSizer *arg1 = (wxSizer *) 0 ;
30238 PyObject *arg2 = (PyObject *) 0 ;
30239 PyObject * obj0 = 0 ;
30240 PyObject * obj1 = 0 ;
30241 char *kwnames[] = {
30242 (char *) "self",(char *) "_self", NULL
30243 };
30244
30245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
30246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30247 arg2 = obj1;
30248 {
30249 PyThreadState* __tstate = wxPyBeginAllowThreads();
30250 wxSizer__setOORInfo(arg1,arg2);
30251
30252 wxPyEndAllowThreads(__tstate);
30253 if (PyErr_Occurred()) SWIG_fail;
30254 }
30255 Py_INCREF(Py_None); resultobj = Py_None;
30256 return resultobj;
30257 fail:
30258 return NULL;
30259 }
30260
30261
30262 static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
30263 PyObject *resultobj;
30264 wxSizer *arg1 = (wxSizer *) 0 ;
30265 PyObject *arg2 = (PyObject *) 0 ;
30266 int arg3 = (int) 0 ;
30267 int arg4 = (int) 0 ;
30268 int arg5 = (int) 0 ;
30269 PyObject *arg6 = (PyObject *) NULL ;
30270 PyObject * obj0 = 0 ;
30271 PyObject * obj1 = 0 ;
30272 PyObject * obj5 = 0 ;
30273 char *kwnames[] = {
30274 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30275 };
30276
30277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30279 arg2 = obj1;
30280 if (obj5) {
30281 arg6 = obj5;
30282 }
30283 {
30284 PyThreadState* __tstate = wxPyBeginAllowThreads();
30285 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
30286
30287 wxPyEndAllowThreads(__tstate);
30288 if (PyErr_Occurred()) SWIG_fail;
30289 }
30290 Py_INCREF(Py_None); resultobj = Py_None;
30291 return resultobj;
30292 fail:
30293 return NULL;
30294 }
30295
30296
30297 static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30298 PyObject *resultobj;
30299 wxSizer *arg1 = (wxSizer *) 0 ;
30300 int arg2 ;
30301 PyObject *arg3 = (PyObject *) 0 ;
30302 int arg4 = (int) 0 ;
30303 int arg5 = (int) 0 ;
30304 int arg6 = (int) 0 ;
30305 PyObject *arg7 = (PyObject *) NULL ;
30306 PyObject * obj0 = 0 ;
30307 PyObject * obj2 = 0 ;
30308 PyObject * obj6 = 0 ;
30309 char *kwnames[] = {
30310 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30311 };
30312
30313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
30314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30315 arg3 = obj2;
30316 if (obj6) {
30317 arg7 = obj6;
30318 }
30319 {
30320 PyThreadState* __tstate = wxPyBeginAllowThreads();
30321 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
30322
30323 wxPyEndAllowThreads(__tstate);
30324 if (PyErr_Occurred()) SWIG_fail;
30325 }
30326 Py_INCREF(Py_None); resultobj = Py_None;
30327 return resultobj;
30328 fail:
30329 return NULL;
30330 }
30331
30332
30333 static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30334 PyObject *resultobj;
30335 wxSizer *arg1 = (wxSizer *) 0 ;
30336 PyObject *arg2 = (PyObject *) 0 ;
30337 int arg3 = (int) 0 ;
30338 int arg4 = (int) 0 ;
30339 int arg5 = (int) 0 ;
30340 PyObject *arg6 = (PyObject *) NULL ;
30341 PyObject * obj0 = 0 ;
30342 PyObject * obj1 = 0 ;
30343 PyObject * obj5 = 0 ;
30344 char *kwnames[] = {
30345 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30346 };
30347
30348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30350 arg2 = obj1;
30351 if (obj5) {
30352 arg6 = obj5;
30353 }
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30357
30358 wxPyEndAllowThreads(__tstate);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 }
30361 Py_INCREF(Py_None); resultobj = Py_None;
30362 return resultobj;
30363 fail:
30364 return NULL;
30365 }
30366
30367
30368 static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30369 PyObject *resultobj;
30370 wxSizer *arg1 = (wxSizer *) 0 ;
30371 PyObject *arg2 = (PyObject *) 0 ;
30372 bool result;
30373 PyObject * obj0 = 0 ;
30374 PyObject * obj1 = 0 ;
30375 char *kwnames[] = {
30376 (char *) "self",(char *) "item", NULL
30377 };
30378
30379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30381 arg2 = obj1;
30382 {
30383 PyThreadState* __tstate = wxPyBeginAllowThreads();
30384 result = (bool)wxSizer_Remove(arg1,arg2);
30385
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 resultobj = PyInt_FromLong((long)result);
30390 return resultobj;
30391 fail:
30392 return NULL;
30393 }
30394
30395
30396 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30397 PyObject *resultobj;
30398 wxSizer *arg1 = (wxSizer *) 0 ;
30399 PyObject *arg2 = (PyObject *) 0 ;
30400 wxSize *arg3 = 0 ;
30401 wxSize temp3 ;
30402 PyObject * obj0 = 0 ;
30403 PyObject * obj1 = 0 ;
30404 PyObject * obj2 = 0 ;
30405 char *kwnames[] = {
30406 (char *) "self",(char *) "item",(char *) "size", NULL
30407 };
30408
30409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30411 arg2 = obj1;
30412 {
30413 arg3 = &temp3;
30414 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
30415 }
30416 {
30417 PyThreadState* __tstate = wxPyBeginAllowThreads();
30418 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
30419
30420 wxPyEndAllowThreads(__tstate);
30421 if (PyErr_Occurred()) SWIG_fail;
30422 }
30423 Py_INCREF(Py_None); resultobj = Py_None;
30424 return resultobj;
30425 fail:
30426 return NULL;
30427 }
30428
30429
30430 static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30431 PyObject *resultobj;
30432 wxSizer *arg1 = (wxSizer *) 0 ;
30433 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30434 PyObject * obj0 = 0 ;
30435 PyObject * obj1 = 0 ;
30436 char *kwnames[] = {
30437 (char *) "self",(char *) "item", NULL
30438 };
30439
30440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30443 {
30444 PyThreadState* __tstate = wxPyBeginAllowThreads();
30445 (arg1)->Add(arg2);
30446
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 Py_INCREF(Py_None); resultobj = Py_None;
30451 return resultobj;
30452 fail:
30453 return NULL;
30454 }
30455
30456
30457 static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30458 PyObject *resultobj;
30459 wxSizer *arg1 = (wxSizer *) 0 ;
30460 size_t arg2 ;
30461 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30462 PyObject * obj0 = 0 ;
30463 PyObject * obj1 = 0 ;
30464 PyObject * obj2 = 0 ;
30465 char *kwnames[] = {
30466 (char *) "self",(char *) "index",(char *) "item", NULL
30467 };
30468
30469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30471 arg2 = (size_t) PyInt_AsLong(obj1);
30472 if (PyErr_Occurred()) SWIG_fail;
30473 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30474 {
30475 PyThreadState* __tstate = wxPyBeginAllowThreads();
30476 (arg1)->Insert(arg2,arg3);
30477
30478 wxPyEndAllowThreads(__tstate);
30479 if (PyErr_Occurred()) SWIG_fail;
30480 }
30481 Py_INCREF(Py_None); resultobj = Py_None;
30482 return resultobj;
30483 fail:
30484 return NULL;
30485 }
30486
30487
30488 static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30489 PyObject *resultobj;
30490 wxSizer *arg1 = (wxSizer *) 0 ;
30491 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30492 PyObject * obj0 = 0 ;
30493 PyObject * obj1 = 0 ;
30494 char *kwnames[] = {
30495 (char *) "self",(char *) "item", NULL
30496 };
30497
30498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30501 {
30502 PyThreadState* __tstate = wxPyBeginAllowThreads();
30503 (arg1)->Prepend(arg2);
30504
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
30508 Py_INCREF(Py_None); resultobj = Py_None;
30509 return resultobj;
30510 fail:
30511 return NULL;
30512 }
30513
30514
30515 static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30516 PyObject *resultobj;
30517 wxSizer *arg1 = (wxSizer *) 0 ;
30518 int arg2 ;
30519 int arg3 ;
30520 int arg4 ;
30521 int arg5 ;
30522 PyObject * obj0 = 0 ;
30523 char *kwnames[] = {
30524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30525 };
30526
30527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30529 {
30530 PyThreadState* __tstate = wxPyBeginAllowThreads();
30531 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30532
30533 wxPyEndAllowThreads(__tstate);
30534 if (PyErr_Occurred()) SWIG_fail;
30535 }
30536 Py_INCREF(Py_None); resultobj = Py_None;
30537 return resultobj;
30538 fail:
30539 return NULL;
30540 }
30541
30542
30543 static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30544 PyObject *resultobj;
30545 wxSizer *arg1 = (wxSizer *) 0 ;
30546 wxSize *arg2 = 0 ;
30547 wxSize temp2 ;
30548 PyObject * obj0 = 0 ;
30549 PyObject * obj1 = 0 ;
30550 char *kwnames[] = {
30551 (char *) "self",(char *) "size", NULL
30552 };
30553
30554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30556 {
30557 arg2 = &temp2;
30558 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30559 }
30560 {
30561 PyThreadState* __tstate = wxPyBeginAllowThreads();
30562 (arg1)->SetMinSize((wxSize const &)*arg2);
30563
30564 wxPyEndAllowThreads(__tstate);
30565 if (PyErr_Occurred()) SWIG_fail;
30566 }
30567 Py_INCREF(Py_None); resultobj = Py_None;
30568 return resultobj;
30569 fail:
30570 return NULL;
30571 }
30572
30573
30574 static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30575 PyObject *resultobj;
30576 wxSizer *arg1 = (wxSizer *) 0 ;
30577 wxSize result;
30578 PyObject * obj0 = 0 ;
30579 char *kwnames[] = {
30580 (char *) "self", NULL
30581 };
30582
30583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30585 {
30586 PyThreadState* __tstate = wxPyBeginAllowThreads();
30587 result = (arg1)->GetSize();
30588
30589 wxPyEndAllowThreads(__tstate);
30590 if (PyErr_Occurred()) SWIG_fail;
30591 }
30592 {
30593 wxSize * resultptr;
30594 resultptr = new wxSize((wxSize &) result);
30595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30596 }
30597 return resultobj;
30598 fail:
30599 return NULL;
30600 }
30601
30602
30603 static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30604 PyObject *resultobj;
30605 wxSizer *arg1 = (wxSizer *) 0 ;
30606 wxPoint result;
30607 PyObject * obj0 = 0 ;
30608 char *kwnames[] = {
30609 (char *) "self", NULL
30610 };
30611
30612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30614 {
30615 PyThreadState* __tstate = wxPyBeginAllowThreads();
30616 result = (arg1)->GetPosition();
30617
30618 wxPyEndAllowThreads(__tstate);
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 {
30622 wxPoint * resultptr;
30623 resultptr = new wxPoint((wxPoint &) result);
30624 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30625 }
30626 return resultobj;
30627 fail:
30628 return NULL;
30629 }
30630
30631
30632 static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30633 PyObject *resultobj;
30634 wxSizer *arg1 = (wxSizer *) 0 ;
30635 wxSize result;
30636 PyObject * obj0 = 0 ;
30637 char *kwnames[] = {
30638 (char *) "self", NULL
30639 };
30640
30641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30643 {
30644 PyThreadState* __tstate = wxPyBeginAllowThreads();
30645 result = (arg1)->GetMinSize();
30646
30647 wxPyEndAllowThreads(__tstate);
30648 if (PyErr_Occurred()) SWIG_fail;
30649 }
30650 {
30651 wxSize * resultptr;
30652 resultptr = new wxSize((wxSize &) result);
30653 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30654 }
30655 return resultobj;
30656 fail:
30657 return NULL;
30658 }
30659
30660
30661 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30662 PyObject *resultobj;
30663 wxSizer *arg1 = (wxSizer *) 0 ;
30664 PyObject * obj0 = 0 ;
30665 char *kwnames[] = {
30666 (char *) "self", NULL
30667 };
30668
30669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 (arg1)->RecalcSizes();
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 Py_INCREF(Py_None); resultobj = Py_None;
30679 return resultobj;
30680 fail:
30681 return NULL;
30682 }
30683
30684
30685 static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30686 PyObject *resultobj;
30687 wxSizer *arg1 = (wxSizer *) 0 ;
30688 wxSize result;
30689 PyObject * obj0 = 0 ;
30690 char *kwnames[] = {
30691 (char *) "self", NULL
30692 };
30693
30694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30696 {
30697 PyThreadState* __tstate = wxPyBeginAllowThreads();
30698 result = (arg1)->CalcMin();
30699
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 {
30704 wxSize * resultptr;
30705 resultptr = new wxSize((wxSize &) result);
30706 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30707 }
30708 return resultobj;
30709 fail:
30710 return NULL;
30711 }
30712
30713
30714 static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30715 PyObject *resultobj;
30716 wxSizer *arg1 = (wxSizer *) 0 ;
30717 PyObject * obj0 = 0 ;
30718 char *kwnames[] = {
30719 (char *) "self", NULL
30720 };
30721
30722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30724 {
30725 PyThreadState* __tstate = wxPyBeginAllowThreads();
30726 (arg1)->Layout();
30727
30728 wxPyEndAllowThreads(__tstate);
30729 if (PyErr_Occurred()) SWIG_fail;
30730 }
30731 Py_INCREF(Py_None); resultobj = Py_None;
30732 return resultobj;
30733 fail:
30734 return NULL;
30735 }
30736
30737
30738 static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30739 PyObject *resultobj;
30740 wxSizer *arg1 = (wxSizer *) 0 ;
30741 wxWindow *arg2 = (wxWindow *) 0 ;
30742 wxSize result;
30743 PyObject * obj0 = 0 ;
30744 PyObject * obj1 = 0 ;
30745 char *kwnames[] = {
30746 (char *) "self",(char *) "window", NULL
30747 };
30748
30749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30752 {
30753 PyThreadState* __tstate = wxPyBeginAllowThreads();
30754 result = (arg1)->Fit(arg2);
30755
30756 wxPyEndAllowThreads(__tstate);
30757 if (PyErr_Occurred()) SWIG_fail;
30758 }
30759 {
30760 wxSize * resultptr;
30761 resultptr = new wxSize((wxSize &) result);
30762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30763 }
30764 return resultobj;
30765 fail:
30766 return NULL;
30767 }
30768
30769
30770 static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30771 PyObject *resultobj;
30772 wxSizer *arg1 = (wxSizer *) 0 ;
30773 wxWindow *arg2 = (wxWindow *) 0 ;
30774 PyObject * obj0 = 0 ;
30775 PyObject * obj1 = 0 ;
30776 char *kwnames[] = {
30777 (char *) "self",(char *) "window", NULL
30778 };
30779
30780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30783 {
30784 PyThreadState* __tstate = wxPyBeginAllowThreads();
30785 (arg1)->FitInside(arg2);
30786
30787 wxPyEndAllowThreads(__tstate);
30788 if (PyErr_Occurred()) SWIG_fail;
30789 }
30790 Py_INCREF(Py_None); resultobj = Py_None;
30791 return resultobj;
30792 fail:
30793 return NULL;
30794 }
30795
30796
30797 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30798 PyObject *resultobj;
30799 wxSizer *arg1 = (wxSizer *) 0 ;
30800 wxWindow *arg2 = (wxWindow *) 0 ;
30801 PyObject * obj0 = 0 ;
30802 PyObject * obj1 = 0 ;
30803 char *kwnames[] = {
30804 (char *) "self",(char *) "window", NULL
30805 };
30806
30807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30810 {
30811 PyThreadState* __tstate = wxPyBeginAllowThreads();
30812 (arg1)->SetSizeHints(arg2);
30813
30814 wxPyEndAllowThreads(__tstate);
30815 if (PyErr_Occurred()) SWIG_fail;
30816 }
30817 Py_INCREF(Py_None); resultobj = Py_None;
30818 return resultobj;
30819 fail:
30820 return NULL;
30821 }
30822
30823
30824 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30825 PyObject *resultobj;
30826 wxSizer *arg1 = (wxSizer *) 0 ;
30827 wxWindow *arg2 = (wxWindow *) 0 ;
30828 PyObject * obj0 = 0 ;
30829 PyObject * obj1 = 0 ;
30830 char *kwnames[] = {
30831 (char *) "self",(char *) "window", NULL
30832 };
30833
30834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30837 {
30838 PyThreadState* __tstate = wxPyBeginAllowThreads();
30839 (arg1)->SetVirtualSizeHints(arg2);
30840
30841 wxPyEndAllowThreads(__tstate);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
30844 Py_INCREF(Py_None); resultobj = Py_None;
30845 return resultobj;
30846 fail:
30847 return NULL;
30848 }
30849
30850
30851 static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30852 PyObject *resultobj;
30853 wxSizer *arg1 = (wxSizer *) 0 ;
30854 bool arg2 = (bool) False ;
30855 PyObject * obj0 = 0 ;
30856 PyObject * obj1 = 0 ;
30857 char *kwnames[] = {
30858 (char *) "self",(char *) "delete_windows", NULL
30859 };
30860
30861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30863 if (obj1) {
30864 arg2 = PyInt_AsLong(obj1) ? true : false;
30865 if (PyErr_Occurred()) SWIG_fail;
30866 }
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 (arg1)->Clear(arg2);
30870
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 Py_INCREF(Py_None); resultobj = Py_None;
30875 return resultobj;
30876 fail:
30877 return NULL;
30878 }
30879
30880
30881 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
30882 PyObject *resultobj;
30883 wxSizer *arg1 = (wxSizer *) 0 ;
30884 PyObject * obj0 = 0 ;
30885 char *kwnames[] = {
30886 (char *) "self", NULL
30887 };
30888
30889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
30890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30891 {
30892 PyThreadState* __tstate = wxPyBeginAllowThreads();
30893 (arg1)->DeleteWindows();
30894
30895 wxPyEndAllowThreads(__tstate);
30896 if (PyErr_Occurred()) SWIG_fail;
30897 }
30898 Py_INCREF(Py_None); resultobj = Py_None;
30899 return resultobj;
30900 fail:
30901 return NULL;
30902 }
30903
30904
30905 static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
30906 PyObject *resultobj;
30907 wxSizer *arg1 = (wxSizer *) 0 ;
30908 PyObject *result;
30909 PyObject * obj0 = 0 ;
30910 char *kwnames[] = {
30911 (char *) "self", NULL
30912 };
30913
30914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
30915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30916 {
30917 PyThreadState* __tstate = wxPyBeginAllowThreads();
30918 result = (PyObject *)wxSizer_GetChildren(arg1);
30919
30920 wxPyEndAllowThreads(__tstate);
30921 if (PyErr_Occurred()) SWIG_fail;
30922 }
30923 resultobj = result;
30924 return resultobj;
30925 fail:
30926 return NULL;
30927 }
30928
30929
30930 static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30931 PyObject *resultobj;
30932 wxSizer *arg1 = (wxSizer *) 0 ;
30933 PyObject *arg2 = (PyObject *) 0 ;
30934 bool arg3 = (bool) True ;
30935 PyObject * obj0 = 0 ;
30936 PyObject * obj1 = 0 ;
30937 PyObject * obj2 = 0 ;
30938 char *kwnames[] = {
30939 (char *) "self",(char *) "item",(char *) "show", NULL
30940 };
30941
30942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
30943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30944 arg2 = obj1;
30945 if (obj2) {
30946 arg3 = PyInt_AsLong(obj2) ? true : false;
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 {
30950 PyThreadState* __tstate = wxPyBeginAllowThreads();
30951 wxSizer_Show(arg1,arg2,arg3);
30952
30953 wxPyEndAllowThreads(__tstate);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 }
30956 Py_INCREF(Py_None); resultobj = Py_None;
30957 return resultobj;
30958 fail:
30959 return NULL;
30960 }
30961
30962
30963 static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30964 PyObject *resultobj;
30965 wxSizer *arg1 = (wxSizer *) 0 ;
30966 PyObject *arg2 = (PyObject *) 0 ;
30967 PyObject * obj0 = 0 ;
30968 PyObject * obj1 = 0 ;
30969 char *kwnames[] = {
30970 (char *) "self",(char *) "item", NULL
30971 };
30972
30973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
30974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30975 arg2 = obj1;
30976 {
30977 PyThreadState* __tstate = wxPyBeginAllowThreads();
30978 wxSizer_Hide(arg1,arg2);
30979
30980 wxPyEndAllowThreads(__tstate);
30981 if (PyErr_Occurred()) SWIG_fail;
30982 }
30983 Py_INCREF(Py_None); resultobj = Py_None;
30984 return resultobj;
30985 fail:
30986 return NULL;
30987 }
30988
30989
30990 static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30991 PyObject *resultobj;
30992 wxSizer *arg1 = (wxSizer *) 0 ;
30993 PyObject *arg2 = (PyObject *) 0 ;
30994 bool result;
30995 PyObject * obj0 = 0 ;
30996 PyObject * obj1 = 0 ;
30997 char *kwnames[] = {
30998 (char *) "self",(char *) "item", NULL
30999 };
31000
31001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
31002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31003 arg2 = obj1;
31004 {
31005 PyThreadState* __tstate = wxPyBeginAllowThreads();
31006 result = (bool)wxSizer_IsShown(arg1,arg2);
31007
31008 wxPyEndAllowThreads(__tstate);
31009 if (PyErr_Occurred()) SWIG_fail;
31010 }
31011 resultobj = PyInt_FromLong((long)result);
31012 return resultobj;
31013 fail:
31014 return NULL;
31015 }
31016
31017
31018 static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
31019 PyObject *resultobj;
31020 wxSizer *arg1 = (wxSizer *) 0 ;
31021 bool arg2 ;
31022 PyObject * obj0 = 0 ;
31023 PyObject * obj1 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "self",(char *) "show", NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
31029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31030 arg2 = PyInt_AsLong(obj1) ? true : false;
31031 if (PyErr_Occurred()) SWIG_fail;
31032 {
31033 PyThreadState* __tstate = wxPyBeginAllowThreads();
31034 (arg1)->ShowItems(arg2);
31035
31036 wxPyEndAllowThreads(__tstate);
31037 if (PyErr_Occurred()) SWIG_fail;
31038 }
31039 Py_INCREF(Py_None); resultobj = Py_None;
31040 return resultobj;
31041 fail:
31042 return NULL;
31043 }
31044
31045
31046 static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
31047 PyObject *obj;
31048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31049 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
31050 Py_INCREF(obj);
31051 return Py_BuildValue((char *)"");
31052 }
31053 static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj;
31055 wxPySizer *result;
31056 char *kwnames[] = {
31057 NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
31061 {
31062 PyThreadState* __tstate = wxPyBeginAllowThreads();
31063 result = (wxPySizer *)new wxPySizer();
31064
31065 wxPyEndAllowThreads(__tstate);
31066 if (PyErr_Occurred()) SWIG_fail;
31067 }
31068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
31069 return resultobj;
31070 fail:
31071 return NULL;
31072 }
31073
31074
31075 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
31076 PyObject *resultobj;
31077 wxPySizer *arg1 = (wxPySizer *) 0 ;
31078 PyObject *arg2 = (PyObject *) 0 ;
31079 PyObject *arg3 = (PyObject *) 0 ;
31080 PyObject * obj0 = 0 ;
31081 PyObject * obj1 = 0 ;
31082 PyObject * obj2 = 0 ;
31083 char *kwnames[] = {
31084 (char *) "self",(char *) "self",(char *) "_class", NULL
31085 };
31086
31087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
31088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31089 arg2 = obj1;
31090 arg3 = obj2;
31091 {
31092 PyThreadState* __tstate = wxPyBeginAllowThreads();
31093 (arg1)->_setCallbackInfo(arg2,arg3);
31094
31095 wxPyEndAllowThreads(__tstate);
31096 if (PyErr_Occurred()) SWIG_fail;
31097 }
31098 Py_INCREF(Py_None); resultobj = Py_None;
31099 return resultobj;
31100 fail:
31101 return NULL;
31102 }
31103
31104
31105 static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
31106 PyObject *obj;
31107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31108 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
31109 Py_INCREF(obj);
31110 return Py_BuildValue((char *)"");
31111 }
31112 static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31113 PyObject *resultobj;
31114 int arg1 = (int) wxHORIZONTAL ;
31115 wxBoxSizer *result;
31116 char *kwnames[] = {
31117 (char *) "orient", NULL
31118 };
31119
31120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
31121 {
31122 PyThreadState* __tstate = wxPyBeginAllowThreads();
31123 result = (wxBoxSizer *)new wxBoxSizer(arg1);
31124
31125 wxPyEndAllowThreads(__tstate);
31126 if (PyErr_Occurred()) SWIG_fail;
31127 }
31128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
31129 return resultobj;
31130 fail:
31131 return NULL;
31132 }
31133
31134
31135 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31136 PyObject *resultobj;
31137 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31138 int result;
31139 PyObject * obj0 = 0 ;
31140 char *kwnames[] = {
31141 (char *) "self", NULL
31142 };
31143
31144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
31145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31146 {
31147 PyThreadState* __tstate = wxPyBeginAllowThreads();
31148 result = (int)(arg1)->GetOrientation();
31149
31150 wxPyEndAllowThreads(__tstate);
31151 if (PyErr_Occurred()) SWIG_fail;
31152 }
31153 resultobj = PyInt_FromLong((long)result);
31154 return resultobj;
31155 fail:
31156 return NULL;
31157 }
31158
31159
31160 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
31161 PyObject *resultobj;
31162 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31163 int arg2 ;
31164 PyObject * obj0 = 0 ;
31165 char *kwnames[] = {
31166 (char *) "self",(char *) "orient", NULL
31167 };
31168
31169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
31170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31171 {
31172 PyThreadState* __tstate = wxPyBeginAllowThreads();
31173 (arg1)->SetOrientation(arg2);
31174
31175 wxPyEndAllowThreads(__tstate);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
31178 Py_INCREF(Py_None); resultobj = Py_None;
31179 return resultobj;
31180 fail:
31181 return NULL;
31182 }
31183
31184
31185 static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31186 PyObject *resultobj;
31187 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31188 PyObject * obj0 = 0 ;
31189 char *kwnames[] = {
31190 (char *) "self", NULL
31191 };
31192
31193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31195 {
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 (arg1)->RecalcSizes();
31198
31199 wxPyEndAllowThreads(__tstate);
31200 if (PyErr_Occurred()) SWIG_fail;
31201 }
31202 Py_INCREF(Py_None); resultobj = Py_None;
31203 return resultobj;
31204 fail:
31205 return NULL;
31206 }
31207
31208
31209 static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31210 PyObject *resultobj;
31211 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
31212 wxSize result;
31213 PyObject * obj0 = 0 ;
31214 char *kwnames[] = {
31215 (char *) "self", NULL
31216 };
31217
31218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 result = (arg1)->CalcMin();
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 {
31228 wxSize * resultptr;
31229 resultptr = new wxSize((wxSize &) result);
31230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31231 }
31232 return resultobj;
31233 fail:
31234 return NULL;
31235 }
31236
31237
31238 static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
31239 PyObject *obj;
31240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31241 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
31242 Py_INCREF(obj);
31243 return Py_BuildValue((char *)"");
31244 }
31245 static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31246 PyObject *resultobj;
31247 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
31248 int arg2 = (int) wxHORIZONTAL ;
31249 wxStaticBoxSizer *result;
31250 PyObject * obj0 = 0 ;
31251 char *kwnames[] = {
31252 (char *) "box",(char *) "orient", NULL
31253 };
31254
31255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
31256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31257 {
31258 PyThreadState* __tstate = wxPyBeginAllowThreads();
31259 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
31260
31261 wxPyEndAllowThreads(__tstate);
31262 if (PyErr_Occurred()) SWIG_fail;
31263 }
31264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
31265 return resultobj;
31266 fail:
31267 return NULL;
31268 }
31269
31270
31271 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
31272 PyObject *resultobj;
31273 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31274 wxStaticBox *result;
31275 PyObject * obj0 = 0 ;
31276 char *kwnames[] = {
31277 (char *) "self", NULL
31278 };
31279
31280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
31281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31282 {
31283 PyThreadState* __tstate = wxPyBeginAllowThreads();
31284 result = (wxStaticBox *)(arg1)->GetStaticBox();
31285
31286 wxPyEndAllowThreads(__tstate);
31287 if (PyErr_Occurred()) SWIG_fail;
31288 }
31289 {
31290 resultobj = wxPyMake_wxObject(result);
31291 }
31292 return resultobj;
31293 fail:
31294 return NULL;
31295 }
31296
31297
31298 static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31299 PyObject *resultobj;
31300 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31301 PyObject * obj0 = 0 ;
31302 char *kwnames[] = {
31303 (char *) "self", NULL
31304 };
31305
31306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31308 {
31309 PyThreadState* __tstate = wxPyBeginAllowThreads();
31310 (arg1)->RecalcSizes();
31311
31312 wxPyEndAllowThreads(__tstate);
31313 if (PyErr_Occurred()) SWIG_fail;
31314 }
31315 Py_INCREF(Py_None); resultobj = Py_None;
31316 return resultobj;
31317 fail:
31318 return NULL;
31319 }
31320
31321
31322 static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31323 PyObject *resultobj;
31324 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31325 wxSize result;
31326 PyObject * obj0 = 0 ;
31327 char *kwnames[] = {
31328 (char *) "self", NULL
31329 };
31330
31331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31333 {
31334 PyThreadState* __tstate = wxPyBeginAllowThreads();
31335 result = (arg1)->CalcMin();
31336
31337 wxPyEndAllowThreads(__tstate);
31338 if (PyErr_Occurred()) SWIG_fail;
31339 }
31340 {
31341 wxSize * resultptr;
31342 resultptr = new wxSize((wxSize &) result);
31343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31344 }
31345 return resultobj;
31346 fail:
31347 return NULL;
31348 }
31349
31350
31351 static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31352 PyObject *obj;
31353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31354 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31355 Py_INCREF(obj);
31356 return Py_BuildValue((char *)"");
31357 }
31358 static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31359 PyObject *resultobj;
31360 int arg1 = (int) 1 ;
31361 int arg2 = (int) 0 ;
31362 int arg3 = (int) 0 ;
31363 int arg4 = (int) 0 ;
31364 wxGridSizer *result;
31365 char *kwnames[] = {
31366 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31367 };
31368
31369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31370 {
31371 PyThreadState* __tstate = wxPyBeginAllowThreads();
31372 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31373
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31378 return resultobj;
31379 fail:
31380 return NULL;
31381 }
31382
31383
31384 static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31385 PyObject *resultobj;
31386 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31387 PyObject * obj0 = 0 ;
31388 char *kwnames[] = {
31389 (char *) "self", NULL
31390 };
31391
31392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31394 {
31395 PyThreadState* __tstate = wxPyBeginAllowThreads();
31396 (arg1)->RecalcSizes();
31397
31398 wxPyEndAllowThreads(__tstate);
31399 if (PyErr_Occurred()) SWIG_fail;
31400 }
31401 Py_INCREF(Py_None); resultobj = Py_None;
31402 return resultobj;
31403 fail:
31404 return NULL;
31405 }
31406
31407
31408 static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31409 PyObject *resultobj;
31410 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31411 wxSize result;
31412 PyObject * obj0 = 0 ;
31413 char *kwnames[] = {
31414 (char *) "self", NULL
31415 };
31416
31417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31419 {
31420 PyThreadState* __tstate = wxPyBeginAllowThreads();
31421 result = (arg1)->CalcMin();
31422
31423 wxPyEndAllowThreads(__tstate);
31424 if (PyErr_Occurred()) SWIG_fail;
31425 }
31426 {
31427 wxSize * resultptr;
31428 resultptr = new wxSize((wxSize &) result);
31429 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31430 }
31431 return resultobj;
31432 fail:
31433 return NULL;
31434 }
31435
31436
31437 static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31438 PyObject *resultobj;
31439 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31440 int arg2 ;
31441 PyObject * obj0 = 0 ;
31442 char *kwnames[] = {
31443 (char *) "self",(char *) "cols", NULL
31444 };
31445
31446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31448 {
31449 PyThreadState* __tstate = wxPyBeginAllowThreads();
31450 (arg1)->SetCols(arg2);
31451
31452 wxPyEndAllowThreads(__tstate);
31453 if (PyErr_Occurred()) SWIG_fail;
31454 }
31455 Py_INCREF(Py_None); resultobj = Py_None;
31456 return resultobj;
31457 fail:
31458 return NULL;
31459 }
31460
31461
31462 static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31463 PyObject *resultobj;
31464 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31465 int arg2 ;
31466 PyObject * obj0 = 0 ;
31467 char *kwnames[] = {
31468 (char *) "self",(char *) "rows", NULL
31469 };
31470
31471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31473 {
31474 PyThreadState* __tstate = wxPyBeginAllowThreads();
31475 (arg1)->SetRows(arg2);
31476
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 Py_INCREF(Py_None); resultobj = Py_None;
31481 return resultobj;
31482 fail:
31483 return NULL;
31484 }
31485
31486
31487 static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31488 PyObject *resultobj;
31489 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31490 int arg2 ;
31491 PyObject * obj0 = 0 ;
31492 char *kwnames[] = {
31493 (char *) "self",(char *) "gap", NULL
31494 };
31495
31496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31498 {
31499 PyThreadState* __tstate = wxPyBeginAllowThreads();
31500 (arg1)->SetVGap(arg2);
31501
31502 wxPyEndAllowThreads(__tstate);
31503 if (PyErr_Occurred()) SWIG_fail;
31504 }
31505 Py_INCREF(Py_None); resultobj = Py_None;
31506 return resultobj;
31507 fail:
31508 return NULL;
31509 }
31510
31511
31512 static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31513 PyObject *resultobj;
31514 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31515 int arg2 ;
31516 PyObject * obj0 = 0 ;
31517 char *kwnames[] = {
31518 (char *) "self",(char *) "gap", NULL
31519 };
31520
31521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31523 {
31524 PyThreadState* __tstate = wxPyBeginAllowThreads();
31525 (arg1)->SetHGap(arg2);
31526
31527 wxPyEndAllowThreads(__tstate);
31528 if (PyErr_Occurred()) SWIG_fail;
31529 }
31530 Py_INCREF(Py_None); resultobj = Py_None;
31531 return resultobj;
31532 fail:
31533 return NULL;
31534 }
31535
31536
31537 static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31538 PyObject *resultobj;
31539 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31540 int result;
31541 PyObject * obj0 = 0 ;
31542 char *kwnames[] = {
31543 (char *) "self", NULL
31544 };
31545
31546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31548 {
31549 PyThreadState* __tstate = wxPyBeginAllowThreads();
31550 result = (int)(arg1)->GetCols();
31551
31552 wxPyEndAllowThreads(__tstate);
31553 if (PyErr_Occurred()) SWIG_fail;
31554 }
31555 resultobj = PyInt_FromLong((long)result);
31556 return resultobj;
31557 fail:
31558 return NULL;
31559 }
31560
31561
31562 static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31563 PyObject *resultobj;
31564 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31565 int result;
31566 PyObject * obj0 = 0 ;
31567 char *kwnames[] = {
31568 (char *) "self", NULL
31569 };
31570
31571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31573 {
31574 PyThreadState* __tstate = wxPyBeginAllowThreads();
31575 result = (int)(arg1)->GetRows();
31576
31577 wxPyEndAllowThreads(__tstate);
31578 if (PyErr_Occurred()) SWIG_fail;
31579 }
31580 resultobj = PyInt_FromLong((long)result);
31581 return resultobj;
31582 fail:
31583 return NULL;
31584 }
31585
31586
31587 static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31588 PyObject *resultobj;
31589 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31590 int result;
31591 PyObject * obj0 = 0 ;
31592 char *kwnames[] = {
31593 (char *) "self", NULL
31594 };
31595
31596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31598 {
31599 PyThreadState* __tstate = wxPyBeginAllowThreads();
31600 result = (int)(arg1)->GetVGap();
31601
31602 wxPyEndAllowThreads(__tstate);
31603 if (PyErr_Occurred()) SWIG_fail;
31604 }
31605 resultobj = PyInt_FromLong((long)result);
31606 return resultobj;
31607 fail:
31608 return NULL;
31609 }
31610
31611
31612 static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31613 PyObject *resultobj;
31614 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31615 int result;
31616 PyObject * obj0 = 0 ;
31617 char *kwnames[] = {
31618 (char *) "self", NULL
31619 };
31620
31621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
31622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31623 {
31624 PyThreadState* __tstate = wxPyBeginAllowThreads();
31625 result = (int)(arg1)->GetHGap();
31626
31627 wxPyEndAllowThreads(__tstate);
31628 if (PyErr_Occurred()) SWIG_fail;
31629 }
31630 resultobj = PyInt_FromLong((long)result);
31631 return resultobj;
31632 fail:
31633 return NULL;
31634 }
31635
31636
31637 static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31638 PyObject *obj;
31639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31640 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31641 Py_INCREF(obj);
31642 return Py_BuildValue((char *)"");
31643 }
31644 static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31645 PyObject *resultobj;
31646 int arg1 = (int) 1 ;
31647 int arg2 = (int) 0 ;
31648 int arg3 = (int) 0 ;
31649 int arg4 = (int) 0 ;
31650 wxFlexGridSizer *result;
31651 char *kwnames[] = {
31652 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31653 };
31654
31655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31656 {
31657 PyThreadState* __tstate = wxPyBeginAllowThreads();
31658 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31659
31660 wxPyEndAllowThreads(__tstate);
31661 if (PyErr_Occurred()) SWIG_fail;
31662 }
31663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31664 return resultobj;
31665 fail:
31666 return NULL;
31667 }
31668
31669
31670 static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31671 PyObject *resultobj;
31672 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31673 PyObject * obj0 = 0 ;
31674 char *kwnames[] = {
31675 (char *) "self", NULL
31676 };
31677
31678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31680 {
31681 PyThreadState* __tstate = wxPyBeginAllowThreads();
31682 (arg1)->RecalcSizes();
31683
31684 wxPyEndAllowThreads(__tstate);
31685 if (PyErr_Occurred()) SWIG_fail;
31686 }
31687 Py_INCREF(Py_None); resultobj = Py_None;
31688 return resultobj;
31689 fail:
31690 return NULL;
31691 }
31692
31693
31694 static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31695 PyObject *resultobj;
31696 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31697 wxSize result;
31698 PyObject * obj0 = 0 ;
31699 char *kwnames[] = {
31700 (char *) "self", NULL
31701 };
31702
31703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31705 {
31706 PyThreadState* __tstate = wxPyBeginAllowThreads();
31707 result = (arg1)->CalcMin();
31708
31709 wxPyEndAllowThreads(__tstate);
31710 if (PyErr_Occurred()) SWIG_fail;
31711 }
31712 {
31713 wxSize * resultptr;
31714 resultptr = new wxSize((wxSize &) result);
31715 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31716 }
31717 return resultobj;
31718 fail:
31719 return NULL;
31720 }
31721
31722
31723 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31724 PyObject *resultobj;
31725 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31726 size_t arg2 ;
31727 int arg3 = (int) 0 ;
31728 PyObject * obj0 = 0 ;
31729 PyObject * obj1 = 0 ;
31730 char *kwnames[] = {
31731 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31732 };
31733
31734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31736 arg2 = (size_t) PyInt_AsLong(obj1);
31737 if (PyErr_Occurred()) SWIG_fail;
31738 {
31739 PyThreadState* __tstate = wxPyBeginAllowThreads();
31740 (arg1)->AddGrowableRow(arg2,arg3);
31741
31742 wxPyEndAllowThreads(__tstate);
31743 if (PyErr_Occurred()) SWIG_fail;
31744 }
31745 Py_INCREF(Py_None); resultobj = Py_None;
31746 return resultobj;
31747 fail:
31748 return NULL;
31749 }
31750
31751
31752 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31753 PyObject *resultobj;
31754 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31755 size_t arg2 ;
31756 PyObject * obj0 = 0 ;
31757 PyObject * obj1 = 0 ;
31758 char *kwnames[] = {
31759 (char *) "self",(char *) "idx", NULL
31760 };
31761
31762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31764 arg2 = (size_t) PyInt_AsLong(obj1);
31765 if (PyErr_Occurred()) SWIG_fail;
31766 {
31767 PyThreadState* __tstate = wxPyBeginAllowThreads();
31768 (arg1)->RemoveGrowableRow(arg2);
31769
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
31773 Py_INCREF(Py_None); resultobj = Py_None;
31774 return resultobj;
31775 fail:
31776 return NULL;
31777 }
31778
31779
31780 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31781 PyObject *resultobj;
31782 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31783 size_t arg2 ;
31784 int arg3 = (int) 0 ;
31785 PyObject * obj0 = 0 ;
31786 PyObject * obj1 = 0 ;
31787 char *kwnames[] = {
31788 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31789 };
31790
31791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31793 arg2 = (size_t) PyInt_AsLong(obj1);
31794 if (PyErr_Occurred()) SWIG_fail;
31795 {
31796 PyThreadState* __tstate = wxPyBeginAllowThreads();
31797 (arg1)->AddGrowableCol(arg2,arg3);
31798
31799 wxPyEndAllowThreads(__tstate);
31800 if (PyErr_Occurred()) SWIG_fail;
31801 }
31802 Py_INCREF(Py_None); resultobj = Py_None;
31803 return resultobj;
31804 fail:
31805 return NULL;
31806 }
31807
31808
31809 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31810 PyObject *resultobj;
31811 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31812 size_t arg2 ;
31813 PyObject * obj0 = 0 ;
31814 PyObject * obj1 = 0 ;
31815 char *kwnames[] = {
31816 (char *) "self",(char *) "idx", NULL
31817 };
31818
31819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31821 arg2 = (size_t) PyInt_AsLong(obj1);
31822 if (PyErr_Occurred()) SWIG_fail;
31823 {
31824 PyThreadState* __tstate = wxPyBeginAllowThreads();
31825 (arg1)->RemoveGrowableCol(arg2);
31826
31827 wxPyEndAllowThreads(__tstate);
31828 if (PyErr_Occurred()) SWIG_fail;
31829 }
31830 Py_INCREF(Py_None); resultobj = Py_None;
31831 return resultobj;
31832 fail:
31833 return NULL;
31834 }
31835
31836
31837 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31838 PyObject *resultobj;
31839 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31840 int arg2 ;
31841 PyObject * obj0 = 0 ;
31842 char *kwnames[] = {
31843 (char *) "self",(char *) "direction", NULL
31844 };
31845
31846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31848 {
31849 PyThreadState* __tstate = wxPyBeginAllowThreads();
31850 (arg1)->SetFlexibleDirection(arg2);
31851
31852 wxPyEndAllowThreads(__tstate);
31853 if (PyErr_Occurred()) SWIG_fail;
31854 }
31855 Py_INCREF(Py_None); resultobj = Py_None;
31856 return resultobj;
31857 fail:
31858 return NULL;
31859 }
31860
31861
31862 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31863 PyObject *resultobj;
31864 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31865 int result;
31866 PyObject * obj0 = 0 ;
31867 char *kwnames[] = {
31868 (char *) "self", NULL
31869 };
31870
31871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31873 {
31874 PyThreadState* __tstate = wxPyBeginAllowThreads();
31875 result = (int)(arg1)->GetFlexibleDirection();
31876
31877 wxPyEndAllowThreads(__tstate);
31878 if (PyErr_Occurred()) SWIG_fail;
31879 }
31880 resultobj = PyInt_FromLong((long)result);
31881 return resultobj;
31882 fail:
31883 return NULL;
31884 }
31885
31886
31887 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31888 PyObject *resultobj;
31889 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31890 int arg2 ;
31891 PyObject * obj0 = 0 ;
31892 char *kwnames[] = {
31893 (char *) "self",(char *) "mode", NULL
31894 };
31895
31896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
31897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31898 {
31899 PyThreadState* __tstate = wxPyBeginAllowThreads();
31900 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
31901
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 Py_INCREF(Py_None); resultobj = Py_None;
31906 return resultobj;
31907 fail:
31908 return NULL;
31909 }
31910
31911
31912 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31913 PyObject *resultobj;
31914 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31915 int result;
31916 PyObject * obj0 = 0 ;
31917 char *kwnames[] = {
31918 (char *) "self", NULL
31919 };
31920
31921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
31922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31923 {
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 result = (int)(arg1)->GetNonFlexibleGrowMode();
31926
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 resultobj = PyInt_FromLong((long)result);
31931 return resultobj;
31932 fail:
31933 return NULL;
31934 }
31935
31936
31937 static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
31938 PyObject *resultobj;
31939 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31940 wxArrayInt *result;
31941 PyObject * obj0 = 0 ;
31942 char *kwnames[] = {
31943 (char *) "self", NULL
31944 };
31945
31946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
31947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31948 {
31949 PyThreadState* __tstate = wxPyBeginAllowThreads();
31950 {
31951 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
31952 result = (wxArrayInt *) &_result_ref;
31953 }
31954
31955 wxPyEndAllowThreads(__tstate);
31956 if (PyErr_Occurred()) SWIG_fail;
31957 }
31958 {
31959 resultobj = PyList_New(0);
31960 size_t idx;
31961 for (idx = 0; idx < result->GetCount(); idx += 1) {
31962 PyObject* val = PyInt_FromLong( result->Item(idx) );
31963 PyList_Append(resultobj, val);
31964 Py_DECREF(val);
31965 }
31966 }
31967 return resultobj;
31968 fail:
31969 return NULL;
31970 }
31971
31972
31973 static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
31974 PyObject *resultobj;
31975 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31976 wxArrayInt *result;
31977 PyObject * obj0 = 0 ;
31978 char *kwnames[] = {
31979 (char *) "self", NULL
31980 };
31981
31982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
31983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31984 {
31985 PyThreadState* __tstate = wxPyBeginAllowThreads();
31986 {
31987 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
31988 result = (wxArrayInt *) &_result_ref;
31989 }
31990
31991 wxPyEndAllowThreads(__tstate);
31992 if (PyErr_Occurred()) SWIG_fail;
31993 }
31994 {
31995 resultobj = PyList_New(0);
31996 size_t idx;
31997 for (idx = 0; idx < result->GetCount(); idx += 1) {
31998 PyObject* val = PyInt_FromLong( result->Item(idx) );
31999 PyList_Append(resultobj, val);
32000 Py_DECREF(val);
32001 }
32002 }
32003 return resultobj;
32004 fail:
32005 return NULL;
32006 }
32007
32008
32009 static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
32010 PyObject *obj;
32011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32012 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
32013 Py_INCREF(obj);
32014 return Py_BuildValue((char *)"");
32015 }
32016 static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
32017 PyObject *resultobj;
32018 int arg1 = (int) 0 ;
32019 int arg2 = (int) 0 ;
32020 wxGBPosition *result;
32021 char *kwnames[] = {
32022 (char *) "row",(char *) "col", NULL
32023 };
32024
32025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
32026 {
32027 PyThreadState* __tstate = wxPyBeginAllowThreads();
32028 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
32029
32030 wxPyEndAllowThreads(__tstate);
32031 if (PyErr_Occurred()) SWIG_fail;
32032 }
32033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
32034 return resultobj;
32035 fail:
32036 return NULL;
32037 }
32038
32039
32040 static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32041 PyObject *resultobj;
32042 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32043 int result;
32044 PyObject * obj0 = 0 ;
32045 char *kwnames[] = {
32046 (char *) "self", NULL
32047 };
32048
32049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
32050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32051 {
32052 PyThreadState* __tstate = wxPyBeginAllowThreads();
32053 result = (int)((wxGBPosition const *)arg1)->GetRow();
32054
32055 wxPyEndAllowThreads(__tstate);
32056 if (PyErr_Occurred()) SWIG_fail;
32057 }
32058 resultobj = PyInt_FromLong((long)result);
32059 return resultobj;
32060 fail:
32061 return NULL;
32062 }
32063
32064
32065 static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32066 PyObject *resultobj;
32067 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32068 int result;
32069 PyObject * obj0 = 0 ;
32070 char *kwnames[] = {
32071 (char *) "self", NULL
32072 };
32073
32074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
32075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32076 {
32077 PyThreadState* __tstate = wxPyBeginAllowThreads();
32078 result = (int)((wxGBPosition const *)arg1)->GetCol();
32079
32080 wxPyEndAllowThreads(__tstate);
32081 if (PyErr_Occurred()) SWIG_fail;
32082 }
32083 resultobj = PyInt_FromLong((long)result);
32084 return resultobj;
32085 fail:
32086 return NULL;
32087 }
32088
32089
32090 static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
32091 PyObject *resultobj;
32092 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32093 int arg2 ;
32094 PyObject * obj0 = 0 ;
32095 char *kwnames[] = {
32096 (char *) "self",(char *) "row", NULL
32097 };
32098
32099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
32100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32101 {
32102 PyThreadState* __tstate = wxPyBeginAllowThreads();
32103 (arg1)->SetRow(arg2);
32104
32105 wxPyEndAllowThreads(__tstate);
32106 if (PyErr_Occurred()) SWIG_fail;
32107 }
32108 Py_INCREF(Py_None); resultobj = Py_None;
32109 return resultobj;
32110 fail:
32111 return NULL;
32112 }
32113
32114
32115 static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
32116 PyObject *resultobj;
32117 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32118 int arg2 ;
32119 PyObject * obj0 = 0 ;
32120 char *kwnames[] = {
32121 (char *) "self",(char *) "col", NULL
32122 };
32123
32124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
32125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32126 {
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 (arg1)->SetCol(arg2);
32129
32130 wxPyEndAllowThreads(__tstate);
32131 if (PyErr_Occurred()) SWIG_fail;
32132 }
32133 Py_INCREF(Py_None); resultobj = Py_None;
32134 return resultobj;
32135 fail:
32136 return NULL;
32137 }
32138
32139
32140 static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32141 PyObject *resultobj;
32142 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32143 wxGBPosition *arg2 = 0 ;
32144 bool result;
32145 wxGBPosition temp2 ;
32146 PyObject * obj0 = 0 ;
32147 PyObject * obj1 = 0 ;
32148 char *kwnames[] = {
32149 (char *) "self",(char *) "p", NULL
32150 };
32151
32152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
32153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32154 {
32155 arg2 = &temp2;
32156 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32157 }
32158 {
32159 PyThreadState* __tstate = wxPyBeginAllowThreads();
32160 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
32161
32162 wxPyEndAllowThreads(__tstate);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 resultobj = PyInt_FromLong((long)result);
32166 return resultobj;
32167 fail:
32168 return NULL;
32169 }
32170
32171
32172 static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32173 PyObject *resultobj;
32174 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32175 wxGBPosition *arg2 = 0 ;
32176 bool result;
32177 wxGBPosition temp2 ;
32178 PyObject * obj0 = 0 ;
32179 PyObject * obj1 = 0 ;
32180 char *kwnames[] = {
32181 (char *) "self",(char *) "p", NULL
32182 };
32183
32184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
32185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32186 {
32187 arg2 = &temp2;
32188 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32189 }
32190 {
32191 PyThreadState* __tstate = wxPyBeginAllowThreads();
32192 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
32193
32194 wxPyEndAllowThreads(__tstate);
32195 if (PyErr_Occurred()) SWIG_fail;
32196 }
32197 resultobj = PyInt_FromLong((long)result);
32198 return resultobj;
32199 fail:
32200 return NULL;
32201 }
32202
32203
32204 static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32205 PyObject *resultobj;
32206 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32207 int arg2 = (int) 0 ;
32208 int arg3 = (int) 0 ;
32209 PyObject * obj0 = 0 ;
32210 char *kwnames[] = {
32211 (char *) "self",(char *) "row",(char *) "col", NULL
32212 };
32213
32214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBPosition_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32216 {
32217 PyThreadState* __tstate = wxPyBeginAllowThreads();
32218 wxGBPosition_Set(arg1,arg2,arg3);
32219
32220 wxPyEndAllowThreads(__tstate);
32221 if (PyErr_Occurred()) SWIG_fail;
32222 }
32223 Py_INCREF(Py_None); resultobj = Py_None;
32224 return resultobj;
32225 fail:
32226 return NULL;
32227 }
32228
32229
32230 static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
32231 PyObject *resultobj;
32232 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
32233 PyObject *result;
32234 PyObject * obj0 = 0 ;
32235 char *kwnames[] = {
32236 (char *) "self", NULL
32237 };
32238
32239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
32240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32241 {
32242 PyThreadState* __tstate = wxPyBeginAllowThreads();
32243 result = (PyObject *)wxGBPosition_Get(arg1);
32244
32245 wxPyEndAllowThreads(__tstate);
32246 if (PyErr_Occurred()) SWIG_fail;
32247 }
32248 resultobj = result;
32249 return resultobj;
32250 fail:
32251 return NULL;
32252 }
32253
32254
32255 static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
32256 PyObject *obj;
32257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32258 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
32259 Py_INCREF(obj);
32260 return Py_BuildValue((char *)"");
32261 }
32262 static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32263 PyObject *resultobj;
32264 int arg1 = (int) 1 ;
32265 int arg2 = (int) 1 ;
32266 wxGBSpan *result;
32267 char *kwnames[] = {
32268 (char *) "rowspan",(char *) "colspan", NULL
32269 };
32270
32271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
32272 {
32273 PyThreadState* __tstate = wxPyBeginAllowThreads();
32274 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
32275
32276 wxPyEndAllowThreads(__tstate);
32277 if (PyErr_Occurred()) SWIG_fail;
32278 }
32279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
32280 return resultobj;
32281 fail:
32282 return NULL;
32283 }
32284
32285
32286 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32287 PyObject *resultobj;
32288 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32289 int result;
32290 PyObject * obj0 = 0 ;
32291 char *kwnames[] = {
32292 (char *) "self", NULL
32293 };
32294
32295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
32296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32297 {
32298 PyThreadState* __tstate = wxPyBeginAllowThreads();
32299 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
32300
32301 wxPyEndAllowThreads(__tstate);
32302 if (PyErr_Occurred()) SWIG_fail;
32303 }
32304 resultobj = PyInt_FromLong((long)result);
32305 return resultobj;
32306 fail:
32307 return NULL;
32308 }
32309
32310
32311 static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32312 PyObject *resultobj;
32313 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32314 int result;
32315 PyObject * obj0 = 0 ;
32316 char *kwnames[] = {
32317 (char *) "self", NULL
32318 };
32319
32320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
32321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32322 {
32323 PyThreadState* __tstate = wxPyBeginAllowThreads();
32324 result = (int)((wxGBSpan const *)arg1)->GetColspan();
32325
32326 wxPyEndAllowThreads(__tstate);
32327 if (PyErr_Occurred()) SWIG_fail;
32328 }
32329 resultobj = PyInt_FromLong((long)result);
32330 return resultobj;
32331 fail:
32332 return NULL;
32333 }
32334
32335
32336 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32337 PyObject *resultobj;
32338 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32339 int arg2 ;
32340 PyObject * obj0 = 0 ;
32341 char *kwnames[] = {
32342 (char *) "self",(char *) "rowspan", NULL
32343 };
32344
32345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32347 {
32348 PyThreadState* __tstate = wxPyBeginAllowThreads();
32349 (arg1)->SetRowspan(arg2);
32350
32351 wxPyEndAllowThreads(__tstate);
32352 if (PyErr_Occurred()) SWIG_fail;
32353 }
32354 Py_INCREF(Py_None); resultobj = Py_None;
32355 return resultobj;
32356 fail:
32357 return NULL;
32358 }
32359
32360
32361 static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32362 PyObject *resultobj;
32363 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32364 int arg2 ;
32365 PyObject * obj0 = 0 ;
32366 char *kwnames[] = {
32367 (char *) "self",(char *) "colspan", NULL
32368 };
32369
32370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32372 {
32373 PyThreadState* __tstate = wxPyBeginAllowThreads();
32374 (arg1)->SetColspan(arg2);
32375
32376 wxPyEndAllowThreads(__tstate);
32377 if (PyErr_Occurred()) SWIG_fail;
32378 }
32379 Py_INCREF(Py_None); resultobj = Py_None;
32380 return resultobj;
32381 fail:
32382 return NULL;
32383 }
32384
32385
32386 static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32387 PyObject *resultobj;
32388 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32389 wxGBSpan *arg2 = 0 ;
32390 bool result;
32391 wxGBSpan temp2 ;
32392 PyObject * obj0 = 0 ;
32393 PyObject * obj1 = 0 ;
32394 char *kwnames[] = {
32395 (char *) "self",(char *) "o", NULL
32396 };
32397
32398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32400 {
32401 arg2 = &temp2;
32402 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32403 }
32404 {
32405 PyThreadState* __tstate = wxPyBeginAllowThreads();
32406 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32407
32408 wxPyEndAllowThreads(__tstate);
32409 if (PyErr_Occurred()) SWIG_fail;
32410 }
32411 resultobj = PyInt_FromLong((long)result);
32412 return resultobj;
32413 fail:
32414 return NULL;
32415 }
32416
32417
32418 static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32419 PyObject *resultobj;
32420 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32421 wxGBSpan *arg2 = 0 ;
32422 bool result;
32423 wxGBSpan temp2 ;
32424 PyObject * obj0 = 0 ;
32425 PyObject * obj1 = 0 ;
32426 char *kwnames[] = {
32427 (char *) "self",(char *) "o", NULL
32428 };
32429
32430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32432 {
32433 arg2 = &temp2;
32434 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32435 }
32436 {
32437 PyThreadState* __tstate = wxPyBeginAllowThreads();
32438 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32439
32440 wxPyEndAllowThreads(__tstate);
32441 if (PyErr_Occurred()) SWIG_fail;
32442 }
32443 resultobj = PyInt_FromLong((long)result);
32444 return resultobj;
32445 fail:
32446 return NULL;
32447 }
32448
32449
32450 static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
32451 PyObject *resultobj;
32452 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32453 int arg2 = (int) 1 ;
32454 int arg3 = (int) 1 ;
32455 PyObject * obj0 = 0 ;
32456 char *kwnames[] = {
32457 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32458 };
32459
32460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ii:GBSpan_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
32461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32462 {
32463 PyThreadState* __tstate = wxPyBeginAllowThreads();
32464 wxGBSpan_Set(arg1,arg2,arg3);
32465
32466 wxPyEndAllowThreads(__tstate);
32467 if (PyErr_Occurred()) SWIG_fail;
32468 }
32469 Py_INCREF(Py_None); resultobj = Py_None;
32470 return resultobj;
32471 fail:
32472 return NULL;
32473 }
32474
32475
32476 static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
32477 PyObject *resultobj;
32478 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32479 PyObject *result;
32480 PyObject * obj0 = 0 ;
32481 char *kwnames[] = {
32482 (char *) "self", NULL
32483 };
32484
32485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
32486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32487 {
32488 PyThreadState* __tstate = wxPyBeginAllowThreads();
32489 result = (PyObject *)wxGBSpan_Get(arg1);
32490
32491 wxPyEndAllowThreads(__tstate);
32492 if (PyErr_Occurred()) SWIG_fail;
32493 }
32494 resultobj = result;
32495 return resultobj;
32496 fail:
32497 return NULL;
32498 }
32499
32500
32501 static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32502 PyObject *obj;
32503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32504 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32505 Py_INCREF(obj);
32506 return Py_BuildValue((char *)"");
32507 }
32508 static int _wrap_DefaultSpan_set(PyObject *_val) {
32509 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32510 return 1;
32511 }
32512
32513
32514 static PyObject *_wrap_DefaultSpan_get() {
32515 PyObject *pyobj;
32516
32517 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32518 return pyobj;
32519 }
32520
32521
32522 static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32523 PyObject *resultobj;
32524 wxGBSizerItem *result;
32525 char *kwnames[] = {
32526 NULL
32527 };
32528
32529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32530 {
32531 PyThreadState* __tstate = wxPyBeginAllowThreads();
32532 result = (wxGBSizerItem *)new wxGBSizerItem();
32533
32534 wxPyEndAllowThreads(__tstate);
32535 if (PyErr_Occurred()) SWIG_fail;
32536 }
32537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32538 return resultobj;
32539 fail:
32540 return NULL;
32541 }
32542
32543
32544 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32545 PyObject *resultobj;
32546 wxWindow *arg1 = (wxWindow *) 0 ;
32547 wxGBPosition *arg2 = 0 ;
32548 wxGBSpan *arg3 = 0 ;
32549 int arg4 ;
32550 int arg5 ;
32551 wxObject *arg6 = (wxObject *) 0 ;
32552 wxGBSizerItem *result;
32553 wxGBPosition temp2 ;
32554 wxGBSpan temp3 ;
32555 PyObject * obj0 = 0 ;
32556 PyObject * obj1 = 0 ;
32557 PyObject * obj2 = 0 ;
32558 PyObject * obj5 = 0 ;
32559 char *kwnames[] = {
32560 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32561 };
32562
32563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32565 {
32566 arg2 = &temp2;
32567 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32568 }
32569 {
32570 arg3 = &temp3;
32571 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32572 }
32573 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32574 {
32575 PyThreadState* __tstate = wxPyBeginAllowThreads();
32576 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32577
32578 wxPyEndAllowThreads(__tstate);
32579 if (PyErr_Occurred()) SWIG_fail;
32580 }
32581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32582 return resultobj;
32583 fail:
32584 return NULL;
32585 }
32586
32587
32588 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32589 PyObject *resultobj;
32590 wxSizer *arg1 = (wxSizer *) 0 ;
32591 wxGBPosition *arg2 = 0 ;
32592 wxGBSpan *arg3 = 0 ;
32593 int arg4 ;
32594 int arg5 ;
32595 wxObject *arg6 = (wxObject *) 0 ;
32596 wxGBSizerItem *result;
32597 wxGBPosition temp2 ;
32598 wxGBSpan temp3 ;
32599 PyObject * obj0 = 0 ;
32600 PyObject * obj1 = 0 ;
32601 PyObject * obj2 = 0 ;
32602 PyObject * obj5 = 0 ;
32603 char *kwnames[] = {
32604 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32605 };
32606
32607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32609 {
32610 arg2 = &temp2;
32611 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32612 }
32613 {
32614 arg3 = &temp3;
32615 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32616 }
32617 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32618 {
32619 PyThreadState* __tstate = wxPyBeginAllowThreads();
32620 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32621
32622 wxPyEndAllowThreads(__tstate);
32623 if (PyErr_Occurred()) SWIG_fail;
32624 }
32625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32626 return resultobj;
32627 fail:
32628 return NULL;
32629 }
32630
32631
32632 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32633 PyObject *resultobj;
32634 int arg1 ;
32635 int arg2 ;
32636 wxGBPosition *arg3 = 0 ;
32637 wxGBSpan *arg4 = 0 ;
32638 int arg5 ;
32639 int arg6 ;
32640 wxObject *arg7 = (wxObject *) 0 ;
32641 wxGBSizerItem *result;
32642 wxGBPosition temp3 ;
32643 wxGBSpan temp4 ;
32644 PyObject * obj2 = 0 ;
32645 PyObject * obj3 = 0 ;
32646 PyObject * obj6 = 0 ;
32647 char *kwnames[] = {
32648 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32649 };
32650
32651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32652 {
32653 arg3 = &temp3;
32654 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32655 }
32656 {
32657 arg4 = &temp4;
32658 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32659 }
32660 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32661 {
32662 PyThreadState* __tstate = wxPyBeginAllowThreads();
32663 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32664
32665 wxPyEndAllowThreads(__tstate);
32666 if (PyErr_Occurred()) SWIG_fail;
32667 }
32668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32669 return resultobj;
32670 fail:
32671 return NULL;
32672 }
32673
32674
32675 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32676 PyObject *resultobj;
32677 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32678 wxGBPosition result;
32679 PyObject * obj0 = 0 ;
32680 char *kwnames[] = {
32681 (char *) "self", NULL
32682 };
32683
32684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32686 {
32687 PyThreadState* __tstate = wxPyBeginAllowThreads();
32688 result = ((wxGBSizerItem const *)arg1)->GetPos();
32689
32690 wxPyEndAllowThreads(__tstate);
32691 if (PyErr_Occurred()) SWIG_fail;
32692 }
32693 {
32694 wxGBPosition * resultptr;
32695 resultptr = new wxGBPosition((wxGBPosition &) result);
32696 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32697 }
32698 return resultobj;
32699 fail:
32700 return NULL;
32701 }
32702
32703
32704 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32705 PyObject *resultobj;
32706 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32707 wxGBSpan result;
32708 PyObject * obj0 = 0 ;
32709 char *kwnames[] = {
32710 (char *) "self", NULL
32711 };
32712
32713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32718
32719 wxPyEndAllowThreads(__tstate);
32720 if (PyErr_Occurred()) SWIG_fail;
32721 }
32722 {
32723 wxGBSpan * resultptr;
32724 resultptr = new wxGBSpan((wxGBSpan &) result);
32725 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32726 }
32727 return resultobj;
32728 fail:
32729 return NULL;
32730 }
32731
32732
32733 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32734 PyObject *resultobj;
32735 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32736 wxGBPosition *arg2 = 0 ;
32737 bool result;
32738 wxGBPosition temp2 ;
32739 PyObject * obj0 = 0 ;
32740 PyObject * obj1 = 0 ;
32741 char *kwnames[] = {
32742 (char *) "self",(char *) "pos", NULL
32743 };
32744
32745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32747 {
32748 arg2 = &temp2;
32749 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32750 }
32751 {
32752 PyThreadState* __tstate = wxPyBeginAllowThreads();
32753 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32754
32755 wxPyEndAllowThreads(__tstate);
32756 if (PyErr_Occurred()) SWIG_fail;
32757 }
32758 resultobj = PyInt_FromLong((long)result);
32759 return resultobj;
32760 fail:
32761 return NULL;
32762 }
32763
32764
32765 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32766 PyObject *resultobj;
32767 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32768 wxGBSpan *arg2 = 0 ;
32769 bool result;
32770 wxGBSpan temp2 ;
32771 PyObject * obj0 = 0 ;
32772 PyObject * obj1 = 0 ;
32773 char *kwnames[] = {
32774 (char *) "self",(char *) "span", NULL
32775 };
32776
32777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32779 {
32780 arg2 = &temp2;
32781 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32782 }
32783 {
32784 PyThreadState* __tstate = wxPyBeginAllowThreads();
32785 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32786
32787 wxPyEndAllowThreads(__tstate);
32788 if (PyErr_Occurred()) SWIG_fail;
32789 }
32790 resultobj = PyInt_FromLong((long)result);
32791 return resultobj;
32792 fail:
32793 return NULL;
32794 }
32795
32796
32797 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32798 PyObject *resultobj;
32799 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32800 wxGBSizerItem *arg2 = 0 ;
32801 bool result;
32802 PyObject * obj0 = 0 ;
32803 PyObject * obj1 = 0 ;
32804
32805 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32807 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32808 if (arg2 == NULL) {
32809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32810 }
32811 {
32812 PyThreadState* __tstate = wxPyBeginAllowThreads();
32813 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32814
32815 wxPyEndAllowThreads(__tstate);
32816 if (PyErr_Occurred()) SWIG_fail;
32817 }
32818 resultobj = PyInt_FromLong((long)result);
32819 return resultobj;
32820 fail:
32821 return NULL;
32822 }
32823
32824
32825 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32826 PyObject *resultobj;
32827 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32828 wxGBPosition *arg2 = 0 ;
32829 wxGBSpan *arg3 = 0 ;
32830 bool result;
32831 wxGBPosition temp2 ;
32832 wxGBSpan temp3 ;
32833 PyObject * obj0 = 0 ;
32834 PyObject * obj1 = 0 ;
32835 PyObject * obj2 = 0 ;
32836
32837 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32839 {
32840 arg2 = &temp2;
32841 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32842 }
32843 {
32844 arg3 = &temp3;
32845 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32846 }
32847 {
32848 PyThreadState* __tstate = wxPyBeginAllowThreads();
32849 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32850
32851 wxPyEndAllowThreads(__tstate);
32852 if (PyErr_Occurred()) SWIG_fail;
32853 }
32854 resultobj = PyInt_FromLong((long)result);
32855 return resultobj;
32856 fail:
32857 return NULL;
32858 }
32859
32860
32861 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32862 int argc;
32863 PyObject *argv[4];
32864 int ii;
32865
32866 argc = PyObject_Length(args);
32867 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32868 argv[ii] = PyTuple_GetItem(args,ii);
32869 }
32870 if (argc == 2) {
32871 int _v;
32872 {
32873 void *ptr;
32874 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32875 _v = 0;
32876 PyErr_Clear();
32877 } else {
32878 _v = 1;
32879 }
32880 }
32881 if (_v) {
32882 {
32883 void *ptr;
32884 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32885 _v = 0;
32886 PyErr_Clear();
32887 } else {
32888 _v = 1;
32889 }
32890 }
32891 if (_v) {
32892 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
32893 }
32894 }
32895 }
32896 if (argc == 3) {
32897 int _v;
32898 {
32899 void *ptr;
32900 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32901 _v = 0;
32902 PyErr_Clear();
32903 } else {
32904 _v = 1;
32905 }
32906 }
32907 if (_v) {
32908 {
32909 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
32910 }
32911 if (_v) {
32912 {
32913 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
32914 }
32915 if (_v) {
32916 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
32917 }
32918 }
32919 }
32920 }
32921
32922 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
32923 return NULL;
32924 }
32925
32926
32927 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32928 PyObject *resultobj;
32929 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32930 int *arg2 = 0 ;
32931 int *arg3 = 0 ;
32932 PyObject * obj0 = 0 ;
32933 PyObject * obj1 = 0 ;
32934 PyObject * obj2 = 0 ;
32935 char *kwnames[] = {
32936 (char *) "self",(char *) "row",(char *) "col", NULL
32937 };
32938
32939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
32940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32942 if (arg2 == NULL) {
32943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32944 }
32945 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32946 if (arg3 == NULL) {
32947 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32948 }
32949 {
32950 PyThreadState* __tstate = wxPyBeginAllowThreads();
32951 (arg1)->GetEndPos(*arg2,*arg3);
32952
32953 wxPyEndAllowThreads(__tstate);
32954 if (PyErr_Occurred()) SWIG_fail;
32955 }
32956 Py_INCREF(Py_None); resultobj = Py_None;
32957 return resultobj;
32958 fail:
32959 return NULL;
32960 }
32961
32962
32963 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32964 PyObject *resultobj;
32965 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32966 wxGridBagSizer *result;
32967 PyObject * obj0 = 0 ;
32968 char *kwnames[] = {
32969 (char *) "self", NULL
32970 };
32971
32972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
32973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32974 {
32975 PyThreadState* __tstate = wxPyBeginAllowThreads();
32976 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
32977
32978 wxPyEndAllowThreads(__tstate);
32979 if (PyErr_Occurred()) SWIG_fail;
32980 }
32981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
32982 return resultobj;
32983 fail:
32984 return NULL;
32985 }
32986
32987
32988 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32989 PyObject *resultobj;
32990 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32991 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
32992 PyObject * obj0 = 0 ;
32993 PyObject * obj1 = 0 ;
32994 char *kwnames[] = {
32995 (char *) "self",(char *) "sizer", NULL
32996 };
32997
32998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
32999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33001 {
33002 PyThreadState* __tstate = wxPyBeginAllowThreads();
33003 (arg1)->SetGBSizer(arg2);
33004
33005 wxPyEndAllowThreads(__tstate);
33006 if (PyErr_Occurred()) SWIG_fail;
33007 }
33008 Py_INCREF(Py_None); resultobj = Py_None;
33009 return resultobj;
33010 fail:
33011 return NULL;
33012 }
33013
33014
33015 static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
33016 PyObject *obj;
33017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33018 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
33019 Py_INCREF(obj);
33020 return Py_BuildValue((char *)"");
33021 }
33022 static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33023 PyObject *resultobj;
33024 int arg1 = (int) 0 ;
33025 int arg2 = (int) 0 ;
33026 wxGridBagSizer *result;
33027 char *kwnames[] = {
33028 (char *) "vgap",(char *) "hgap", NULL
33029 };
33030
33031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
33032 {
33033 PyThreadState* __tstate = wxPyBeginAllowThreads();
33034 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
33035
33036 wxPyEndAllowThreads(__tstate);
33037 if (PyErr_Occurred()) SWIG_fail;
33038 }
33039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
33040 return resultobj;
33041 fail:
33042 return NULL;
33043 }
33044
33045
33046 static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33047 PyObject *resultobj;
33048 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33049 PyObject *arg2 = (PyObject *) 0 ;
33050 wxGBPosition *arg3 = 0 ;
33051 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
33052 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
33053 int arg5 = (int) 0 ;
33054 int arg6 = (int) 0 ;
33055 PyObject *arg7 = (PyObject *) NULL ;
33056 bool result;
33057 wxGBPosition temp3 ;
33058 wxGBSpan temp4 ;
33059 PyObject * obj0 = 0 ;
33060 PyObject * obj1 = 0 ;
33061 PyObject * obj2 = 0 ;
33062 PyObject * obj3 = 0 ;
33063 PyObject * obj6 = 0 ;
33064 char *kwnames[] = {
33065 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33066 };
33067
33068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
33069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33070 arg2 = obj1;
33071 {
33072 arg3 = &temp3;
33073 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33074 }
33075 if (obj3) {
33076 {
33077 arg4 = &temp4;
33078 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
33079 }
33080 }
33081 if (obj6) {
33082 arg7 = obj6;
33083 }
33084 {
33085 PyThreadState* __tstate = wxPyBeginAllowThreads();
33086 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
33087
33088 wxPyEndAllowThreads(__tstate);
33089 if (PyErr_Occurred()) SWIG_fail;
33090 }
33091 resultobj = PyInt_FromLong((long)result);
33092 return resultobj;
33093 fail:
33094 return NULL;
33095 }
33096
33097
33098 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33099 PyObject *resultobj;
33100 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33101 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33102 bool result;
33103 PyObject * obj0 = 0 ;
33104 PyObject * obj1 = 0 ;
33105 char *kwnames[] = {
33106 (char *) "self",(char *) "item", NULL
33107 };
33108
33109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
33110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33112 {
33113 PyThreadState* __tstate = wxPyBeginAllowThreads();
33114 result = (bool)(arg1)->Add(arg2);
33115
33116 wxPyEndAllowThreads(__tstate);
33117 if (PyErr_Occurred()) SWIG_fail;
33118 }
33119 resultobj = PyInt_FromLong((long)result);
33120 return resultobj;
33121 fail:
33122 return NULL;
33123 }
33124
33125
33126 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33127 PyObject *resultobj;
33128 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33129 wxSize result;
33130 PyObject * obj0 = 0 ;
33131 char *kwnames[] = {
33132 (char *) "self", NULL
33133 };
33134
33135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
33136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33137 {
33138 PyThreadState* __tstate = wxPyBeginAllowThreads();
33139 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
33140
33141 wxPyEndAllowThreads(__tstate);
33142 if (PyErr_Occurred()) SWIG_fail;
33143 }
33144 {
33145 wxSize * resultptr;
33146 resultptr = new wxSize((wxSize &) result);
33147 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33148 }
33149 return resultobj;
33150 fail:
33151 return NULL;
33152 }
33153
33154
33155 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33156 PyObject *resultobj;
33157 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33158 wxSize *arg2 = 0 ;
33159 wxSize temp2 ;
33160 PyObject * obj0 = 0 ;
33161 PyObject * obj1 = 0 ;
33162 char *kwnames[] = {
33163 (char *) "self",(char *) "sz", NULL
33164 };
33165
33166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
33167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33168 {
33169 arg2 = &temp2;
33170 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33171 }
33172 {
33173 PyThreadState* __tstate = wxPyBeginAllowThreads();
33174 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
33175
33176 wxPyEndAllowThreads(__tstate);
33177 if (PyErr_Occurred()) SWIG_fail;
33178 }
33179 Py_INCREF(Py_None); resultobj = Py_None;
33180 return resultobj;
33181 fail:
33182 return NULL;
33183 }
33184
33185
33186 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33187 PyObject *resultobj;
33188 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33189 wxWindow *arg2 = (wxWindow *) 0 ;
33190 wxGBPosition result;
33191 PyObject * obj0 = 0 ;
33192 PyObject * obj1 = 0 ;
33193
33194 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33197 {
33198 PyThreadState* __tstate = wxPyBeginAllowThreads();
33199 result = (arg1)->GetItemPosition(arg2);
33200
33201 wxPyEndAllowThreads(__tstate);
33202 if (PyErr_Occurred()) SWIG_fail;
33203 }
33204 {
33205 wxGBPosition * resultptr;
33206 resultptr = new wxGBPosition((wxGBPosition &) result);
33207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33208 }
33209 return resultobj;
33210 fail:
33211 return NULL;
33212 }
33213
33214
33215 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33216 PyObject *resultobj;
33217 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33218 wxSizer *arg2 = (wxSizer *) 0 ;
33219 wxGBPosition result;
33220 PyObject * obj0 = 0 ;
33221 PyObject * obj1 = 0 ;
33222
33223 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33226 {
33227 PyThreadState* __tstate = wxPyBeginAllowThreads();
33228 result = (arg1)->GetItemPosition(arg2);
33229
33230 wxPyEndAllowThreads(__tstate);
33231 if (PyErr_Occurred()) SWIG_fail;
33232 }
33233 {
33234 wxGBPosition * resultptr;
33235 resultptr = new wxGBPosition((wxGBPosition &) result);
33236 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33237 }
33238 return resultobj;
33239 fail:
33240 return NULL;
33241 }
33242
33243
33244 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33245 PyObject *resultobj;
33246 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33247 size_t arg2 ;
33248 wxGBPosition result;
33249 PyObject * obj0 = 0 ;
33250 PyObject * obj1 = 0 ;
33251
33252 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
33253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33254 arg2 = (size_t) PyInt_AsLong(obj1);
33255 if (PyErr_Occurred()) SWIG_fail;
33256 {
33257 PyThreadState* __tstate = wxPyBeginAllowThreads();
33258 result = (arg1)->GetItemPosition(arg2);
33259
33260 wxPyEndAllowThreads(__tstate);
33261 if (PyErr_Occurred()) SWIG_fail;
33262 }
33263 {
33264 wxGBPosition * resultptr;
33265 resultptr = new wxGBPosition((wxGBPosition &) result);
33266 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
33267 }
33268 return resultobj;
33269 fail:
33270 return NULL;
33271 }
33272
33273
33274 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
33275 int argc;
33276 PyObject *argv[3];
33277 int ii;
33278
33279 argc = PyObject_Length(args);
33280 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33281 argv[ii] = PyTuple_GetItem(args,ii);
33282 }
33283 if (argc == 2) {
33284 int _v;
33285 {
33286 void *ptr;
33287 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33288 _v = 0;
33289 PyErr_Clear();
33290 } else {
33291 _v = 1;
33292 }
33293 }
33294 if (_v) {
33295 {
33296 void *ptr;
33297 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33298 _v = 0;
33299 PyErr_Clear();
33300 } else {
33301 _v = 1;
33302 }
33303 }
33304 if (_v) {
33305 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
33306 }
33307 }
33308 }
33309 if (argc == 2) {
33310 int _v;
33311 {
33312 void *ptr;
33313 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33314 _v = 0;
33315 PyErr_Clear();
33316 } else {
33317 _v = 1;
33318 }
33319 }
33320 if (_v) {
33321 {
33322 void *ptr;
33323 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33324 _v = 0;
33325 PyErr_Clear();
33326 } else {
33327 _v = 1;
33328 }
33329 }
33330 if (_v) {
33331 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
33332 }
33333 }
33334 }
33335 if (argc == 2) {
33336 int _v;
33337 {
33338 void *ptr;
33339 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33340 _v = 0;
33341 PyErr_Clear();
33342 } else {
33343 _v = 1;
33344 }
33345 }
33346 if (_v) {
33347 {
33348 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33349 }
33350 if (_v) {
33351 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
33352 }
33353 }
33354 }
33355
33356 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33357 return NULL;
33358 }
33359
33360
33361 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33362 PyObject *resultobj;
33363 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33364 wxWindow *arg2 = (wxWindow *) 0 ;
33365 wxGBPosition *arg3 = 0 ;
33366 bool result;
33367 wxGBPosition temp3 ;
33368 PyObject * obj0 = 0 ;
33369 PyObject * obj1 = 0 ;
33370 PyObject * obj2 = 0 ;
33371
33372 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33375 {
33376 arg3 = &temp3;
33377 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33378 }
33379 {
33380 PyThreadState* __tstate = wxPyBeginAllowThreads();
33381 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33382
33383 wxPyEndAllowThreads(__tstate);
33384 if (PyErr_Occurred()) SWIG_fail;
33385 }
33386 resultobj = PyInt_FromLong((long)result);
33387 return resultobj;
33388 fail:
33389 return NULL;
33390 }
33391
33392
33393 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33394 PyObject *resultobj;
33395 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33396 wxSizer *arg2 = (wxSizer *) 0 ;
33397 wxGBPosition *arg3 = 0 ;
33398 bool result;
33399 wxGBPosition temp3 ;
33400 PyObject * obj0 = 0 ;
33401 PyObject * obj1 = 0 ;
33402 PyObject * obj2 = 0 ;
33403
33404 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33407 {
33408 arg3 = &temp3;
33409 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33410 }
33411 {
33412 PyThreadState* __tstate = wxPyBeginAllowThreads();
33413 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33414
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
33418 resultobj = PyInt_FromLong((long)result);
33419 return resultobj;
33420 fail:
33421 return NULL;
33422 }
33423
33424
33425 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33426 PyObject *resultobj;
33427 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33428 size_t arg2 ;
33429 wxGBPosition *arg3 = 0 ;
33430 bool result;
33431 wxGBPosition temp3 ;
33432 PyObject * obj0 = 0 ;
33433 PyObject * obj1 = 0 ;
33434 PyObject * obj2 = 0 ;
33435
33436 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33438 arg2 = (size_t) PyInt_AsLong(obj1);
33439 if (PyErr_Occurred()) SWIG_fail;
33440 {
33441 arg3 = &temp3;
33442 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33443 }
33444 {
33445 PyThreadState* __tstate = wxPyBeginAllowThreads();
33446 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33447
33448 wxPyEndAllowThreads(__tstate);
33449 if (PyErr_Occurred()) SWIG_fail;
33450 }
33451 resultobj = PyInt_FromLong((long)result);
33452 return resultobj;
33453 fail:
33454 return NULL;
33455 }
33456
33457
33458 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33459 int argc;
33460 PyObject *argv[4];
33461 int ii;
33462
33463 argc = PyObject_Length(args);
33464 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33465 argv[ii] = PyTuple_GetItem(args,ii);
33466 }
33467 if (argc == 3) {
33468 int _v;
33469 {
33470 void *ptr;
33471 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33472 _v = 0;
33473 PyErr_Clear();
33474 } else {
33475 _v = 1;
33476 }
33477 }
33478 if (_v) {
33479 {
33480 void *ptr;
33481 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33482 _v = 0;
33483 PyErr_Clear();
33484 } else {
33485 _v = 1;
33486 }
33487 }
33488 if (_v) {
33489 {
33490 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33491 }
33492 if (_v) {
33493 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33494 }
33495 }
33496 }
33497 }
33498 if (argc == 3) {
33499 int _v;
33500 {
33501 void *ptr;
33502 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33503 _v = 0;
33504 PyErr_Clear();
33505 } else {
33506 _v = 1;
33507 }
33508 }
33509 if (_v) {
33510 {
33511 void *ptr;
33512 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33513 _v = 0;
33514 PyErr_Clear();
33515 } else {
33516 _v = 1;
33517 }
33518 }
33519 if (_v) {
33520 {
33521 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33522 }
33523 if (_v) {
33524 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33525 }
33526 }
33527 }
33528 }
33529 if (argc == 3) {
33530 int _v;
33531 {
33532 void *ptr;
33533 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33534 _v = 0;
33535 PyErr_Clear();
33536 } else {
33537 _v = 1;
33538 }
33539 }
33540 if (_v) {
33541 {
33542 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33543 }
33544 if (_v) {
33545 {
33546 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33547 }
33548 if (_v) {
33549 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33550 }
33551 }
33552 }
33553 }
33554
33555 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33556 return NULL;
33557 }
33558
33559
33560 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33561 PyObject *resultobj;
33562 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33563 wxWindow *arg2 = (wxWindow *) 0 ;
33564 wxGBSpan result;
33565 PyObject * obj0 = 0 ;
33566 PyObject * obj1 = 0 ;
33567
33568 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33571 {
33572 PyThreadState* __tstate = wxPyBeginAllowThreads();
33573 result = (arg1)->GetItemSpan(arg2);
33574
33575 wxPyEndAllowThreads(__tstate);
33576 if (PyErr_Occurred()) SWIG_fail;
33577 }
33578 {
33579 wxGBSpan * resultptr;
33580 resultptr = new wxGBSpan((wxGBSpan &) result);
33581 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33582 }
33583 return resultobj;
33584 fail:
33585 return NULL;
33586 }
33587
33588
33589 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33590 PyObject *resultobj;
33591 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33592 wxSizer *arg2 = (wxSizer *) 0 ;
33593 wxGBSpan result;
33594 PyObject * obj0 = 0 ;
33595 PyObject * obj1 = 0 ;
33596
33597 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33600 {
33601 PyThreadState* __tstate = wxPyBeginAllowThreads();
33602 result = (arg1)->GetItemSpan(arg2);
33603
33604 wxPyEndAllowThreads(__tstate);
33605 if (PyErr_Occurred()) SWIG_fail;
33606 }
33607 {
33608 wxGBSpan * resultptr;
33609 resultptr = new wxGBSpan((wxGBSpan &) result);
33610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33611 }
33612 return resultobj;
33613 fail:
33614 return NULL;
33615 }
33616
33617
33618 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33619 PyObject *resultobj;
33620 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33621 size_t arg2 ;
33622 wxGBSpan result;
33623 PyObject * obj0 = 0 ;
33624 PyObject * obj1 = 0 ;
33625
33626 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33628 arg2 = (size_t) PyInt_AsLong(obj1);
33629 if (PyErr_Occurred()) SWIG_fail;
33630 {
33631 PyThreadState* __tstate = wxPyBeginAllowThreads();
33632 result = (arg1)->GetItemSpan(arg2);
33633
33634 wxPyEndAllowThreads(__tstate);
33635 if (PyErr_Occurred()) SWIG_fail;
33636 }
33637 {
33638 wxGBSpan * resultptr;
33639 resultptr = new wxGBSpan((wxGBSpan &) result);
33640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33641 }
33642 return resultobj;
33643 fail:
33644 return NULL;
33645 }
33646
33647
33648 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33649 int argc;
33650 PyObject *argv[3];
33651 int ii;
33652
33653 argc = PyObject_Length(args);
33654 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33655 argv[ii] = PyTuple_GetItem(args,ii);
33656 }
33657 if (argc == 2) {
33658 int _v;
33659 {
33660 void *ptr;
33661 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33662 _v = 0;
33663 PyErr_Clear();
33664 } else {
33665 _v = 1;
33666 }
33667 }
33668 if (_v) {
33669 {
33670 void *ptr;
33671 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33672 _v = 0;
33673 PyErr_Clear();
33674 } else {
33675 _v = 1;
33676 }
33677 }
33678 if (_v) {
33679 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33680 }
33681 }
33682 }
33683 if (argc == 2) {
33684 int _v;
33685 {
33686 void *ptr;
33687 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33688 _v = 0;
33689 PyErr_Clear();
33690 } else {
33691 _v = 1;
33692 }
33693 }
33694 if (_v) {
33695 {
33696 void *ptr;
33697 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33698 _v = 0;
33699 PyErr_Clear();
33700 } else {
33701 _v = 1;
33702 }
33703 }
33704 if (_v) {
33705 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33706 }
33707 }
33708 }
33709 if (argc == 2) {
33710 int _v;
33711 {
33712 void *ptr;
33713 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33714 _v = 0;
33715 PyErr_Clear();
33716 } else {
33717 _v = 1;
33718 }
33719 }
33720 if (_v) {
33721 {
33722 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33723 }
33724 if (_v) {
33725 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33726 }
33727 }
33728 }
33729
33730 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33731 return NULL;
33732 }
33733
33734
33735 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33736 PyObject *resultobj;
33737 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33738 wxWindow *arg2 = (wxWindow *) 0 ;
33739 wxGBSpan *arg3 = 0 ;
33740 bool result;
33741 wxGBSpan temp3 ;
33742 PyObject * obj0 = 0 ;
33743 PyObject * obj1 = 0 ;
33744 PyObject * obj2 = 0 ;
33745
33746 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33749 {
33750 arg3 = &temp3;
33751 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33752 }
33753 {
33754 PyThreadState* __tstate = wxPyBeginAllowThreads();
33755 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33756
33757 wxPyEndAllowThreads(__tstate);
33758 if (PyErr_Occurred()) SWIG_fail;
33759 }
33760 resultobj = PyInt_FromLong((long)result);
33761 return resultobj;
33762 fail:
33763 return NULL;
33764 }
33765
33766
33767 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33768 PyObject *resultobj;
33769 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33770 wxSizer *arg2 = (wxSizer *) 0 ;
33771 wxGBSpan *arg3 = 0 ;
33772 bool result;
33773 wxGBSpan temp3 ;
33774 PyObject * obj0 = 0 ;
33775 PyObject * obj1 = 0 ;
33776 PyObject * obj2 = 0 ;
33777
33778 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33781 {
33782 arg3 = &temp3;
33783 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33784 }
33785 {
33786 PyThreadState* __tstate = wxPyBeginAllowThreads();
33787 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33788
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 resultobj = PyInt_FromLong((long)result);
33793 return resultobj;
33794 fail:
33795 return NULL;
33796 }
33797
33798
33799 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33800 PyObject *resultobj;
33801 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33802 size_t arg2 ;
33803 wxGBSpan *arg3 = 0 ;
33804 bool result;
33805 wxGBSpan temp3 ;
33806 PyObject * obj0 = 0 ;
33807 PyObject * obj1 = 0 ;
33808 PyObject * obj2 = 0 ;
33809
33810 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33812 arg2 = (size_t) PyInt_AsLong(obj1);
33813 if (PyErr_Occurred()) SWIG_fail;
33814 {
33815 arg3 = &temp3;
33816 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33817 }
33818 {
33819 PyThreadState* __tstate = wxPyBeginAllowThreads();
33820 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33821
33822 wxPyEndAllowThreads(__tstate);
33823 if (PyErr_Occurred()) SWIG_fail;
33824 }
33825 resultobj = PyInt_FromLong((long)result);
33826 return resultobj;
33827 fail:
33828 return NULL;
33829 }
33830
33831
33832 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33833 int argc;
33834 PyObject *argv[4];
33835 int ii;
33836
33837 argc = PyObject_Length(args);
33838 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33839 argv[ii] = PyTuple_GetItem(args,ii);
33840 }
33841 if (argc == 3) {
33842 int _v;
33843 {
33844 void *ptr;
33845 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33846 _v = 0;
33847 PyErr_Clear();
33848 } else {
33849 _v = 1;
33850 }
33851 }
33852 if (_v) {
33853 {
33854 void *ptr;
33855 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33856 _v = 0;
33857 PyErr_Clear();
33858 } else {
33859 _v = 1;
33860 }
33861 }
33862 if (_v) {
33863 {
33864 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33865 }
33866 if (_v) {
33867 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33868 }
33869 }
33870 }
33871 }
33872 if (argc == 3) {
33873 int _v;
33874 {
33875 void *ptr;
33876 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33877 _v = 0;
33878 PyErr_Clear();
33879 } else {
33880 _v = 1;
33881 }
33882 }
33883 if (_v) {
33884 {
33885 void *ptr;
33886 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33887 _v = 0;
33888 PyErr_Clear();
33889 } else {
33890 _v = 1;
33891 }
33892 }
33893 if (_v) {
33894 {
33895 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33896 }
33897 if (_v) {
33898 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
33899 }
33900 }
33901 }
33902 }
33903 if (argc == 3) {
33904 int _v;
33905 {
33906 void *ptr;
33907 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33908 _v = 0;
33909 PyErr_Clear();
33910 } else {
33911 _v = 1;
33912 }
33913 }
33914 if (_v) {
33915 {
33916 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33917 }
33918 if (_v) {
33919 {
33920 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33921 }
33922 if (_v) {
33923 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
33924 }
33925 }
33926 }
33927 }
33928
33929 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33930 return NULL;
33931 }
33932
33933
33934 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
33935 PyObject *resultobj;
33936 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33937 wxWindow *arg2 = (wxWindow *) 0 ;
33938 wxGBSizerItem *result;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941
33942 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33945 {
33946 PyThreadState* __tstate = wxPyBeginAllowThreads();
33947 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33948
33949 wxPyEndAllowThreads(__tstate);
33950 if (PyErr_Occurred()) SWIG_fail;
33951 }
33952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33953 return resultobj;
33954 fail:
33955 return NULL;
33956 }
33957
33958
33959 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
33960 PyObject *resultobj;
33961 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33962 wxSizer *arg2 = (wxSizer *) 0 ;
33963 wxGBSizerItem *result;
33964 PyObject * obj0 = 0 ;
33965 PyObject * obj1 = 0 ;
33966
33967 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33970 {
33971 PyThreadState* __tstate = wxPyBeginAllowThreads();
33972 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33973
33974 wxPyEndAllowThreads(__tstate);
33975 if (PyErr_Occurred()) SWIG_fail;
33976 }
33977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33978 return resultobj;
33979 fail:
33980 return NULL;
33981 }
33982
33983
33984 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
33985 int argc;
33986 PyObject *argv[3];
33987 int ii;
33988
33989 argc = PyObject_Length(args);
33990 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33991 argv[ii] = PyTuple_GetItem(args,ii);
33992 }
33993 if (argc == 2) {
33994 int _v;
33995 {
33996 void *ptr;
33997 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33998 _v = 0;
33999 PyErr_Clear();
34000 } else {
34001 _v = 1;
34002 }
34003 }
34004 if (_v) {
34005 {
34006 void *ptr;
34007 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
34008 _v = 0;
34009 PyErr_Clear();
34010 } else {
34011 _v = 1;
34012 }
34013 }
34014 if (_v) {
34015 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
34016 }
34017 }
34018 }
34019 if (argc == 2) {
34020 int _v;
34021 {
34022 void *ptr;
34023 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34024 _v = 0;
34025 PyErr_Clear();
34026 } else {
34027 _v = 1;
34028 }
34029 }
34030 if (_v) {
34031 {
34032 void *ptr;
34033 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
34034 _v = 0;
34035 PyErr_Clear();
34036 } else {
34037 _v = 1;
34038 }
34039 }
34040 if (_v) {
34041 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
34042 }
34043 }
34044 }
34045
34046 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
34047 return NULL;
34048 }
34049
34050
34051 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34052 PyObject *resultobj;
34053 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34054 wxGBPosition *arg2 = 0 ;
34055 wxGBSizerItem *result;
34056 wxGBPosition temp2 ;
34057 PyObject * obj0 = 0 ;
34058 PyObject * obj1 = 0 ;
34059 char *kwnames[] = {
34060 (char *) "self",(char *) "pos", NULL
34061 };
34062
34063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
34064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34065 {
34066 arg2 = &temp2;
34067 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34068 }
34069 {
34070 PyThreadState* __tstate = wxPyBeginAllowThreads();
34071 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
34072
34073 wxPyEndAllowThreads(__tstate);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 }
34076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34077 return resultobj;
34078 fail:
34079 return NULL;
34080 }
34081
34082
34083 static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
34084 PyObject *resultobj;
34085 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34086 wxPoint *arg2 = 0 ;
34087 wxGBSizerItem *result;
34088 wxPoint temp2 ;
34089 PyObject * obj0 = 0 ;
34090 PyObject * obj1 = 0 ;
34091 char *kwnames[] = {
34092 (char *) "self",(char *) "pt", NULL
34093 };
34094
34095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
34096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34097 {
34098 arg2 = &temp2;
34099 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34100 }
34101 {
34102 PyThreadState* __tstate = wxPyBeginAllowThreads();
34103 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
34104
34105 wxPyEndAllowThreads(__tstate);
34106 if (PyErr_Occurred()) SWIG_fail;
34107 }
34108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34109 return resultobj;
34110 fail:
34111 return NULL;
34112 }
34113
34114
34115 static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
34116 PyObject *resultobj;
34117 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34118 wxObject *arg2 = (wxObject *) 0 ;
34119 wxGBSizerItem *result;
34120 PyObject * obj0 = 0 ;
34121 PyObject * obj1 = 0 ;
34122 char *kwnames[] = {
34123 (char *) "self",(char *) "userData", NULL
34124 };
34125
34126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
34127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34129 {
34130 PyThreadState* __tstate = wxPyBeginAllowThreads();
34131 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
34132
34133 wxPyEndAllowThreads(__tstate);
34134 if (PyErr_Occurred()) SWIG_fail;
34135 }
34136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
34137 return resultobj;
34138 fail:
34139 return NULL;
34140 }
34141
34142
34143 static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34144 PyObject *resultobj;
34145 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34146 PyObject * obj0 = 0 ;
34147 char *kwnames[] = {
34148 (char *) "self", NULL
34149 };
34150
34151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
34152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34153 {
34154 PyThreadState* __tstate = wxPyBeginAllowThreads();
34155 (arg1)->RecalcSizes();
34156
34157 wxPyEndAllowThreads(__tstate);
34158 if (PyErr_Occurred()) SWIG_fail;
34159 }
34160 Py_INCREF(Py_None); resultobj = Py_None;
34161 return resultobj;
34162 fail:
34163 return NULL;
34164 }
34165
34166
34167 static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34168 PyObject *resultobj;
34169 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34170 wxSize result;
34171 PyObject * obj0 = 0 ;
34172 char *kwnames[] = {
34173 (char *) "self", NULL
34174 };
34175
34176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
34177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34178 {
34179 PyThreadState* __tstate = wxPyBeginAllowThreads();
34180 result = (arg1)->CalcMin();
34181
34182 wxPyEndAllowThreads(__tstate);
34183 if (PyErr_Occurred()) SWIG_fail;
34184 }
34185 {
34186 wxSize * resultptr;
34187 resultptr = new wxSize((wxSize &) result);
34188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
34189 }
34190 return resultobj;
34191 fail:
34192 return NULL;
34193 }
34194
34195
34196 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
34197 PyObject *resultobj;
34198 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34199 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
34200 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
34201 bool result;
34202 PyObject * obj0 = 0 ;
34203 PyObject * obj1 = 0 ;
34204 PyObject * obj2 = 0 ;
34205
34206 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
34207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34209 if (obj2) {
34210 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34211 }
34212 {
34213 PyThreadState* __tstate = wxPyBeginAllowThreads();
34214 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
34215
34216 wxPyEndAllowThreads(__tstate);
34217 if (PyErr_Occurred()) SWIG_fail;
34218 }
34219 resultobj = PyInt_FromLong((long)result);
34220 return resultobj;
34221 fail:
34222 return NULL;
34223 }
34224
34225
34226 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
34227 PyObject *resultobj;
34228 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
34229 wxGBPosition *arg2 = 0 ;
34230 wxGBSpan *arg3 = 0 ;
34231 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
34232 bool result;
34233 wxGBPosition temp2 ;
34234 wxGBSpan temp3 ;
34235 PyObject * obj0 = 0 ;
34236 PyObject * obj1 = 0 ;
34237 PyObject * obj2 = 0 ;
34238 PyObject * obj3 = 0 ;
34239
34240 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
34241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34242 {
34243 arg2 = &temp2;
34244 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
34245 }
34246 {
34247 arg3 = &temp3;
34248 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
34249 }
34250 if (obj3) {
34251 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34252 }
34253 {
34254 PyThreadState* __tstate = wxPyBeginAllowThreads();
34255 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
34256
34257 wxPyEndAllowThreads(__tstate);
34258 if (PyErr_Occurred()) SWIG_fail;
34259 }
34260 resultobj = PyInt_FromLong((long)result);
34261 return resultobj;
34262 fail:
34263 return NULL;
34264 }
34265
34266
34267 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
34268 int argc;
34269 PyObject *argv[5];
34270 int ii;
34271
34272 argc = PyObject_Length(args);
34273 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
34274 argv[ii] = PyTuple_GetItem(args,ii);
34275 }
34276 if ((argc >= 2) && (argc <= 3)) {
34277 int _v;
34278 {
34279 void *ptr;
34280 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34281 _v = 0;
34282 PyErr_Clear();
34283 } else {
34284 _v = 1;
34285 }
34286 }
34287 if (_v) {
34288 {
34289 void *ptr;
34290 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34291 _v = 0;
34292 PyErr_Clear();
34293 } else {
34294 _v = 1;
34295 }
34296 }
34297 if (_v) {
34298 if (argc <= 2) {
34299 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34300 }
34301 {
34302 void *ptr;
34303 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34304 _v = 0;
34305 PyErr_Clear();
34306 } else {
34307 _v = 1;
34308 }
34309 }
34310 if (_v) {
34311 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
34312 }
34313 }
34314 }
34315 }
34316 if ((argc >= 3) && (argc <= 4)) {
34317 int _v;
34318 {
34319 void *ptr;
34320 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
34321 _v = 0;
34322 PyErr_Clear();
34323 } else {
34324 _v = 1;
34325 }
34326 }
34327 if (_v) {
34328 {
34329 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
34330 }
34331 if (_v) {
34332 {
34333 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
34334 }
34335 if (_v) {
34336 if (argc <= 3) {
34337 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34338 }
34339 {
34340 void *ptr;
34341 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
34342 _v = 0;
34343 PyErr_Clear();
34344 } else {
34345 _v = 1;
34346 }
34347 }
34348 if (_v) {
34349 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
34350 }
34351 }
34352 }
34353 }
34354 }
34355
34356 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34357 return NULL;
34358 }
34359
34360
34361 static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
34362 PyObject *obj;
34363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34364 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
34365 Py_INCREF(obj);
34366 return Py_BuildValue((char *)"");
34367 }
34368 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
34369 PyObject *resultobj;
34370 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34371 int arg2 ;
34372 wxWindow *arg3 = (wxWindow *) 0 ;
34373 int arg4 ;
34374 int arg5 = (int) 0 ;
34375 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
34376 PyObject * obj0 = 0 ;
34377 PyObject * obj2 = 0 ;
34378 char *kwnames[] = {
34379 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34380 };
34381
34382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
34383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34384 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34385 {
34386 PyThreadState* __tstate = wxPyBeginAllowThreads();
34387 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34388
34389 wxPyEndAllowThreads(__tstate);
34390 if (PyErr_Occurred()) SWIG_fail;
34391 }
34392 Py_INCREF(Py_None); resultobj = Py_None;
34393 return resultobj;
34394 fail:
34395 return NULL;
34396 }
34397
34398
34399 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34400 PyObject *resultobj;
34401 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34402 wxWindow *arg2 = (wxWindow *) 0 ;
34403 int arg3 = (int) 0 ;
34404 PyObject * obj0 = 0 ;
34405 PyObject * obj1 = 0 ;
34406 char *kwnames[] = {
34407 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34408 };
34409
34410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34413 {
34414 PyThreadState* __tstate = wxPyBeginAllowThreads();
34415 (arg1)->LeftOf(arg2,arg3);
34416
34417 wxPyEndAllowThreads(__tstate);
34418 if (PyErr_Occurred()) SWIG_fail;
34419 }
34420 Py_INCREF(Py_None); resultobj = Py_None;
34421 return resultobj;
34422 fail:
34423 return NULL;
34424 }
34425
34426
34427 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34428 PyObject *resultobj;
34429 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34430 wxWindow *arg2 = (wxWindow *) 0 ;
34431 int arg3 = (int) 0 ;
34432 PyObject * obj0 = 0 ;
34433 PyObject * obj1 = 0 ;
34434 char *kwnames[] = {
34435 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34436 };
34437
34438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34441 {
34442 PyThreadState* __tstate = wxPyBeginAllowThreads();
34443 (arg1)->RightOf(arg2,arg3);
34444
34445 wxPyEndAllowThreads(__tstate);
34446 if (PyErr_Occurred()) SWIG_fail;
34447 }
34448 Py_INCREF(Py_None); resultobj = Py_None;
34449 return resultobj;
34450 fail:
34451 return NULL;
34452 }
34453
34454
34455 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34456 PyObject *resultobj;
34457 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34458 wxWindow *arg2 = (wxWindow *) 0 ;
34459 int arg3 = (int) 0 ;
34460 PyObject * obj0 = 0 ;
34461 PyObject * obj1 = 0 ;
34462 char *kwnames[] = {
34463 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34464 };
34465
34466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34468 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34469 {
34470 PyThreadState* __tstate = wxPyBeginAllowThreads();
34471 (arg1)->Above(arg2,arg3);
34472
34473 wxPyEndAllowThreads(__tstate);
34474 if (PyErr_Occurred()) SWIG_fail;
34475 }
34476 Py_INCREF(Py_None); resultobj = Py_None;
34477 return resultobj;
34478 fail:
34479 return NULL;
34480 }
34481
34482
34483 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34484 PyObject *resultobj;
34485 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34486 wxWindow *arg2 = (wxWindow *) 0 ;
34487 int arg3 = (int) 0 ;
34488 PyObject * obj0 = 0 ;
34489 PyObject * obj1 = 0 ;
34490 char *kwnames[] = {
34491 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34492 };
34493
34494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34497 {
34498 PyThreadState* __tstate = wxPyBeginAllowThreads();
34499 (arg1)->Below(arg2,arg3);
34500
34501 wxPyEndAllowThreads(__tstate);
34502 if (PyErr_Occurred()) SWIG_fail;
34503 }
34504 Py_INCREF(Py_None); resultobj = Py_None;
34505 return resultobj;
34506 fail:
34507 return NULL;
34508 }
34509
34510
34511 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34512 PyObject *resultobj;
34513 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34514 wxWindow *arg2 = (wxWindow *) 0 ;
34515 int arg3 ;
34516 int arg4 = (int) 0 ;
34517 PyObject * obj0 = 0 ;
34518 PyObject * obj1 = 0 ;
34519 char *kwnames[] = {
34520 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34521 };
34522
34523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34525 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34526 {
34527 PyThreadState* __tstate = wxPyBeginAllowThreads();
34528 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34529
34530 wxPyEndAllowThreads(__tstate);
34531 if (PyErr_Occurred()) SWIG_fail;
34532 }
34533 Py_INCREF(Py_None); resultobj = Py_None;
34534 return resultobj;
34535 fail:
34536 return NULL;
34537 }
34538
34539
34540 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34541 PyObject *resultobj;
34542 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34543 wxWindow *arg2 = (wxWindow *) 0 ;
34544 int arg3 ;
34545 int arg4 ;
34546 PyObject * obj0 = 0 ;
34547 PyObject * obj1 = 0 ;
34548 char *kwnames[] = {
34549 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34550 };
34551
34552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34554 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34555 {
34556 PyThreadState* __tstate = wxPyBeginAllowThreads();
34557 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34558
34559 wxPyEndAllowThreads(__tstate);
34560 if (PyErr_Occurred()) SWIG_fail;
34561 }
34562 Py_INCREF(Py_None); resultobj = Py_None;
34563 return resultobj;
34564 fail:
34565 return NULL;
34566 }
34567
34568
34569 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34570 PyObject *resultobj;
34571 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34572 int arg2 ;
34573 PyObject * obj0 = 0 ;
34574 char *kwnames[] = {
34575 (char *) "self",(char *) "val", NULL
34576 };
34577
34578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34580 {
34581 PyThreadState* __tstate = wxPyBeginAllowThreads();
34582 (arg1)->Absolute(arg2);
34583
34584 wxPyEndAllowThreads(__tstate);
34585 if (PyErr_Occurred()) SWIG_fail;
34586 }
34587 Py_INCREF(Py_None); resultobj = Py_None;
34588 return resultobj;
34589 fail:
34590 return NULL;
34591 }
34592
34593
34594 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34595 PyObject *resultobj;
34596 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34597 PyObject * obj0 = 0 ;
34598 char *kwnames[] = {
34599 (char *) "self", NULL
34600 };
34601
34602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34604 {
34605 PyThreadState* __tstate = wxPyBeginAllowThreads();
34606 (arg1)->Unconstrained();
34607
34608 wxPyEndAllowThreads(__tstate);
34609 if (PyErr_Occurred()) SWIG_fail;
34610 }
34611 Py_INCREF(Py_None); resultobj = Py_None;
34612 return resultobj;
34613 fail:
34614 return NULL;
34615 }
34616
34617
34618 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34619 PyObject *resultobj;
34620 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34621 PyObject * obj0 = 0 ;
34622 char *kwnames[] = {
34623 (char *) "self", NULL
34624 };
34625
34626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34628 {
34629 PyThreadState* __tstate = wxPyBeginAllowThreads();
34630 (arg1)->AsIs();
34631
34632 wxPyEndAllowThreads(__tstate);
34633 if (PyErr_Occurred()) SWIG_fail;
34634 }
34635 Py_INCREF(Py_None); resultobj = Py_None;
34636 return resultobj;
34637 fail:
34638 return NULL;
34639 }
34640
34641
34642 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34643 PyObject *resultobj;
34644 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34645 wxWindow *result;
34646 PyObject * obj0 = 0 ;
34647 char *kwnames[] = {
34648 (char *) "self", NULL
34649 };
34650
34651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34653 {
34654 PyThreadState* __tstate = wxPyBeginAllowThreads();
34655 result = (wxWindow *)(arg1)->GetOtherWindow();
34656
34657 wxPyEndAllowThreads(__tstate);
34658 if (PyErr_Occurred()) SWIG_fail;
34659 }
34660 {
34661 resultobj = wxPyMake_wxObject(result);
34662 }
34663 return resultobj;
34664 fail:
34665 return NULL;
34666 }
34667
34668
34669 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34670 PyObject *resultobj;
34671 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34672 int result;
34673 PyObject * obj0 = 0 ;
34674 char *kwnames[] = {
34675 (char *) "self", NULL
34676 };
34677
34678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34680 {
34681 PyThreadState* __tstate = wxPyBeginAllowThreads();
34682 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34683
34684 wxPyEndAllowThreads(__tstate);
34685 if (PyErr_Occurred()) SWIG_fail;
34686 }
34687 resultobj = PyInt_FromLong((long)result);
34688 return resultobj;
34689 fail:
34690 return NULL;
34691 }
34692
34693
34694 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34695 PyObject *resultobj;
34696 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34697 int arg2 ;
34698 PyObject * obj0 = 0 ;
34699 char *kwnames[] = {
34700 (char *) "self",(char *) "which", NULL
34701 };
34702
34703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34705 {
34706 PyThreadState* __tstate = wxPyBeginAllowThreads();
34707 (arg1)->SetEdge((wxEdge )arg2);
34708
34709 wxPyEndAllowThreads(__tstate);
34710 if (PyErr_Occurred()) SWIG_fail;
34711 }
34712 Py_INCREF(Py_None); resultobj = Py_None;
34713 return resultobj;
34714 fail:
34715 return NULL;
34716 }
34717
34718
34719 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34720 PyObject *resultobj;
34721 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34722 int arg2 ;
34723 PyObject * obj0 = 0 ;
34724 char *kwnames[] = {
34725 (char *) "self",(char *) "v", NULL
34726 };
34727
34728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34730 {
34731 PyThreadState* __tstate = wxPyBeginAllowThreads();
34732 (arg1)->SetValue(arg2);
34733
34734 wxPyEndAllowThreads(__tstate);
34735 if (PyErr_Occurred()) SWIG_fail;
34736 }
34737 Py_INCREF(Py_None); resultobj = Py_None;
34738 return resultobj;
34739 fail:
34740 return NULL;
34741 }
34742
34743
34744 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34745 PyObject *resultobj;
34746 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34747 int result;
34748 PyObject * obj0 = 0 ;
34749 char *kwnames[] = {
34750 (char *) "self", NULL
34751 };
34752
34753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",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 result = (int)(arg1)->GetMargin();
34758
34759 wxPyEndAllowThreads(__tstate);
34760 if (PyErr_Occurred()) SWIG_fail;
34761 }
34762 resultobj = PyInt_FromLong((long)result);
34763 return resultobj;
34764 fail:
34765 return NULL;
34766 }
34767
34768
34769 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34770 PyObject *resultobj;
34771 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34772 int arg2 ;
34773 PyObject * obj0 = 0 ;
34774 char *kwnames[] = {
34775 (char *) "self",(char *) "m", NULL
34776 };
34777
34778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) 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 (arg1)->SetMargin(arg2);
34783
34784 wxPyEndAllowThreads(__tstate);
34785 if (PyErr_Occurred()) SWIG_fail;
34786 }
34787 Py_INCREF(Py_None); resultobj = Py_None;
34788 return resultobj;
34789 fail:
34790 return NULL;
34791 }
34792
34793
34794 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34795 PyObject *resultobj;
34796 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34797 int result;
34798 PyObject * obj0 = 0 ;
34799 char *kwnames[] = {
34800 (char *) "self", NULL
34801 };
34802
34803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34805 {
34806 PyThreadState* __tstate = wxPyBeginAllowThreads();
34807 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34808
34809 wxPyEndAllowThreads(__tstate);
34810 if (PyErr_Occurred()) SWIG_fail;
34811 }
34812 resultobj = PyInt_FromLong((long)result);
34813 return resultobj;
34814 fail:
34815 return NULL;
34816 }
34817
34818
34819 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34820 PyObject *resultobj;
34821 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34822 int result;
34823 PyObject * obj0 = 0 ;
34824 char *kwnames[] = {
34825 (char *) "self", NULL
34826 };
34827
34828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34830 {
34831 PyThreadState* __tstate = wxPyBeginAllowThreads();
34832 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34833
34834 wxPyEndAllowThreads(__tstate);
34835 if (PyErr_Occurred()) SWIG_fail;
34836 }
34837 resultobj = PyInt_FromLong((long)result);
34838 return resultobj;
34839 fail:
34840 return NULL;
34841 }
34842
34843
34844 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34845 PyObject *resultobj;
34846 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34847 int result;
34848 PyObject * obj0 = 0 ;
34849 char *kwnames[] = {
34850 (char *) "self", NULL
34851 };
34852
34853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34855 {
34856 PyThreadState* __tstate = wxPyBeginAllowThreads();
34857 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34858
34859 wxPyEndAllowThreads(__tstate);
34860 if (PyErr_Occurred()) SWIG_fail;
34861 }
34862 resultobj = PyInt_FromLong((long)result);
34863 return resultobj;
34864 fail:
34865 return NULL;
34866 }
34867
34868
34869 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34870 PyObject *resultobj;
34871 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34872 bool result;
34873 PyObject * obj0 = 0 ;
34874 char *kwnames[] = {
34875 (char *) "self", NULL
34876 };
34877
34878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
34879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34880 {
34881 PyThreadState* __tstate = wxPyBeginAllowThreads();
34882 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
34883
34884 wxPyEndAllowThreads(__tstate);
34885 if (PyErr_Occurred()) SWIG_fail;
34886 }
34887 resultobj = PyInt_FromLong((long)result);
34888 return resultobj;
34889 fail:
34890 return NULL;
34891 }
34892
34893
34894 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34895 PyObject *resultobj;
34896 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34897 bool arg2 ;
34898 PyObject * obj0 = 0 ;
34899 PyObject * obj1 = 0 ;
34900 char *kwnames[] = {
34901 (char *) "self",(char *) "d", NULL
34902 };
34903
34904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
34905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34906 arg2 = PyInt_AsLong(obj1) ? true : false;
34907 if (PyErr_Occurred()) SWIG_fail;
34908 {
34909 PyThreadState* __tstate = wxPyBeginAllowThreads();
34910 (arg1)->SetDone(arg2);
34911
34912 wxPyEndAllowThreads(__tstate);
34913 if (PyErr_Occurred()) SWIG_fail;
34914 }
34915 Py_INCREF(Py_None); resultobj = Py_None;
34916 return resultobj;
34917 fail:
34918 return NULL;
34919 }
34920
34921
34922 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34923 PyObject *resultobj;
34924 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34925 int result;
34926 PyObject * obj0 = 0 ;
34927 char *kwnames[] = {
34928 (char *) "self", NULL
34929 };
34930
34931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
34932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34933 {
34934 PyThreadState* __tstate = wxPyBeginAllowThreads();
34935 result = (int)(arg1)->GetRelationship();
34936
34937 wxPyEndAllowThreads(__tstate);
34938 if (PyErr_Occurred()) SWIG_fail;
34939 }
34940 resultobj = PyInt_FromLong((long)result);
34941 return resultobj;
34942 fail:
34943 return NULL;
34944 }
34945
34946
34947 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34948 PyObject *resultobj;
34949 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34950 int arg2 ;
34951 PyObject * obj0 = 0 ;
34952 char *kwnames[] = {
34953 (char *) "self",(char *) "r", NULL
34954 };
34955
34956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
34957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34958 {
34959 PyThreadState* __tstate = wxPyBeginAllowThreads();
34960 (arg1)->SetRelationship((wxRelationship )arg2);
34961
34962 wxPyEndAllowThreads(__tstate);
34963 if (PyErr_Occurred()) SWIG_fail;
34964 }
34965 Py_INCREF(Py_None); resultobj = Py_None;
34966 return resultobj;
34967 fail:
34968 return NULL;
34969 }
34970
34971
34972 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
34973 PyObject *resultobj;
34974 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34975 wxWindow *arg2 = (wxWindow *) 0 ;
34976 bool result;
34977 PyObject * obj0 = 0 ;
34978 PyObject * obj1 = 0 ;
34979 char *kwnames[] = {
34980 (char *) "self",(char *) "otherW", NULL
34981 };
34982
34983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
34984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34986 {
34987 PyThreadState* __tstate = wxPyBeginAllowThreads();
34988 result = (bool)(arg1)->ResetIfWin(arg2);
34989
34990 wxPyEndAllowThreads(__tstate);
34991 if (PyErr_Occurred()) SWIG_fail;
34992 }
34993 resultobj = PyInt_FromLong((long)result);
34994 return resultobj;
34995 fail:
34996 return NULL;
34997 }
34998
34999
35000 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
35001 PyObject *resultobj;
35002 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35003 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
35004 wxWindow *arg3 = (wxWindow *) 0 ;
35005 bool result;
35006 PyObject * obj0 = 0 ;
35007 PyObject * obj1 = 0 ;
35008 PyObject * obj2 = 0 ;
35009 char *kwnames[] = {
35010 (char *) "self",(char *) "constraints",(char *) "win", NULL
35011 };
35012
35013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
35014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35016 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35017 {
35018 PyThreadState* __tstate = wxPyBeginAllowThreads();
35019 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
35020
35021 wxPyEndAllowThreads(__tstate);
35022 if (PyErr_Occurred()) SWIG_fail;
35023 }
35024 resultobj = PyInt_FromLong((long)result);
35025 return resultobj;
35026 fail:
35027 return NULL;
35028 }
35029
35030
35031 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
35032 PyObject *resultobj;
35033 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
35034 int arg2 ;
35035 wxWindow *arg3 = (wxWindow *) 0 ;
35036 wxWindow *arg4 = (wxWindow *) 0 ;
35037 int result;
35038 PyObject * obj0 = 0 ;
35039 PyObject * obj2 = 0 ;
35040 PyObject * obj3 = 0 ;
35041 char *kwnames[] = {
35042 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35043 };
35044
35045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
35046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35047 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35048 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35049 {
35050 PyThreadState* __tstate = wxPyBeginAllowThreads();
35051 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
35052
35053 wxPyEndAllowThreads(__tstate);
35054 if (PyErr_Occurred()) SWIG_fail;
35055 }
35056 resultobj = PyInt_FromLong((long)result);
35057 return resultobj;
35058 fail:
35059 return NULL;
35060 }
35061
35062
35063 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
35064 PyObject *obj;
35065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35066 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
35067 Py_INCREF(obj);
35068 return Py_BuildValue((char *)"");
35069 }
35070 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35071 PyObject *resultobj;
35072 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35073 wxIndividualLayoutConstraint *result;
35074 PyObject * obj0 = 0 ;
35075 char *kwnames[] = {
35076 (char *) "self", NULL
35077 };
35078
35079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
35080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35081 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
35082
35083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35084 return resultobj;
35085 fail:
35086 return NULL;
35087 }
35088
35089
35090 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35091 PyObject *resultobj;
35092 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35093 wxIndividualLayoutConstraint *result;
35094 PyObject * obj0 = 0 ;
35095 char *kwnames[] = {
35096 (char *) "self", NULL
35097 };
35098
35099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
35100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35101 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
35102
35103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35104 return resultobj;
35105 fail:
35106 return NULL;
35107 }
35108
35109
35110 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35111 PyObject *resultobj;
35112 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35113 wxIndividualLayoutConstraint *result;
35114 PyObject * obj0 = 0 ;
35115 char *kwnames[] = {
35116 (char *) "self", NULL
35117 };
35118
35119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
35120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35121 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
35122
35123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35124 return resultobj;
35125 fail:
35126 return NULL;
35127 }
35128
35129
35130 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35131 PyObject *resultobj;
35132 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35133 wxIndividualLayoutConstraint *result;
35134 PyObject * obj0 = 0 ;
35135 char *kwnames[] = {
35136 (char *) "self", NULL
35137 };
35138
35139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
35140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35141 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
35142
35143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35144 return resultobj;
35145 fail:
35146 return NULL;
35147 }
35148
35149
35150 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35151 PyObject *resultobj;
35152 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35153 wxIndividualLayoutConstraint *result;
35154 PyObject * obj0 = 0 ;
35155 char *kwnames[] = {
35156 (char *) "self", NULL
35157 };
35158
35159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
35160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35161 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
35162
35163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35164 return resultobj;
35165 fail:
35166 return NULL;
35167 }
35168
35169
35170 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35171 PyObject *resultobj;
35172 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35173 wxIndividualLayoutConstraint *result;
35174 PyObject * obj0 = 0 ;
35175 char *kwnames[] = {
35176 (char *) "self", NULL
35177 };
35178
35179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
35180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35181 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
35182
35183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35184 return resultobj;
35185 fail:
35186 return NULL;
35187 }
35188
35189
35190 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35191 PyObject *resultobj;
35192 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35193 wxIndividualLayoutConstraint *result;
35194 PyObject * obj0 = 0 ;
35195 char *kwnames[] = {
35196 (char *) "self", NULL
35197 };
35198
35199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
35200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35201 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
35202
35203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35204 return resultobj;
35205 fail:
35206 return NULL;
35207 }
35208
35209
35210 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
35211 PyObject *resultobj;
35212 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35213 wxIndividualLayoutConstraint *result;
35214 PyObject * obj0 = 0 ;
35215 char *kwnames[] = {
35216 (char *) "self", NULL
35217 };
35218
35219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
35220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35221 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
35222
35223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
35224 return resultobj;
35225 fail:
35226 return NULL;
35227 }
35228
35229
35230 static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35231 PyObject *resultobj;
35232 wxLayoutConstraints *result;
35233 char *kwnames[] = {
35234 NULL
35235 };
35236
35237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
35238 {
35239 PyThreadState* __tstate = wxPyBeginAllowThreads();
35240 result = (wxLayoutConstraints *)new wxLayoutConstraints();
35241
35242 wxPyEndAllowThreads(__tstate);
35243 if (PyErr_Occurred()) SWIG_fail;
35244 }
35245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
35246 return resultobj;
35247 fail:
35248 return NULL;
35249 }
35250
35251
35252 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
35253 PyObject *resultobj;
35254 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35255 wxWindow *arg2 = (wxWindow *) 0 ;
35256 int *arg3 = (int *) 0 ;
35257 bool result;
35258 int temp3 ;
35259 PyObject * obj0 = 0 ;
35260 PyObject * obj1 = 0 ;
35261 char *kwnames[] = {
35262 (char *) "self",(char *) "win", NULL
35263 };
35264
35265 arg3 = &temp3;
35266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
35267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35269 {
35270 PyThreadState* __tstate = wxPyBeginAllowThreads();
35271 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
35272
35273 wxPyEndAllowThreads(__tstate);
35274 if (PyErr_Occurred()) SWIG_fail;
35275 }
35276 resultobj = PyInt_FromLong((long)result);
35277 {
35278 PyObject *o = PyInt_FromLong((long) (*arg3));
35279 resultobj = t_output_helper(resultobj,o);
35280 }
35281 return resultobj;
35282 fail:
35283 return NULL;
35284 }
35285
35286
35287 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
35288 PyObject *resultobj;
35289 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
35290 bool result;
35291 PyObject * obj0 = 0 ;
35292 char *kwnames[] = {
35293 (char *) "self", NULL
35294 };
35295
35296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
35297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
35298 {
35299 PyThreadState* __tstate = wxPyBeginAllowThreads();
35300 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
35301
35302 wxPyEndAllowThreads(__tstate);
35303 if (PyErr_Occurred()) SWIG_fail;
35304 }
35305 resultobj = PyInt_FromLong((long)result);
35306 return resultobj;
35307 fail:
35308 return NULL;
35309 }
35310
35311
35312 static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
35313 PyObject *obj;
35314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35315 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
35316 Py_INCREF(obj);
35317 return Py_BuildValue((char *)"");
35318 }
35319 static PyMethodDef SwigMethods[] = {
35320 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
35321 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
35322 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
35323 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
35324 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
35325 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
35326 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
35327 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
35328 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
35329 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
35330 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
35331 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
35332 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
35333 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
35334 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
35335 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
35336 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
35337 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
35338 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
35339 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
35340 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
35341 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
35342 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
35343 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
35344 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
35345 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
35346 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
35347 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
35348 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
35349 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
35350 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
35351 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
35352 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
35353 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
35354 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
35355 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
35356 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
35357 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
35358 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
35359 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
35360 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
35361 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
35362 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
35363 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
35364 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
35365 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
35366 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
35367 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
35368 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
35369 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
35370 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
35371 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
35372 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
35373 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
35374 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
35375 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
35376 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
35377 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
35378 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
35379 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
35380 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
35381 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
35382 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35383 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35384 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35385 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35386 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35387 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35388 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35389 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35390 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35391 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35392 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35393 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35394 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35395 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35396 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35397 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35398 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35399 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35400 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35401 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35402 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35403 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35404 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35405 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35406 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35407 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35408 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35409 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35410 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35411 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35412 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35413 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35414 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35415 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
35416 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
35417 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35418 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35419 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35420 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35421 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35422 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35423 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35424 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35425 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35426 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35427 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35428 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35429 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35430 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35431 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35432 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35433 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35434 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35435 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35436 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35437 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35438 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
35439 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35440 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35441 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35442 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35443 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
35444 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
35445 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35446 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35447 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35448 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35449 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35450 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35451 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35452 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35453 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35455 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35457 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35460 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35462 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35463 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35464 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35466 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35467 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35468 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35469 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35470 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35472 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35473 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35474 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35475 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35476 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35477 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35478 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35479 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35480 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35481 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35482 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35483 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35485 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35487 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35489 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35490 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35491 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35492 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35493 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35494 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35496 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35497 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35498 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35500 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35502 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35503 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35505 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35506 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35507 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35509 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35511 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35513 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35515 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35519 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35522 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35523 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35526 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35528 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35529 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35530 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35533 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35540 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35541 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35542 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35543 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35544 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35545 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35550 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35555 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35556 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35560 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35566 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35571 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35572 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35573 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35574 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35577 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35584 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35591 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35595 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35601 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35603 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35606 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35608 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35610 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35612 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35614 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35616 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35618 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35620 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35622 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35624 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35626 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35630 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35636 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35640 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35646 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35656 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35658 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35661 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35664 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35676 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35681 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35687 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35693 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35709 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35719 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35723 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35737 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35755 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35762 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35788 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35797 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35802 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35805 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35807 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35808 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35814 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35817 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35819 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35821 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35824 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35828 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35831 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35834 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35836 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35841 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35849 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35853 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35856 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35858 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35860 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35862 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
35879 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
35881 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
35884 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
35886 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
35887 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
35890 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
35894 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
35902 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
35905 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
35908 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
35912 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35916 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
35919 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35923 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
35924 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
35929 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35940 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
35941 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35955 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
35973 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
35976 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
35990 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
35994 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
36005 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
36008 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
36009 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
36014 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
36019 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
36021 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
36031 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36043 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
36046 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
36052 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
36056 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36059 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
36061 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
36070 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
36074 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
36080 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
36081 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
36082 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
36083 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
36084 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36089 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36090 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
36098 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
36100 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
36102 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
36117 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
36129 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
36130 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
36131 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
36132 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
36133 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
36134 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
36135 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
36136 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
36137 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
36138 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
36139 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
36140 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
36141 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
36142 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
36143 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
36144 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
36145 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
36146 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
36147 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
36148 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
36149 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
36150 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
36151 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
36152 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
36153 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
36154 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
36155 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
36156 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
36157 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
36158 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
36159 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
36160 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
36161 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
36162 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
36163 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
36164 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
36165 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
36166 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
36167 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
36168 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
36169 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
36170 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
36171 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36172 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
36173 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
36174 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
36175 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
36176 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
36177 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36178 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
36179 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
36180 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
36181 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
36182 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
36183 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
36184 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
36185 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
36186 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
36187 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
36188 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
36189 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
36190 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
36191 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
36192 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
36193 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
36194 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
36195 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36196 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
36197 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
36198 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
36199 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
36200 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
36201 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
36202 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
36203 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
36204 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
36205 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
36206 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
36207 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
36208 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
36209 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
36210 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
36211 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
36212 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
36213 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
36214 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
36215 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
36216 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
36217 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
36218 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
36219 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
36220 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
36221 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
36222 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
36223 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
36224 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
36225 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
36226 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
36227 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
36228 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
36229 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
36230 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36231 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
36232 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
36233 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
36234 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
36235 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36236 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36237 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
36238 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
36239 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
36240 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
36241 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36242 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
36243 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
36244 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
36245 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
36246 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
36247 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
36248 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
36249 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
36250 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
36251 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
36252 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
36253 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
36254 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
36255 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
36256 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
36257 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
36258 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
36259 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
36260 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
36261 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
36262 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
36263 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
36264 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
36265 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
36266 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
36267 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
36268 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
36269 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36270 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
36271 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
36272 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
36273 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
36274 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
36275 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
36276 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
36277 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
36278 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
36279 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
36280 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
36281 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
36282 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
36283 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
36284 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
36285 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
36286 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
36287 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
36288 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
36289 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
36290 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
36291 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
36292 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
36293 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
36294 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
36295 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
36296 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
36297 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
36298 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
36299 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
36300 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
36301 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
36302 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
36303 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
36304 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
36305 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
36306 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
36307 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
36308 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
36309 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
36310 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
36311 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
36312 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
36313 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
36314 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
36315 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
36316 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
36317 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
36318 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
36319 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
36320 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
36321 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
36322 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
36323 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
36324 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
36325 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
36326 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
36327 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
36328 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
36329 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
36330 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
36331 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
36332 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
36333 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
36334 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36335 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36336 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36337 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36338 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
36339 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
36340 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
36341 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
36342 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36343 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
36344 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
36345 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
36346 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
36347 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
36348 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
36349 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
36350 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
36351 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
36352 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
36353 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
36354 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
36355 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
36356 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
36357 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
36358 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
36359 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
36360 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
36361 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
36362 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
36363 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
36364 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
36365 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
36366 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
36367 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
36368 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
36369 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
36370 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
36371 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
36372 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
36373 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
36374 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36375 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
36376 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
36377 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
36378 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
36379 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
36380 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
36381 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
36382 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36383 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36384 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
36385 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
36386 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
36387 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
36388 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
36389 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
36390 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
36391 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36392 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36393 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36394 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36395 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36396 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36397 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36398 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36399 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36400 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36401 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36402 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36403 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36404 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36405 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36406 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36407 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36408 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36409 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36410 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36411 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36412 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36413 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36414 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36415 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36416 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36417 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36418 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36419 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36420 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36421 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36422 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36423 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36424 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36425 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36426 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36427 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36428 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36429 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36430 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36431 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36432 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36433 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36434 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
36435 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
36436 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36437 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36438 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36439 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36440 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36441 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36442 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36443 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
36444 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
36445 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
36446 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36447 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36448 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36449 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36450 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36451 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36452 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36453 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
36454 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
36455 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
36456 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36457 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36458 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36459 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36460 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36461 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36462 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36463 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36464 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36465 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36466 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36467 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36468 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36469 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36470 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36471 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36472 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36473 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36474 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36475 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36476 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36477 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36478 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36479 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36480 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
36481 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
36482 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36483 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36484 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36485 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36486 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36487 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36488 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36489 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36490 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36491 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36492 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36493 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36494 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36495 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36496 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36497 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36498 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36499 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36500 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36501 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36502 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36503 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36504 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36505 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36506 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36507 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36508 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36509 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36510 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36511 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36512 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36513 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36514 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36515 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36516 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36517 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36518 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36519 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36520 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36521 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36522 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36523 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36524 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36525 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36526 { NULL, NULL }
36527 };
36528
36529
36530 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36531
36532 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36533 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36534 }
36535 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36536 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36537 }
36538 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36539 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36540 }
36541 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36542 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36543 }
36544 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36545 return (void *)((wxSizer *) ((wxGridSizer *) x));
36546 }
36547 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36548 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36549 }
36550 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36551 return (void *)((wxSizer *) ((wxPySizer *) x));
36552 }
36553 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36554 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36555 }
36556 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36558 }
36559 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36560 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36561 }
36562 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36563 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36564 }
36565 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36566 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36567 }
36568 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36569 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36570 }
36571 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36572 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36573 }
36574 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36575 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36576 }
36577 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36578 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36579 }
36580 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36581 return (void *)((wxEvent *) ((wxPyEvent *) x));
36582 }
36583 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36584 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36585 }
36586 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36587 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36588 }
36589 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36590 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36591 }
36592 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36593 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36594 }
36595 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36596 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36597 }
36598 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36599 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36600 }
36601 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36602 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36603 }
36604 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36605 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36606 }
36607 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36608 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36609 }
36610 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36611 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36612 }
36613 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36614 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36615 }
36616 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36617 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36618 }
36619 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36620 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36621 }
36622 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36623 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36624 }
36625 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36626 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36627 }
36628 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36629 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36630 }
36631 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36632 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36633 }
36634 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36635 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36636 }
36637 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36638 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36639 }
36640 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36641 return (void *)((wxEvent *) ((wxShowEvent *) x));
36642 }
36643 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36644 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36645 }
36646 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36648 }
36649 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36650 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36651 }
36652 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36653 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36654 }
36655 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36656 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36657 }
36658 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36659 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36660 }
36661 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36662 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36663 }
36664 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36665 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36666 }
36667 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36668 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36669 }
36670 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36671 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36672 }
36673 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36674 return (void *)((wxControl *) ((wxControlWithItems *) x));
36675 }
36676 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36677 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36678 }
36679 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36680 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36681 }
36682 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36683 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36684 }
36685 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36686 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36687 }
36688 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36689 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36690 }
36691 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36692 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36693 }
36694 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36695 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36696 }
36697 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36698 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36699 }
36700 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36701 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36702 }
36703 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36704 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36705 }
36706 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36707 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36708 }
36709 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36710 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36711 }
36712 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36713 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36714 }
36715 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36716 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36717 }
36718 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36719 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36720 }
36721 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36722 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36723 }
36724 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36725 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36726 }
36727 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36728 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36729 }
36730 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36731 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36732 }
36733 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36734 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36735 }
36736 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36737 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36738 }
36739 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36740 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36741 }
36742 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36743 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36744 }
36745 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36746 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36747 }
36748 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36749 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36750 }
36751 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36752 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36753 }
36754 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36755 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36756 }
36757 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36758 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36759 }
36760 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36761 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36762 }
36763 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36764 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36765 }
36766 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36767 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36768 }
36769 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36771 }
36772 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36773 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36774 }
36775 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36776 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36777 }
36778 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36779 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36780 }
36781 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36782 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36783 }
36784 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36785 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36786 }
36787 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36789 }
36790 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36791 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36792 }
36793 static void *_p_wxSizerTo_p_wxObject(void *x) {
36794 return (void *)((wxObject *) ((wxSizer *) x));
36795 }
36796 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36797 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36798 }
36799 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36800 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36801 }
36802 static void *_p_wxMenuTo_p_wxObject(void *x) {
36803 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36804 }
36805 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36806 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36807 }
36808 static void *_p_wxImageTo_p_wxObject(void *x) {
36809 return (void *)((wxObject *) ((wxImage *) x));
36810 }
36811 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36813 }
36814 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36816 }
36817 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36818 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36819 }
36820 static void *_p_wxWindowTo_p_wxObject(void *x) {
36821 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36822 }
36823 static void *_p_wxControlTo_p_wxObject(void *x) {
36824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36825 }
36826 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36827 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36828 }
36829 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36830 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36831 }
36832 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36833 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36834 }
36835 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36836 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36837 }
36838 static void *_p_wxEventTo_p_wxObject(void *x) {
36839 return (void *)((wxObject *) ((wxEvent *) x));
36840 }
36841 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36842 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36843 }
36844 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36845 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36846 }
36847 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36848 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36849 }
36850 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36851 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36852 }
36853 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36854 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36855 }
36856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36857 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36858 }
36859 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36861 }
36862 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36863 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36864 }
36865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36867 }
36868 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36869 return (void *)((wxObject *) ((wxEvtHandler *) x));
36870 }
36871 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36872 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36873 }
36874 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36875 return (void *)((wxObject *) ((wxImageHandler *) x));
36876 }
36877 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36878 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36879 }
36880 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36881 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36882 }
36883 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36884 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36885 }
36886 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36887 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36888 }
36889 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36890 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36891 }
36892 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36893 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36894 }
36895 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36896 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36897 }
36898 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36899 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36900 }
36901 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36902 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36903 }
36904 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36905 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36906 }
36907 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36908 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36909 }
36910 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36911 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36912 }
36913 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36914 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36915 }
36916 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36917 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36918 }
36919 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36920 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36921 }
36922 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36923 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36924 }
36925 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36926 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36927 }
36928 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36929 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36930 }
36931 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36932 return (void *)((wxObject *) ((wxFileSystem *) x));
36933 }
36934 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36935 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36936 }
36937 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36938 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36939 }
36940 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36941 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36942 }
36943 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36944 return (void *)((wxObject *) ((wxSizerItem *) x));
36945 }
36946 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36947 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36948 }
36949 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36950 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36951 }
36952 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36953 return (void *)((wxObject *) ((wxFSFile *) x));
36954 }
36955 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36956 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36957 }
36958 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36960 }
36961 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36962 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36963 }
36964 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36965 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36966 }
36967 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36968 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36969 }
36970 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36971 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36972 }
36973 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36974 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36975 }
36976 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36977 return (void *)((wxObject *) ((wxMenuItem *) x));
36978 }
36979 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36980 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36981 }
36982 static void *_p_wxControlTo_p_wxWindow(void *x) {
36983 return (void *)((wxWindow *) ((wxControl *) x));
36984 }
36985 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36986 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36987 }
36988 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36989 return (void *)((wxWindow *) ((wxMenuBar *) x));
36990 }
36991 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36992 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36993 }
36994 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36995 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36996 }
36997 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36998 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36999 }
37000 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
37001 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
37002 }
37003 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
37004 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37005 }
37006 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
37007 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
37008 }
37009 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
37010 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
37011 }
37012 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
37013 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
37014 }
37015 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
37016 return (void *)((wxValidator *) ((wxPyValidator *) x));
37017 }
37018 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37019 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37020 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
37021 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37022 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37023 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37024 static 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}};
37025 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
37026 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37027 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37028 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37029 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37030 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37031 static 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}};
37032 static 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}};
37033 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
37034 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37035 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
37036 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37037 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37038 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37039 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37040 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37041 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37042 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
37043 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37044 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37045 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37046 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37047 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37048 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37049 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37050 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37051 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37052 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37053 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37054 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37055 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37056 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37057 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37058 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37059 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37060 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37061 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37062 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37063 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37064 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37065 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37066 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37067 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37068 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37069 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37070 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37071 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37072 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37073 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37074 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37075 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37076 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37077 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37078 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37079 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37080 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37081 static 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}};
37082 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
37083 static 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}};
37084 static 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}};
37085 static 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}};
37086 static 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}};
37087 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37088 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37089 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37090 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37091 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37092 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37093 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37094 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37095 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37096 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37097 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37098 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37099 static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37100 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37101 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37102 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
37103 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37104 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37105 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37106 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37107 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37108 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37109 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37110 static 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}};
37111 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37112 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37113 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37114 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37115 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37116 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37117 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37118 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37119 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37120 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37121 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37122 static 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}};
37123 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37124 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37125 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37126 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37127 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37128 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37129 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37130 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
37131 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37132
37133 static swig_type_info *swig_types_initial[] = {
37134 _swigt__p_wxLayoutConstraints,
37135 _swigt__p_wxRealPoint,
37136 _swigt__p_wxSizerItem,
37137 _swigt__p_wxGBSizerItem,
37138 _swigt__p_wxScrollEvent,
37139 _swigt__p_wxIndividualLayoutConstraint,
37140 _swigt__p_wxSizer,
37141 _swigt__p_wxBoxSizer,
37142 _swigt__p_wxStaticBoxSizer,
37143 _swigt__p_wxGridBagSizer,
37144 _swigt__p_wxAcceleratorEntry,
37145 _swigt__p_wxUpdateUIEvent,
37146 _swigt__p_wxMenu,
37147 _swigt__p_wxEvent,
37148 _swigt__p_wxGridSizer,
37149 _swigt__p_wxFlexGridSizer,
37150 _swigt__p_wxInitDialogEvent,
37151 _swigt__p_wxItemContainer,
37152 _swigt__p_wxNcPaintEvent,
37153 _swigt__p_wxPaintEvent,
37154 _swigt__p_wxSysColourChangedEvent,
37155 _swigt__p_wxMouseCaptureChangedEvent,
37156 _swigt__p_wxDisplayChangedEvent,
37157 _swigt__p_wxPaletteChangedEvent,
37158 _swigt__p_wxControl,
37159 _swigt__p_wxFont,
37160 _swigt__p_wxMenuBarBase,
37161 _swigt__p_wxSetCursorEvent,
37162 _swigt__p_wxFSFile,
37163 _swigt__p_wxCaret,
37164 _swigt__p_wxRegion,
37165 _swigt__p_wxPoint2D,
37166 _swigt__p_int,
37167 _swigt__p_wxSize,
37168 _swigt__p_wxDC,
37169 _swigt__p_wxPySizer,
37170 _swigt__p_wxNotifyEvent,
37171 _swigt__p_wxPyEvent,
37172 _swigt__p_wxPropagationDisabler,
37173 _swigt__p_wxAppTraits,
37174 _swigt__p_wxArrayString,
37175 _swigt__p_wxShowEvent,
37176 _swigt__p_wxToolTip,
37177 _swigt__p_wxMaximizeEvent,
37178 _swigt__p_wxIconizeEvent,
37179 _swigt__p_wxActivateEvent,
37180 _swigt__p_wxMoveEvent,
37181 _swigt__p_wxSizeEvent,
37182 _swigt__p_wxQueryNewPaletteEvent,
37183 _swigt__p_wxWindowCreateEvent,
37184 _swigt__p_wxIdleEvent,
37185 _swigt__p_wxMenuItem,
37186 _swigt__p_wxStaticBox,
37187 _swigt__p_long,
37188 _swigt__p_wxTIFFHandler,
37189 _swigt__p_wxXPMHandler,
37190 _swigt__p_wxPNMHandler,
37191 _swigt__p_wxJPEGHandler,
37192 _swigt__p_wxPCXHandler,
37193 _swigt__p_wxGIFHandler,
37194 _swigt__p_wxPNGHandler,
37195 _swigt__p_wxANIHandler,
37196 _swigt__p_wxMemoryFSHandler,
37197 _swigt__p_wxEvtHandler,
37198 _swigt__p_wxCURHandler,
37199 _swigt__p_wxICOHandler,
37200 _swigt__p_wxBMPHandler,
37201 _swigt__p_wxImageHandler,
37202 _swigt__p_wxFileSystemHandler,
37203 _swigt__p_wxPyFileSystemHandler,
37204 _swigt__p_wxInternetFSHandler,
37205 _swigt__p_wxZipFSHandler,
37206 _swigt__p_wxRect,
37207 _swigt__p_wxGBSpan,
37208 _swigt__p_wxPropagateOnce,
37209 _swigt__p_wxAcceleratorTable,
37210 _swigt__p_wxGBPosition,
37211 _swigt__p_wxImage,
37212 _swigt__p_wxFrame,
37213 _swigt__p_wxScrollWinEvent,
37214 _swigt__p_wxImageHistogram,
37215 _swigt__p_byte,
37216 _swigt__p_wxPoint,
37217 _swigt__p_wxCursor,
37218 _swigt__p_wxObject,
37219 _swigt__p_wxPyInputStream,
37220 _swigt__p_wxOutputStream,
37221 _swigt__p_wxInputStream,
37222 _swigt__p_wxDateTime,
37223 _swigt__p_wxKeyEvent,
37224 _swigt__p_wxNavigationKeyEvent,
37225 _swigt__p_wxWindowDestroyEvent,
37226 _swigt__p_wxWindow,
37227 _swigt__p_wxMenuBar,
37228 _swigt__p_wxString,
37229 _swigt__p_wxFileSystem,
37230 _swigt__p_wxBitmap,
37231 _swigt__p_wxMenuEvent,
37232 _swigt__p_wxContextMenuEvent,
37233 _swigt__p_unsigned_char,
37234 _swigt__p_wxCloseEvent,
37235 _swigt__p_wxEraseEvent,
37236 _swigt__p_wxMouseEvent,
37237 _swigt__p_wxPyApp,
37238 _swigt__p_wxCommandEvent,
37239 _swigt__p_wxPyCommandEvent,
37240 _swigt__p_wxPyDropTarget,
37241 _swigt__p_wxChildFocusEvent,
37242 _swigt__p_wxFocusEvent,
37243 _swigt__p_wxDropFilesEvent,
37244 _swigt__p_wxControlWithItems,
37245 _swigt__p_wxColour,
37246 _swigt__p_wxValidator,
37247 _swigt__p_wxPyValidator,
37248 0
37249 };
37250
37251
37252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37253
37254 static swig_const_info swig_const_table[] = {
37255 { SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
37256 { SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
37257 { SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
37258 { SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
37259 { SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
37260 { SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
37261 { SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
37262 { SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
37263 { SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
37264 { SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
37265 { SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
37266 { SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
37267 { SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
37268 { SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
37269 { SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
37270 { SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
37271 { SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
37272 { SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
37273 { SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
37274 { SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
37275 { SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
37276 { SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
37277 { SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
37278 { SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
37279 { SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
37280 { SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
37281 { SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
37282 { SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
37283 { SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
37284 { SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
37285 { SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
37286 { SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
37287 { SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
37288 { SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
37289 { SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
37290 { SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
37291 { SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
37292 { SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
37293 { SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
37294 { SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
37295 { SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
37296 { SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
37297 { SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
37298 { SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
37299 { SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
37300 { SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
37301 { SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
37302 { SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
37303 { SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
37304 { SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
37305 { SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
37306 { SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
37307 { SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
37308 { SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
37309 { SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
37310 { SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
37311 { SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
37312 { SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
37313 { SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
37314 { SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
37315 { SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
37316 { SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
37317 { SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
37318 { SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
37319 { SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
37320 { SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
37321 { SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
37322 { SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
37323 { SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
37324 { SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
37325 { SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
37326 { SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
37327 { SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
37328 { SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
37329 { SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
37330 { SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
37331 { SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
37332 { SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
37333 { SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
37334 { SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
37335 { SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
37336 { SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
37337 { SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
37338 { SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
37339 { SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
37340 { SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
37341 { SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
37342 { SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
37343 { SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
37344 { SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
37345 { SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
37346 { SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
37347 { SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
37348 { SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
37349 { SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
37350 { SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
37351 { SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
37352 { SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
37353 { SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
37354 { SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
37355 { SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
37356 { SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
37357 { SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
37358 { SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
37359 { SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
37360 { SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
37361 { SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
37362 { SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
37363 { SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
37364 { SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
37365 { SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
37366 { SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
37367 { SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
37368 { SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
37369 { SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
37370 { SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
37371 { SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
37372 { SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
37373 { SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
37374 { SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
37375 { SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
37376 { SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
37377 { SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
37378 { SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
37379 { SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
37380 { SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
37381 { SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
37382 { SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
37383 { SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
37384 { SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
37385 { SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
37386 { SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
37387 { SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
37388 { SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
37389 { SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
37390 { SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
37391 { SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
37392 { SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
37393 { SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
37394 { SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
37395 { SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
37396 { SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
37397 { SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
37398 { SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
37399 { SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37400 { SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37401 { SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37402 { SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37403 { SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37404 { SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37405 { SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37406 { SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37407 { SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37408 { SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37409 { SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37410 { SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37411 { SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37412 { SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37413 { SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37414 { SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37415 { SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37416 { SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37417 { SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37418 { SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37419 { SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37420 { SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37421 { SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37422 { SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37423 { SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37424 { SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37425 { SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37426 { SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37427 { SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37428 { SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37429 { SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37430 { SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37431 { SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37432 { SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37433 { SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37434 { SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37435 { SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37436 { SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37437 { SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37438 { SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37439 { SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37440 { SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37441 { SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37442 { SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37443 { SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37444 { SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37445 { SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37446 { SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37447 { SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37448 { SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37449 { SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37450 { SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37451 { SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37452 { SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37453 { SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37454 { SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37455 { SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37456 { SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37457 { SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37458 { SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37459 { SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37460 { SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37461 { SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37462 { SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37463 { SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37464 { SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37465 { SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37466 { SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37467 { SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37468 { SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37469 { SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37470 { SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37471 { SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37472 { SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37473 { SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37474 { SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37475 { SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37476 { SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37477 { SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37478 { SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37479 { SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37480 { SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37481 { SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37482 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37483 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37484 { SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37485 { SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37486 { SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37487 { SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37488 { SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37489 { SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37490 { SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37491 { SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37492 { SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37493 { SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37494 { SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37495 { SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37496 { SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37497 { SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37498 { SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37499 { SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37500 { SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37501 { SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37502 { SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37503 { SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37504 { SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37505 { SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37506 { SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37507 { SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37508 { SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37509 { SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37510 { SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37511 { SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37512 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37513 { SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37514 { SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37515 { SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37516 { SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37517 { SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37518 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37519 { SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37520 { SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37521 { SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37522 { SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37523 { SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37524 { SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37525 { SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37526 { SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37527 { SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37528 { SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37529 { SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37530 { SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37531 { SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37532 { SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37533 { SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37534 { SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37535 { SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37536 { SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37537 { SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37538 { SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37539 { SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37540 { SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37541 { SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37542 { SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37543 { SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37544 { SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37545 { SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37546 { SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37547 { SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37548 { SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37549 { SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37550 { SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37551 { SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37552 { SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37553 { SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37554 { SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37555 { SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37556 { SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37557 { SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37558 { SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37559 { SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37560 { SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37561 { SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37562 { SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37563 { SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37564 { SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37565 { SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37566 { SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37567 { SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37568 { SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37569 { SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37570 { SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37571 { SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37572 { SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37573 { SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37574 { SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37575 { SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37576 { SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37577 { SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37578 { SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37579 { SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37580 { SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37581 { SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37582 { SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37583 { SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37584 { SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37585 { SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37586 { SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37587 { SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37588 { SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37589 { SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37590 { SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37591 { SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37592 { SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37593 { SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37594 { SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37595 { SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37596 { SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37597 { SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37598 { SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37599 { SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37600 { SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37601 { SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37602 { SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37603 { SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37604 { SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37605 { SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37606 { SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37607 { SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37608 { SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37609 { SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37610 { SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37611 { SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37612 { SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37613 { SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37614 { SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37615 { SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37616 { SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37617 { SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37618 { SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37619 { SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37620 { SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37621 { SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37622 { SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37623 { SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37624 { SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37625 { SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37626 { SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37627 { SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37628 { SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37629 { SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37630 { SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37631 { SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37632 { SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37633 { SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37634 { SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37635 { SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37636 { SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37637 { SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37638 { SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37639 { SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37640 { SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37641 { SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37642 { SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37643 { SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37644 { SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37645 { SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37646 { SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37647 { SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37648 { SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37649 { SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37650 { SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37651 { SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37652 { SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37653 { SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37654 { SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37655 { SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37656 { SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37657 { SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37658 { SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37659 { SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37660 { SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37661 { SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37662 { SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37663 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37664 { SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37665 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37666 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37667 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37668 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37669 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37670 { SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37671 { SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37672 { SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37673 { SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37674 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37675 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37676 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37677 { SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37678 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37679 { SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37680 { SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37681 { SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37682 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37683 { SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37684 { SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37685 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37686 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37687 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37688 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37689 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37690 { SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37691 { SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37692 { SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37693 { SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37694 { SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37695 { SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37696 { SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37697 { SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37698 { SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37699 { SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37700 { SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37701 { SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37702 { SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37703 { SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37704 { SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37705 { SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37706 { SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37707 { SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37708 { SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37709 { SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37710 { SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37711 { SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37712 { SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37713 { SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37714 { SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37715 { SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37716 { SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37717 { SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37718 { SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37719 { SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37720 { SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37721 { SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37722 { SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37723 { SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37724 { SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37725 { SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37726 { SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37727 { SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37728 { SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37729 { SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37730 { SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37731 { SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37732 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37733 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37734 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37735 { SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37736 { SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37737 { SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37738 { SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37739 { SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37740 { SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37741 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37742 { SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37743 { SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37744 { SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37745 { SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37746 { SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37747 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37748 { SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37749 { SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37750 { SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37751 { SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37752 { SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37753 { SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37754 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37755 { SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37756 { SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37757 { SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37758 { SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37759 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37760 { SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37761 { SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37762 { SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37763 { SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37764 { SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37765 { SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37766 { SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37767 { SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37768 { SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37769 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37770 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37771 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37772 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37773 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37774 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37775 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37776 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37777 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37778 { SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37779 { SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37780 { SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37781 { SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37782 { SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37783 { SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37784 { SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37785 { SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37786 { SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37787 { SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37788 { SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37789 { SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37790 { SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37791 { SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37792 { SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37793 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37794 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37795 { SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37796 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37797 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37798 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37799 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37800 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37801 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37802 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37803 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37804 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37805 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37806 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37807 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37808 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37809 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37810 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37811 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37812 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37813 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37814 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37815 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37816 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37817 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37818 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37819 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37820 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37821 { SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37822 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37823 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37824 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37825 { SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37826 { SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37827 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37828 { SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37829 { SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37830 { SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37831 { SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37832 { SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37833 { SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37834 { SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37835 { SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37836 { SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37837 { SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37838 { SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37839 { SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37840 { SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37841 { SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37842 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37843 { SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37844 { SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37845 { SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37846 { SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37847 { SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37848 { SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37849 { SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37850 { SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37851 { SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37852 { SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37853 { SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37854 { SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37855 { SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37856 { SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37857 { SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37858 { SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37859 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37860 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37861 { SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37862 { SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37863 { SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37864 { SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37865 { SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37866 { SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37867 { SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37868 { SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37869 { SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37870 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37871 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37872 { SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
37873 { SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
37874 { SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
37875 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
37876 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
37877 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
37878 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
37879 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
37880 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
37881 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
37882 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
37883 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
37884 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
37885 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
37886 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
37887 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
37888 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
37889 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
37890 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
37891 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
37892 { SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
37893 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
37894 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
37895 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
37896 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
37897 { SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
37898 { SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
37899 { SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
37900 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
37901 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
37902 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
37903 { SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
37904 { SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
37905 { SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
37906 { SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
37907 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
37908 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
37909 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
37910 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
37911 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
37912 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
37913 { SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
37914 { SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
37915 { SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
37916 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
37917 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
37918 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
37919 { SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
37920 { SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
37921 { SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
37922 { SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
37923 { SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
37924 { SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
37925 { SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
37926 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
37927 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
37928 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
37929 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
37930 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
37931 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
37932 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
37933 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
37934 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
37935 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
37936 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
37937 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
37938 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
37939 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
37940 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
37941 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
37942 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
37943 { SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
37944 { SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
37945 { SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
37946 { SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
37947 { SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
37948 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
37949 { SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
37950 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
37951 { SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
37952 { SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
37953 { SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
37954 { SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
37955 { SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
37956 { SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
37957 { SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
37958 { SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
37959 { SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
37960 { SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
37961 { SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
37962 { SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
37963 { SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
37964 { SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
37965 { SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
37966 { SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
37967 { SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
37968 { SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
37969 { SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
37970 { SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
37971 { SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
37972 { SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
37973 { SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
37974 { SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
37975 { SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
37976 { SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
37977 { SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
37978 { SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
37979 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
37980 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
37981 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
37982 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
37983 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
37984 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
37985 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
37986 { SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
37987 { SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
37988 { SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
37989 { SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
37990 { SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
37991 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
37992 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
37993 { SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
37994 { SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
37995 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
37996 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
37997 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
37998 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
37999 { SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
38000 { SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
38001 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
38002 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
38003 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
38004 { SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
38005 { SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
38006 { SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
38007 { SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
38008 { SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
38009 { SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
38010 { SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
38011 { SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
38012 { SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
38013 { SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
38014 { SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
38015 { SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
38016 { SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
38017 { SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
38018 { SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
38019 { SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
38020 { SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
38021 { SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
38022 { SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
38023 {0}};
38024
38025 #ifdef __cplusplus
38026 }
38027 #endif
38028
38029 #ifdef __cplusplus
38030 extern "C"
38031 #endif
38032 SWIGEXPORT(void) SWIG_init(void) {
38033 static PyObject *SWIG_globals = 0;
38034 static int typeinit = 0;
38035 PyObject *m, *d;
38036 int i;
38037 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
38038 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38039 d = PyModule_GetDict(m);
38040
38041 if (!typeinit) {
38042 for (i = 0; swig_types_initial[i]; i++) {
38043 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
38044 }
38045 typeinit = 1;
38046 }
38047 SWIG_InstallConstants(d,swig_const_table);
38048
38049
38050 #ifndef wxPyUSE_EXPORT
38051 // Make our API structure a CObject so other modules can import it
38052 // from this module.
38053 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
38054 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
38055 Py_XDECREF(cobj);
38056 #endif
38057
38058 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
38059 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
38060 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
38061
38062 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38063
38064
38065 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38066
38067 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
38068 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
38069 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
38070 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
38071 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
38072 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
38073 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
38074 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
38075 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
38076 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
38077 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
38078 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
38079 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
38080 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
38081 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
38082 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
38083 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
38084 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
38085 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
38086 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
38087 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
38088 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
38089 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
38090 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
38091 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
38092 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
38093 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
38094 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
38095 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
38096 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
38097 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
38098 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
38099 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
38100 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
38101 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
38102 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
38103 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
38104 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
38105 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
38106 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
38107 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
38108 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
38109 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
38110 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
38111 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
38112 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
38113 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
38114 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
38115 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
38116 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
38117 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
38118 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
38119 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
38120 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
38121 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
38122 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
38123 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
38124 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
38125 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
38126 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
38127 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
38128 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
38129 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
38130 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
38131 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
38132 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
38133 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
38134 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
38135 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
38136 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
38137 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
38138 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
38139 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
38140 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
38141 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
38142 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
38143 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
38144 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
38145 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
38146 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
38147 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
38148 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
38149 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
38150 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
38151 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
38152 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
38153 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
38154 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
38155 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
38156 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
38157 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
38158 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
38159 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
38160 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
38161 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
38162 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
38163 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
38164 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
38165 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
38166 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
38167 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
38168 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
38169 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
38170 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
38171 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
38172 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
38173 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
38174 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
38175 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
38176 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
38177 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
38178 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
38179 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
38180 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
38181 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
38182 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
38183 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
38184 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
38185 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
38186 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
38187 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
38188 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
38189 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
38190 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
38191
38192 // Initialize threading, some globals and such
38193 __wxPyPreStart(d);
38194
38195
38196 // Although these are defined in __version__ they need to be here too so
38197 // that an assert can be done to ensure that the wxPython and the wxWindows
38198 // versions match.
38199 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
38200 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
38201 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
38202
38203 }
38204