]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/core_wrap.cpp
Merged the wxPy_newswig branch into the HEAD branch (main trunk)
[wxWidgets.git] / wxPython / src / gtk / 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 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
225 #define SWIGTYPE_p_wxRealPoint swig_types[1]
226 #define SWIGTYPE_p_wxSizerItem swig_types[2]
227 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
228 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
229 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
230 #define SWIGTYPE_p_wxSizer swig_types[6]
231 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
232 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
233 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
234 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
235 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
236 #define SWIGTYPE_p_wxMenu swig_types[12]
237 #define SWIGTYPE_p_wxEvent swig_types[13]
238 #define SWIGTYPE_p_wxGridSizer swig_types[14]
239 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
240 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
241 #define SWIGTYPE_p_wxItemContainer swig_types[17]
242 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
243 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
244 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
245 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
246 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
247 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
248 #define SWIGTYPE_p_wxControl swig_types[24]
249 #define SWIGTYPE_p_wxFont swig_types[25]
250 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
251 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
252 #define SWIGTYPE_p_wxFSFile swig_types[28]
253 #define SWIGTYPE_p_wxCaret swig_types[29]
254 #define SWIGTYPE_p_wxRegion swig_types[30]
255 #define SWIGTYPE_p_wxPoint2D swig_types[31]
256 #define SWIGTYPE_p_int swig_types[32]
257 #define SWIGTYPE_p_wxSize swig_types[33]
258 #define SWIGTYPE_p_wxDC swig_types[34]
259 #define SWIGTYPE_p_wxPySizer swig_types[35]
260 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
261 #define SWIGTYPE_p_wxPyEvent swig_types[37]
262 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
263 #define SWIGTYPE_p_wxAppTraits swig_types[39]
264 #define SWIGTYPE_p_wxArrayString swig_types[40]
265 #define SWIGTYPE_p_wxShowEvent swig_types[41]
266 #define SWIGTYPE_p_wxToolTip swig_types[42]
267 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
268 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
269 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
270 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
271 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
272 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
273 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
274 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
275 #define SWIGTYPE_p_wxMenuItem swig_types[51]
276 #define SWIGTYPE_p_wxStaticBox swig_types[52]
277 #define SWIGTYPE_p_long swig_types[53]
278 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
279 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
280 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
281 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
282 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
283 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
284 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
285 #define SWIGTYPE_p_wxANIHandler swig_types[61]
286 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
287 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
288 #define SWIGTYPE_p_wxCURHandler swig_types[64]
289 #define SWIGTYPE_p_wxICOHandler swig_types[65]
290 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
291 #define SWIGTYPE_p_wxImageHandler swig_types[67]
292 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
293 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
294 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
295 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
296 #define SWIGTYPE_p_wxRect swig_types[72]
297 #define SWIGTYPE_p_wxGBSpan swig_types[73]
298 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
299 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
300 #define SWIGTYPE_p_wxGBPosition swig_types[76]
301 #define SWIGTYPE_p_wxImage swig_types[77]
302 #define SWIGTYPE_p_wxFrame swig_types[78]
303 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
304 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
305 #define SWIGTYPE_p_byte swig_types[81]
306 #define SWIGTYPE_p_wxPoint swig_types[82]
307 #define SWIGTYPE_p_wxCursor swig_types[83]
308 #define SWIGTYPE_p_wxObject swig_types[84]
309 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
310 #define SWIGTYPE_p_wxOutputStream swig_types[86]
311 #define SWIGTYPE_p_wxInputStream swig_types[87]
312 #define SWIGTYPE_p_wxDateTime swig_types[88]
313 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
314 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
315 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
316 #define SWIGTYPE_p_wxWindow swig_types[92]
317 #define SWIGTYPE_p_wxMenuBar swig_types[93]
318 #define SWIGTYPE_p_wxString swig_types[94]
319 #define SWIGTYPE_p_wxFileSystem swig_types[95]
320 #define SWIGTYPE_p_wxBitmap swig_types[96]
321 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
322 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
323 #define SWIGTYPE_p_unsigned_char swig_types[99]
324 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
325 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
326 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
327 #define SWIGTYPE_p_wxPyApp swig_types[103]
328 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
329 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
330 #define SWIGTYPE_p_wxDropTarget swig_types[106]
331 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
332 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
333 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
334 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
335 #define SWIGTYPE_p_wxColour swig_types[111]
336 #define SWIGTYPE_p_wxValidator swig_types[112]
337 #define SWIGTYPE_p_wxPyValidator swig_types[113]
338 static swig_type_info *swig_types[115];
339
340 /* -------- TYPES TABLE (END) -------- */
341
342
343 /*-----------------------------------------------
344 @(target):= _core.so
345 ------------------------------------------------*/
346 #define SWIG_init init_core
347
348 #define SWIG_name "_core"
349
350 #include "wx/wxPython/wxPython_int.h"
351 #include "wx/wxPython/pyclasses.h"
352
353
354 #ifndef wxPyUSE_EXPORT
355 // Helper functions for dealing with SWIG objects and such. These are
356 // located here so they know about the SWIG types and functions declared
357 // in the wrapper code.
358
359 #include <wx/hashmap.h>
360 WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
361
362
363 // Maintains a hashmap of className to swig_type_info pointers. Given the
364 // name of a class either looks up the type info in the cache, or scans the
365 // SWIG tables for it.
366 extern PyObject* wxPyPtrTypeMap;
367 static
368 swig_type_info* wxPyFindSwigType(const wxChar* className) {
369
370 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
371
372 if (typeInfoCache == NULL)
373 typeInfoCache = new wxPyTypeInfoHashMap;
374
375 wxString name(className);
376 swig_type_info* swigType = (*typeInfoCache)[name];
377
378 if (! swigType) {
379 // it wasn't in the cache, so look it up from SWIG
380 name.Append(wxT(" *"));
381 swigType = SWIG_Python_TypeQuery(name.mb_str());
382
383 // if it still wasn't found, try looking for a mapped name
384 if (!swigType) {
385 PyObject* item;
386 name = className;
387
388 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
389 (char*)(const char*)name.mbc_str())) != NULL) {
390 name = wxString(PyString_AsString(item), *wxConvCurrent);
391 name.Append(wxT(" *"));
392 swigType = SWIG_Python_TypeQuery(name.mb_str());
393 }
394 }
395 if (swigType) {
396 // and add it to the map if found
397 (*typeInfoCache)[className] = swigType;
398 }
399 }
400 return swigType;
401 }
402
403
404 // Check if a class name is a type known to SWIG
405 bool wxPyCheckSwigType(const wxChar* className) {
406
407 swig_type_info* swigType = wxPyFindSwigType(className);
408 return swigType != NULL;
409 }
410
411
412 // Given a pointer to a C++ object and a class name, construct a Python proxy
413 // object for it.
414 PyObject* wxPyConstructObject(void* ptr,
415 const wxChar* className,
416 int setThisOwn) {
417
418 swig_type_info* swigType = wxPyFindSwigType(className);
419 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
420
421 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
422 }
423
424
425 // Extract a pointer to the wrapped C++ object from a Python proxy object.
426 // Ensures that the proxy object is of the specified (or derived) type. If
427 // not able to perform the conversion then a Python exception is set and the
428 // error should be handled properly in the caller. Returns true on success.
429 bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
430 const wxChar* className) {
431
432 swig_type_info* swigType = wxPyFindSwigType(className);
433 wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr"));
434
435 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
436 }
437
438
439 // Make a SWIGified pointer object suitable for a .this attribute
440 PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
441
442 PyObject* robj = NULL;
443
444 swig_type_info* swigType = wxPyFindSwigType(className);
445 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
446
447 #ifdef SWIG_COBJECT_TYPES
448 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
449 #else
450 {
451 char result[1024];
452 char *r = result;
453 *(r++) = '_';
454 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
455 strcpy(r, swigType->name);
456 robj = PyString_FromString(result);
457 }
458 #endif
459
460 return robj;
461 }
462
463
464
465
466 // Export a C API in a struct. Other modules will be able to load this from
467 // the wx.core module and will then have safe access to these functions, even if
468 // they are located in another shared library.
469 static wxPyCoreAPI API = {
470
471 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
472 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
473 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
474 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
475 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
476 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
477 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
478 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
479 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
480 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
481 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
482 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
483 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
484 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
485 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
486 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
487 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
488
489 wxPyCheckSwigType,
490 wxPyConstructObject,
491 wxPyConvertSwigPtr,
492 wxPyMakeSwigPtr,
493
494 wxPyBeginAllowThreads,
495 wxPyEndAllowThreads,
496 wxPyBeginBlockThreads,
497 wxPyEndBlockThreads,
498
499 wxPy_ConvertList,
500
501 wxString_in_helper,
502 Py2wxString,
503 wx2PyString,
504
505 byte_LIST_helper,
506 int_LIST_helper,
507 long_LIST_helper,
508 string_LIST_helper,
509 wxPoint_LIST_helper,
510 wxBitmap_LIST_helper,
511 wxString_LIST_helper,
512 wxAcceleratorEntry_LIST_helper,
513
514 wxSize_helper,
515 wxPoint_helper,
516 wxRealPoint_helper,
517 wxRect_helper,
518 wxColour_helper,
519 wxPoint2D_helper,
520
521 wxPySimple_typecheck,
522 wxColour_typecheck,
523
524 wxPyCBH_setCallbackInfo,
525 wxPyCBH_findCallback,
526 wxPyCBH_callCallback,
527 wxPyCBH_callCallbackObj,
528 wxPyCBH_delete,
529
530 wxPyMake_wxObject,
531 wxPyMake_wxSizer,
532 wxPyPtrTypeMap_Add,
533 wxPy2int_seq_helper,
534 wxPy4int_seq_helper,
535 wxArrayString2PyList_helper,
536 wxArrayInt2PyList_helper,
537
538 wxPyClientData_dtor,
539 wxPyUserData_dtor,
540 wxPyOORClientData_dtor,
541
542 wxPyCBInputStream_create,
543
544 wxPyInstance_Check,
545 wxPySwigInstance_Check
546
547 };
548
549 #endif
550
551
552 DECLARE_DEF_STRING(EmptyString);
553 DECLARE_DEF_STRING(PanelNameStr);
554
555
556 #if ! wxUSE_HOTKEY
557 enum wxHotkeyModifier
558 {
559 wxMOD_NONE = 0,
560 wxMOD_ALT = 1,
561 wxMOD_CONTROL = 2,
562 wxMOD_SHIFT = 4,
563 wxMOD_WIN = 8
564 };
565 #define wxEVT_HOTKEY 9999
566 #endif
567
568 wxString wxObject_GetClassName(wxObject *self){
569 return self->GetClassInfo()->GetClassName();
570 }
571 void wxObject_Destroy(wxObject *self){
572 delete self;
573 }
574
575 #ifndef __WXMAC__
576 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
577 #endif
578
579 PyObject *wxSize_asTuple(wxSize *self){
580 wxPyBeginBlockThreads();
581 PyObject* tup = PyTuple_New(2);
582 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
583 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
584 wxPyEndBlockThreads();
585 return tup;
586 }
587 void wxRealPoint_Set(wxRealPoint *self,double x,double y){
588 self->x = x;
589 self->y = y;
590 }
591 PyObject *wxRealPoint_asTuple(wxRealPoint *self){
592 wxPyBeginBlockThreads();
593 PyObject* tup = PyTuple_New(2);
594 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
595 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
596 wxPyEndBlockThreads();
597 return tup;
598 }
599 void wxPoint_Set(wxPoint *self,long x,long y){
600 self->x = x;
601 self->y = y;
602 }
603 PyObject *wxPoint_asTuple(wxPoint *self){
604 wxPyBeginBlockThreads();
605 PyObject* tup = PyTuple_New(2);
606 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
607 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
608 wxPyEndBlockThreads();
609 return tup;
610 }
611 void wxRect_Set(wxRect *self,int x,int y,int width,int height){
612 self->x = x;
613 self->y = y;
614 self->width = width;
615 self->height = height;
616 }
617 PyObject *wxRect_asTuple(wxRect *self){
618 wxPyBeginBlockThreads();
619 PyObject* tup = PyTuple_New(4);
620 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
621 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
622 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
623 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
624 wxPyEndBlockThreads();
625 return tup;
626 }
627
628 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
629 wxRegion reg1(*r1);
630 wxRegion reg2(*r2);
631 wxRect dest(0,0,0,0);
632 PyObject* obj;
633
634 reg1.Intersect(reg2);
635 dest = reg1.GetBox();
636
637 if (dest != wxRect(0,0,0,0)) {
638 wxPyBeginBlockThreads();
639 wxRect* newRect = new wxRect(dest);
640 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
641 wxPyEndBlockThreads();
642 return obj;
643 }
644 Py_INCREF(Py_None);
645 return Py_None;
646 }
647
648
649 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
650 PyObject* o2;
651 PyObject* o3;
652
653 if (!target) {
654 target = o;
655 } else if (target == Py_None) {
656 Py_DECREF(Py_None);
657 target = o;
658 } else {
659 if (!PyTuple_Check(target)) {
660 o2 = target;
661 target = PyTuple_New(1);
662 PyTuple_SetItem(target, 0, o2);
663 }
664 o3 = PyTuple_New(1);
665 PyTuple_SetItem(o3, 0, o);
666
667 o2 = target;
668 target = PySequence_Concat(o2, o3);
669 Py_DECREF(o2);
670 Py_DECREF(o3);
671 }
672 return target;
673 }
674
675 void wxPoint2D_Set(wxPoint2D *self,double x,double y){
676 self->m_x = x;
677 self->m_y = y;
678 }
679 PyObject *wxPoint2D_asTuple(wxPoint2D *self){
680 wxPyBeginBlockThreads();
681 PyObject* tup = PyTuple_New(2);
682 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
683 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
684 wxPyEndBlockThreads();
685 return tup;
686 }
687
688 #include "wx/wxPython/pyistream.h"
689
690 wxPyInputStream *new_wxPyInputStream(PyObject *p){
691 wxInputStream* wxis = wxPyCBInputStream::create(p);
692 if (wxis)
693 return new wxPyInputStream(wxis);
694 else
695 return NULL;
696 }
697 void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
698 // We use only strings for the streams, not unicode
699 PyObject* str = PyObject_Str(obj);
700 if (! str) {
701 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
702 return;
703 }
704 self->Write(PyString_AS_STRING(str),
705 PyString_GET_SIZE(str));
706 Py_DECREF(str);
707 }
708
709 #include "wx/wxPython/pyistream.h"
710
711
712 class wxPyFileSystemHandler : public wxFileSystemHandler
713 {
714 public:
715 wxPyFileSystemHandler() : wxFileSystemHandler() {}
716
717 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
718 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
719 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
720 DEC_PYCALLBACK_STRING__pure(FindNext);
721
722 wxString GetProtocol(const wxString& location) {
723 return wxFileSystemHandler::GetProtocol(location);
724 }
725
726 wxString GetLeftLocation(const wxString& location) {
727 return wxFileSystemHandler::GetLeftLocation(location);
728 }
729
730 wxString GetAnchor(const wxString& location) {
731 return wxFileSystemHandler::GetAnchor(location);
732 }
733
734 wxString GetRightLocation(const wxString& location) {
735 return wxFileSystemHandler::GetRightLocation(location);
736 }
737
738 wxString GetMimeTypeFromExt(const wxString& location) {
739 return wxFileSystemHandler::GetMimeTypeFromExt(location);
740 }
741
742 PYPRIVATE;
743 };
744
745
746 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
747 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
748 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
749 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
750
751
752 wxString wxFileSystem_URLToFileName(const wxString& url) {
753 wxFileName fname = wxFileSystem::URLToFileName(url);
754 return fname.GetFullPath();
755 }
756
757
758 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
759 wxImage& image,
760 long type) {
761 wxMemoryFSHandler::AddFile(filename, image, type);
762 }
763
764 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
765 const wxBitmap& bitmap,
766 long type) {
767 wxMemoryFSHandler::AddFile(filename, bitmap, type);
768 }
769
770 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
771 PyObject* data) {
772 wxMemoryFSHandler::AddFile(filename,
773 // TODO: Verify data type
774 (void*)PyString_AsString(data),
775 (size_t)PyString_Size(data));
776 }
777
778
779 #include "wx/wxPython/pyistream.h"
780
781 wxImage *new_wxImage(int width,int height,bool clear){
782 if (width > 0 && height > 0)
783 return new wxImage(width, height, clear);
784 else
785 return new wxImage;
786 }
787 wxImage *new_wxImage(wxBitmap const &bitmap){
788 return new wxImage(bitmap.ConvertToImage());
789 }
790 wxImage *new_wxImage(int width,int height,unsigned char *data){
791 // Copy the source data so the wxImage can clean it up later
792 unsigned char* copy = (unsigned char*)malloc(width*height*3);
793 if (copy == NULL) {
794 PyErr_NoMemory();
795 return NULL;
796 }
797 memcpy(copy, data, width*height*3);
798 return new wxImage(width, height, copy, FALSE);
799 }
800 PyObject *wxImage_GetData(wxImage *self){
801 unsigned char* data = self->GetData();
802 int len = self->GetWidth() * self->GetHeight() * 3;
803 PyObject* rv;
804 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
805 return rv;
806 }
807 void wxImage_SetData(wxImage *self,PyObject *data){
808 unsigned char* dataPtr;
809
810 if (! PyString_Check(data)) {
811 PyErr_SetString(PyExc_TypeError, "Expected string object");
812 return /* NULL */ ;
813 }
814
815 size_t len = self->GetWidth() * self->GetHeight() * 3;
816 dataPtr = (unsigned char*) malloc(len);
817 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
818 self->SetData(dataPtr);
819 // wxImage takes ownership of dataPtr...
820 }
821 PyObject *wxImage_GetDataBuffer(wxImage *self){
822 unsigned char* data = self->GetData();
823 int len = self->GetWidth() * self->GetHeight() * 3;
824 PyObject* rv;
825 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
826 return rv;
827 }
828 void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
829 unsigned char* buffer;
830 int size;
831
832 wxPyBeginBlockThreads();
833 if (!PyArg_Parse(data, "t#", &buffer, &size))
834 goto done;
835
836 if (size != self->GetWidth() * self->GetHeight() * 3) {
837 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
838 goto done;
839 }
840 self->SetData(buffer);
841 done:
842 wxPyEndBlockThreads();
843 }
844 PyObject *wxImage_GetAlphaData(wxImage *self){
845 unsigned char* data = self->GetAlpha();
846 if (! data) {
847 RETURN_NONE();
848 } else {
849 int len = self->GetWidth() * self->GetHeight();
850 PyObject* rv;
851 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
852 return rv;
853 }
854 }
855 void wxImage_SetAlphaData(wxImage *self,PyObject *data){
856 unsigned char* dataPtr;
857
858 if (! PyString_Check(data)) {
859 PyErr_SetString(PyExc_TypeError, "Expected string object");
860 return /* NULL */ ;
861 }
862
863 size_t len = self->GetWidth() * self->GetHeight();
864 dataPtr = (unsigned char*) malloc(len);
865 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
866 self->SetAlpha(dataPtr);
867 // wxImage takes ownership of dataPtr...
868 }
869 PyObject *wxImage_GetAlphaBuffer(wxImage *self){
870 unsigned char* data = self->GetAlpha();
871 int len = self->GetWidth() * self->GetHeight();
872 PyObject* rv;
873 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
874 return rv;
875 }
876 void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
877 unsigned char* buffer;
878 int size;
879
880 wxPyBeginBlockThreads();
881 if (!PyArg_Parse(data, "t#", &buffer, &size))
882 goto done;
883
884 if (size != self->GetWidth() * self->GetHeight()) {
885 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
886 goto done;
887 }
888 self->SetAlpha(buffer);
889 done:
890 wxPyEndBlockThreads();
891 }
892 wxBitmap wxImage_ConvertToBitmap(wxImage *self){
893 wxBitmap bitmap(*self);
894 return bitmap;
895 }
896 wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
897 wxImage mono = self->ConvertToMono( red, green, blue );
898 wxBitmap bitmap( mono, 1 );
899 return bitmap;
900 }
901 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
902 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
903 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
904 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
905 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
906 void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
907 if (PyCallable_Check(func)) {
908 self->Connect(id, lastId, eventType,
909 (wxObjectEventFunction) &wxPyCallback::EventThunker,
910 new wxPyCallback(func));
911 }
912 else if (func == Py_None) {
913 self->Disconnect(id, lastId, eventType,
914 (wxObjectEventFunction)
915 &wxPyCallback::EventThunker);
916 }
917 else {
918 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
919 }
920 }
921 bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
922 return self->Disconnect(id, lastId, eventType,
923 (wxObjectEventFunction)
924 &wxPyCallback::EventThunker);
925 }
926 void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
927 if (_self && _self != Py_None) {
928 self->SetClientObject(new wxPyOORClientData(_self));
929 }
930 else {
931 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
932 if (data) {
933 self->SetClientObject(NULL); // This will delete it too
934 }
935 }
936 }
937 int wxKeyEvent_GetUniChar(wxKeyEvent *self){
938
939
940
941 return 0;
942
943 }
944 void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
945 self->m_size = size;
946 }
947 void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
948 self->m_pos = pos;
949 }
950 PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
951 int count = self->GetNumberOfFiles();
952 wxString* files = self->GetFiles();
953 PyObject* list = PyList_New(count);
954
955 if (!list) {
956 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
957 return NULL;
958 }
959
960 for (int i=0; i<count; i++) {
961
962
963
964 PyList_SetItem(list, i, PyString_FromString((const char*)files[i]));
965
966 }
967 return list;
968 }
969
970
971 wxPyApp *new_wxPyApp(){
972 wxPythonApp = new wxPyApp();
973 return wxPythonApp;
974 }
975 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError); return 0; }
976
977 void wxApp_CleanUp() {
978 __wxPyCleanup();
979 }
980
981
982 wxPyApp* wxGetApp() {
983 return (wxPyApp*)wxTheApp;
984 }
985
986
987
988 PyObject *wxWindow_GetChildren(wxWindow *self){
989 wxWindowList& list = self->GetChildren();
990 return wxPy_ConvertList(&list);
991 }
992 bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
993
994
995
996 return FALSE;
997
998 }
999 bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1000
1001
1002
1003 return FALSE;
1004
1005 }
1006 long wxWindow_GetHandle(wxWindow *self){
1007 return wxPyGetWinHandle(self);
1008 }
1009
1010 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1011 return wxWindow::FindWindowById(id, parent);
1012 }
1013
1014 wxWindow* wxFindWindowByName( const wxString& name,
1015 const wxWindow *parent = NULL ) {
1016 return wxWindow::FindWindowByName(name, parent);
1017 }
1018
1019 wxWindow* wxFindWindowByLabel( const wxString& label,
1020 const wxWindow *parent = NULL ) {
1021 return wxWindow::FindWindowByLabel(label, parent);
1022 }
1023
1024
1025 wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
1026 #ifdef __WXMSW__
1027 wxWindow* win = new wxWindow;
1028 win->SetHWND(hWnd);
1029 win->SubclassWin(hWnd);
1030 return win;
1031 #else
1032 PyErr_SetNone(PyExc_NotImplementedError);
1033 return NULL;
1034 #endif
1035 }
1036
1037
1038 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1039 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1040 IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1041
1042 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1043
1044 void wxMenu_Destroy(wxMenu *self){ delete self; }
1045 PyObject *wxMenu_GetMenuItems(wxMenu *self){
1046 wxMenuItemList& list = self->GetMenuItems();
1047 return wxPy_ConvertList(&list);
1048 }
1049 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1050
1051 DECLARE_DEF_STRING(ControlNameStr);
1052
1053 int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1054 if (clientData) {
1055 wxPyClientData* data = new wxPyClientData(clientData);
1056 return self->Append(item, data);
1057 } else
1058 return self->Append(item);
1059 }
1060 int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1061 if (clientData) {
1062 wxPyClientData* data = new wxPyClientData(clientData);
1063 return self->Insert(item, pos, data);
1064 } else
1065 return self->Insert(item, pos);
1066 }
1067 PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1068 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1069 if (data) {
1070 Py_INCREF(data->m_obj);
1071 return data->m_obj;
1072 } else {
1073 Py_INCREF(Py_None);
1074 return Py_None;
1075 }
1076 }
1077 void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1078 wxPyClientData* data = new wxPyClientData(clientData);
1079 self->SetClientObject(n, data);
1080 }
1081
1082
1083 PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1084 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1085 if (data) {
1086 Py_INCREF(data->m_obj);
1087 return data->m_obj;
1088 } else {
1089 Py_INCREF(Py_None);
1090 return Py_None;
1091 }
1092 }
1093
1094 // Figure out the type of the sizer item
1095
1096 struct wxPySizerItemInfo {
1097 wxPySizerItemInfo()
1098 : window(NULL), sizer(NULL), gotSize(false),
1099 size(wxDefaultSize), gotPos(false), pos(-1)
1100 {}
1101
1102 wxWindow* window;
1103 wxSizer* sizer;
1104 bool gotSize;
1105 wxSize size;
1106 bool gotPos;
1107 int pos;
1108 };
1109
1110 static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1111
1112 wxPySizerItemInfo info;
1113 wxSize size;
1114 wxSize* sizePtr = &size;
1115
1116 // Find out what the type of the item is
1117 // try wxWindow
1118 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1119 PyErr_Clear();
1120 info.window = NULL;
1121
1122 // try wxSizer
1123 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1124 PyErr_Clear();
1125 info.sizer = NULL;
1126
1127 // try wxSize or (w,h)
1128 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1129 info.size = *sizePtr;
1130 info.gotSize = true;
1131 }
1132
1133 // or a single int
1134 if (checkIdx && PyInt_Check(item)) {
1135 info.pos = PyInt_AsLong(item);
1136 info.gotPos = true;
1137 }
1138 }
1139 }
1140
1141 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1142 // no expected type, figure out what kind of error message to generate
1143 if ( !checkSize && !checkIdx )
1144 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1145 else if ( checkSize && !checkIdx )
1146 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1147 else if ( !checkSize && checkIdx)
1148 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1149 else
1150 // can this one happen?
1151 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1152 }
1153
1154 return info;
1155 }
1156
1157 void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1158 self->SetClientObject(new wxPyOORClientData(_self));
1159 }
1160 void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1161
1162 wxPyUserData* data = NULL;
1163 wxPyBeginBlockThreads();
1164 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
1165 if ( userData && (info.window || info.sizer || info.gotSize) )
1166 data = new wxPyUserData(userData);
1167 wxPyEndBlockThreads();
1168
1169 // Now call the real Add method if a valid item type was found
1170 if ( info.window )
1171 self->Add(info.window, proportion, flag, border, data);
1172 else if ( info.sizer )
1173 self->Add(info.sizer, proportion, flag, border, data);
1174 else if (info.gotSize)
1175 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1176 proportion, flag, border, data);
1177 }
1178 void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1179
1180 wxPyUserData* data = NULL;
1181 wxPyBeginBlockThreads();
1182 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
1183 if ( userData && (info.window || info.sizer || info.gotSize) )
1184 data = new wxPyUserData(userData);
1185 wxPyEndBlockThreads();
1186
1187 // Now call the real Insert method if a valid item type was found
1188 if ( info.window )
1189 self->Insert(before, info.window, proportion, flag, border, data);
1190 else if ( info.sizer )
1191 self->Insert(before, info.sizer, proportion, flag, border, data);
1192 else if (info.gotSize)
1193 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1194 proportion, flag, border, data);
1195 }
1196 void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1197
1198 wxPyUserData* data = NULL;
1199 wxPyBeginBlockThreads();
1200 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
1201 if ( userData && (info.window || info.sizer || info.gotSize) )
1202 data = new wxPyUserData(userData);
1203 wxPyEndBlockThreads();
1204
1205 // Now call the real Prepend method if a valid item type was found
1206 if ( info.window )
1207 self->Prepend(info.window, proportion, flag, border, data);
1208 else if ( info.sizer )
1209 self->Prepend(info.sizer, proportion, flag, border, data);
1210 else if (info.gotSize)
1211 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1212 proportion, flag, border, data);
1213 }
1214 bool wxSizer_Remove(wxSizer *self,PyObject *item){
1215 wxPyBeginBlockThreads();
1216 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1217 wxPyEndBlockThreads();
1218 if ( info.window )
1219 return self->Remove(info.window);
1220 else if ( info.sizer )
1221 return self->Remove(info.sizer);
1222 else if ( info.gotPos )
1223 return self->Remove(info.pos);
1224 else
1225 return FALSE;
1226 }
1227 void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize size){
1228 wxPyBeginBlockThreads();
1229 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1230 wxPyEndBlockThreads();
1231 if ( info.window )
1232 self->SetItemMinSize(info.window, size);
1233 else if ( info.sizer )
1234 self->SetItemMinSize(info.sizer, size);
1235 else if ( info.gotPos )
1236 self->SetItemMinSize(info.pos, size);
1237 }
1238 PyObject *wxSizer_GetChildren(wxSizer *self){
1239 wxSizerItemList& list = self->GetChildren();
1240 return wxPy_ConvertList(&list);
1241 }
1242 void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1243 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
1244 if ( info.window )
1245 self->Show(info.window, show);
1246 else if ( info.sizer )
1247 self->Show(info.sizer, show);
1248 }
1249 void wxSizer_Hide(wxSizer *self,PyObject *item){
1250 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
1251 if ( info.window )
1252 self->Hide(info.window);
1253 else if ( info.sizer )
1254 self->Hide(info.sizer);
1255 }
1256 bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1257 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
1258 if ( info.window )
1259 return self->IsShown(info.window);
1260 else if ( info.sizer )
1261 return self->IsShown(info.sizer);
1262 else
1263 return false;
1264 }
1265
1266 // See pyclasses.h
1267 IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1268 IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1269 IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1270
1271
1272
1273
1274 bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1275 {
1276 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1277 }
1278
1279 bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1280 {
1281 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1282 }
1283
1284
1285 PyObject *wxGBPosition_asTuple(wxGBPosition *self){
1286 wxPyBeginBlockThreads();
1287 PyObject* tup = PyTuple_New(2);
1288 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1289 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1290 wxPyEndBlockThreads();
1291 return tup;
1292 }
1293 PyObject *wxGBSpan_asTuple(wxGBSpan *self){
1294 wxPyBeginBlockThreads();
1295 PyObject* tup = PyTuple_New(2);
1296 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1297 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1298 wxPyEndBlockThreads();
1299 return tup;
1300 }
1301 bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1302
1303 wxPyUserData* data = NULL;
1304 wxPyBeginBlockThreads();
1305 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
1306 if ( userData && (info.window || info.sizer || info.gotSize) )
1307 data = new wxPyUserData(userData);
1308 wxPyEndBlockThreads();
1309
1310 // Now call the real Add method if a valid item type was found
1311 if ( info.window )
1312 return self->Add(info.window, pos, span, flag, border, data);
1313 else if ( info.sizer )
1314 return self->Add(info.sizer, pos, span, flag, border, data);
1315 else if (info.gotSize)
1316 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1317 pos, span, flag, border, data);
1318 return false;
1319 }
1320
1321
1322 #ifdef __cplusplus
1323 extern "C" {
1324 #endif
1325 static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 wxObject *arg1 = (wxObject *) 0 ;
1328 wxString result;
1329 PyObject * obj0 = 0 ;
1330 char *kwnames[] = {
1331 (char *) "self", NULL
1332 };
1333
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = wxObject_GetClassName(arg1);
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 {
1344 #if wxUSE_UNICODE
1345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1346 #else
1347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1348 #endif
1349 }
1350 return resultobj;
1351 fail:
1352 return NULL;
1353 }
1354
1355
1356 static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject *resultobj;
1358 wxObject *arg1 = (wxObject *) 0 ;
1359 PyObject * obj0 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "self", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1366 {
1367 PyThreadState* __tstate = wxPyBeginAllowThreads();
1368 wxObject_Destroy(arg1);
1369
1370 wxPyEndAllowThreads(__tstate);
1371 if (PyErr_Occurred()) SWIG_fail;
1372 }
1373 Py_INCREF(Py_None); resultobj = Py_None;
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1381 PyObject *obj;
1382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1383 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1384 Py_INCREF(obj);
1385 return Py_BuildValue((char *)"");
1386 }
1387 static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1388 PyObject *resultobj;
1389 wxSize *arg1 = (wxSize *) 0 ;
1390 int arg2 ;
1391 PyObject * obj0 = 0 ;
1392 char *kwnames[] = {
1393 (char *) "self",(char *) "x", NULL
1394 };
1395
1396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_width_set",kwnames,&obj0,&arg2)) goto fail;
1397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1398 if (arg1) (arg1)->x = arg2;
1399
1400 Py_INCREF(Py_None); resultobj = Py_None;
1401 return resultobj;
1402 fail:
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxSize *arg1 = (wxSize *) 0 ;
1410 int result;
1411 PyObject * obj0 = 0 ;
1412 char *kwnames[] = {
1413 (char *) "self", NULL
1414 };
1415
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 result = (int) ((arg1)->x);
1419
1420 resultobj = PyInt_FromLong((long)result);
1421 return resultobj;
1422 fail:
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxSize *arg1 = (wxSize *) 0 ;
1430 int arg2 ;
1431 PyObject * obj0 = 0 ;
1432 char *kwnames[] = {
1433 (char *) "self",(char *) "y", NULL
1434 };
1435
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_height_set",kwnames,&obj0,&arg2)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 if (arg1) (arg1)->y = arg2;
1439
1440 Py_INCREF(Py_None); resultobj = Py_None;
1441 return resultobj;
1442 fail:
1443 return NULL;
1444 }
1445
1446
1447 static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1448 PyObject *resultobj;
1449 wxSize *arg1 = (wxSize *) 0 ;
1450 int result;
1451 PyObject * obj0 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "self", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1458 result = (int) ((arg1)->y);
1459
1460 resultobj = PyInt_FromLong((long)result);
1461 return resultobj;
1462 fail:
1463 return NULL;
1464 }
1465
1466
1467 static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject *resultobj;
1469 int arg1 = (int) 0 ;
1470 int arg2 = (int) 0 ;
1471 wxSize *result;
1472 char *kwnames[] = {
1473 (char *) "w",(char *) "h", NULL
1474 };
1475
1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Size",kwnames,&arg1,&arg2)) goto fail;
1477 {
1478 PyThreadState* __tstate = wxPyBeginAllowThreads();
1479 result = (wxSize *)new wxSize(arg1,arg2);
1480
1481 wxPyEndAllowThreads(__tstate);
1482 if (PyErr_Occurred()) SWIG_fail;
1483 }
1484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 1);
1485 return resultobj;
1486 fail:
1487 return NULL;
1488 }
1489
1490
1491 static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1492 PyObject *resultobj;
1493 wxSize *arg1 = (wxSize *) 0 ;
1494 PyObject * obj0 = 0 ;
1495 char *kwnames[] = {
1496 (char *) "self", NULL
1497 };
1498
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1501 {
1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
1503 delete arg1;
1504
1505 wxPyEndAllowThreads(__tstate);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 Py_INCREF(Py_None); resultobj = Py_None;
1509 return resultobj;
1510 fail:
1511 return NULL;
1512 }
1513
1514
1515 static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1516 PyObject *resultobj;
1517 wxSize *arg1 = (wxSize *) 0 ;
1518 wxSize *arg2 = 0 ;
1519 bool result;
1520 wxSize temp2 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1523 char *kwnames[] = {
1524 (char *) "self",(char *) "sz", NULL
1525 };
1526
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
1528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1529 {
1530 arg2 = &temp2;
1531 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 result = (bool)((wxSize const *)arg1)->operator ==((wxSize const &)*arg2);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 resultobj = PyInt_FromLong((long)result);
1541 return resultobj;
1542 fail:
1543 return NULL;
1544 }
1545
1546
1547 static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxSize *arg1 = (wxSize *) 0 ;
1550 wxSize *arg2 = 0 ;
1551 bool result;
1552 wxSize temp2 ;
1553 PyObject * obj0 = 0 ;
1554 PyObject * obj1 = 0 ;
1555 char *kwnames[] = {
1556 (char *) "self",(char *) "sz", NULL
1557 };
1558
1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
1560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 {
1562 arg2 = &temp2;
1563 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1564 }
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 result = (bool)((wxSize const *)arg1)->operator !=((wxSize const &)*arg2);
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 resultobj = PyInt_FromLong((long)result);
1573 return resultobj;
1574 fail:
1575 return NULL;
1576 }
1577
1578
1579 static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxSize *arg1 = (wxSize *) 0 ;
1582 wxSize *arg2 = 0 ;
1583 wxSize result;
1584 wxSize temp2 ;
1585 PyObject * obj0 = 0 ;
1586 PyObject * obj1 = 0 ;
1587 char *kwnames[] = {
1588 (char *) "self",(char *) "sz", NULL
1589 };
1590
1591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
1592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1593 {
1594 arg2 = &temp2;
1595 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1596 }
1597 {
1598 PyThreadState* __tstate = wxPyBeginAllowThreads();
1599 result = (arg1)->operator +((wxSize const &)*arg2);
1600
1601 wxPyEndAllowThreads(__tstate);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 }
1604 {
1605 wxSize * resultptr;
1606 resultptr = new wxSize((wxSize &) result);
1607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1608 }
1609 return resultobj;
1610 fail:
1611 return NULL;
1612 }
1613
1614
1615 static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
1616 PyObject *resultobj;
1617 wxSize *arg1 = (wxSize *) 0 ;
1618 wxSize *arg2 = 0 ;
1619 wxSize result;
1620 wxSize temp2 ;
1621 PyObject * obj0 = 0 ;
1622 PyObject * obj1 = 0 ;
1623 char *kwnames[] = {
1624 (char *) "self",(char *) "sz", NULL
1625 };
1626
1627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
1628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 {
1630 arg2 = &temp2;
1631 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1632 }
1633 {
1634 PyThreadState* __tstate = wxPyBeginAllowThreads();
1635 result = (arg1)->operator -((wxSize const &)*arg2);
1636
1637 wxPyEndAllowThreads(__tstate);
1638 if (PyErr_Occurred()) SWIG_fail;
1639 }
1640 {
1641 wxSize * resultptr;
1642 resultptr = new wxSize((wxSize &) result);
1643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1644 }
1645 return resultobj;
1646 fail:
1647 return NULL;
1648 }
1649
1650
1651 static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 wxSize *arg1 = (wxSize *) 0 ;
1654 wxSize *arg2 = 0 ;
1655 wxSize temp2 ;
1656 PyObject * obj0 = 0 ;
1657 PyObject * obj1 = 0 ;
1658 char *kwnames[] = {
1659 (char *) "self",(char *) "sz", NULL
1660 };
1661
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
1663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 {
1665 arg2 = &temp2;
1666 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1667 }
1668 {
1669 PyThreadState* __tstate = wxPyBeginAllowThreads();
1670 (arg1)->IncTo((wxSize const &)*arg2);
1671
1672 wxPyEndAllowThreads(__tstate);
1673 if (PyErr_Occurred()) SWIG_fail;
1674 }
1675 Py_INCREF(Py_None); resultobj = Py_None;
1676 return resultobj;
1677 fail:
1678 return NULL;
1679 }
1680
1681
1682 static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 wxSize *arg1 = (wxSize *) 0 ;
1685 wxSize *arg2 = 0 ;
1686 wxSize temp2 ;
1687 PyObject * obj0 = 0 ;
1688 PyObject * obj1 = 0 ;
1689 char *kwnames[] = {
1690 (char *) "self",(char *) "sz", NULL
1691 };
1692
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
1694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1695 {
1696 arg2 = &temp2;
1697 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1698 }
1699 {
1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
1701 (arg1)->DecTo((wxSize const &)*arg2);
1702
1703 wxPyEndAllowThreads(__tstate);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 Py_INCREF(Py_None); resultobj = Py_None;
1707 return resultobj;
1708 fail:
1709 return NULL;
1710 }
1711
1712
1713 static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject *resultobj;
1715 wxSize *arg1 = (wxSize *) 0 ;
1716 int arg2 ;
1717 int arg3 ;
1718 PyObject * obj0 = 0 ;
1719 char *kwnames[] = {
1720 (char *) "self",(char *) "xx",(char *) "yy", NULL
1721 };
1722
1723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Size_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
1724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1725 {
1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
1727 (arg1)->Set(arg2,arg3);
1728
1729 wxPyEndAllowThreads(__tstate);
1730 if (PyErr_Occurred()) SWIG_fail;
1731 }
1732 Py_INCREF(Py_None); resultobj = Py_None;
1733 return resultobj;
1734 fail:
1735 return NULL;
1736 }
1737
1738
1739 static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject *resultobj;
1741 wxSize *arg1 = (wxSize *) 0 ;
1742 int arg2 ;
1743 PyObject * obj0 = 0 ;
1744 char *kwnames[] = {
1745 (char *) "self",(char *) "w", NULL
1746 };
1747
1748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetWidth",kwnames,&obj0,&arg2)) goto fail;
1749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 (arg1)->SetWidth(arg2);
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 Py_INCREF(Py_None); resultobj = Py_None;
1758 return resultobj;
1759 fail:
1760 return NULL;
1761 }
1762
1763
1764 static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxSize *arg1 = (wxSize *) 0 ;
1767 int arg2 ;
1768 PyObject * obj0 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self",(char *) "h", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Size_SetHeight",kwnames,&obj0,&arg2)) goto fail;
1774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 (arg1)->SetHeight(arg2);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 Py_INCREF(Py_None); resultobj = Py_None;
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxSize *arg1 = (wxSize *) 0 ;
1792 int result;
1793 PyObject * obj0 = 0 ;
1794 char *kwnames[] = {
1795 (char *) "self", NULL
1796 };
1797
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
1799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 result = (int)((wxSize const *)arg1)->GetWidth();
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 resultobj = PyInt_FromLong((long)result);
1808 return resultobj;
1809 fail:
1810 return NULL;
1811 }
1812
1813
1814 static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxSize *arg1 = (wxSize *) 0 ;
1817 int result;
1818 PyObject * obj0 = 0 ;
1819 char *kwnames[] = {
1820 (char *) "self", NULL
1821 };
1822
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
1824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 result = (int)((wxSize const *)arg1)->GetHeight();
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 resultobj = PyInt_FromLong((long)result);
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_Size_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxSize *arg1 = (wxSize *) 0 ;
1842 int result;
1843 PyObject * obj0 = 0 ;
1844 char *kwnames[] = {
1845 (char *) "self", NULL
1846 };
1847
1848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetX",kwnames,&obj0)) goto fail;
1849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 result = (int)((wxSize const *)arg1)->GetX();
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 resultobj = PyInt_FromLong((long)result);
1858 return resultobj;
1859 fail:
1860 return NULL;
1861 }
1862
1863
1864 static PyObject *_wrap_Size_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxSize *arg1 = (wxSize *) 0 ;
1867 int result;
1868 PyObject * obj0 = 0 ;
1869 char *kwnames[] = {
1870 (char *) "self", NULL
1871 };
1872
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetY",kwnames,&obj0)) goto fail;
1874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (int)((wxSize const *)arg1)->GetY();
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 resultobj = PyInt_FromLong((long)result);
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_Size_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxSize *arg1 = (wxSize *) 0 ;
1892 PyObject *result;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_asTuple",kwnames,&obj0)) goto fail;
1899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 result = (PyObject *)wxSize_asTuple(arg1);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 resultobj = result;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911 }
1912
1913
1914 static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
1915 PyObject *obj;
1916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
1918 Py_INCREF(obj);
1919 return Py_BuildValue((char *)"");
1920 }
1921 static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1924 double arg2 ;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self",(char *) "x", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_x_set",kwnames,&obj0,&arg2)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 if (arg1) (arg1)->x = arg2;
1933
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject *resultobj;
1943 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1944 double result;
1945 PyObject * obj0 = 0 ;
1946 char *kwnames[] = {
1947 (char *) "self", NULL
1948 };
1949
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
1951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1952 result = (double) ((arg1)->x);
1953
1954 resultobj = PyFloat_FromDouble(result);
1955 return resultobj;
1956 fail:
1957 return NULL;
1958 }
1959
1960
1961 static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject *resultobj;
1963 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1964 double arg2 ;
1965 PyObject * obj0 = 0 ;
1966 char *kwnames[] = {
1967 (char *) "self",(char *) "y", NULL
1968 };
1969
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:RealPoint_y_set",kwnames,&obj0,&arg2)) goto fail;
1971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1972 if (arg1) (arg1)->y = arg2;
1973
1974 Py_INCREF(Py_None); resultobj = Py_None;
1975 return resultobj;
1976 fail:
1977 return NULL;
1978 }
1979
1980
1981 static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
1984 double result;
1985 PyObject * obj0 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1992 result = (double) ((arg1)->y);
1993
1994 resultobj = PyFloat_FromDouble(result);
1995 return resultobj;
1996 fail:
1997 return NULL;
1998 }
1999
2000
2001 static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2002 PyObject *resultobj;
2003 double arg1 = (double) 0.0 ;
2004 double arg2 = (double) 0.0 ;
2005 wxRealPoint *result;
2006 char *kwnames[] = {
2007 (char *) "x",(char *) "y", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_RealPoint",kwnames,&arg1,&arg2)) goto fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRealPoint, 1);
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2028 PyObject * obj0 = 0 ;
2029 char *kwnames[] = {
2030 (char *) "self", NULL
2031 };
2032
2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 delete arg1;
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 Py_INCREF(Py_None); resultobj = Py_None;
2043 return resultobj;
2044 fail:
2045 return NULL;
2046 }
2047
2048
2049 static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject *resultobj;
2051 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2052 wxRealPoint *arg2 = 0 ;
2053 wxRealPoint result;
2054 wxRealPoint temp2 ;
2055 PyObject * obj0 = 0 ;
2056 PyObject * obj1 = 0 ;
2057 char *kwnames[] = {
2058 (char *) "self",(char *) "pt", NULL
2059 };
2060
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2063 {
2064 arg2 = &temp2;
2065 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2066 }
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 result = ((wxRealPoint const *)arg1)->operator +((wxRealPoint const &)*arg2);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 {
2075 wxRealPoint * resultptr;
2076 resultptr = new wxRealPoint((wxRealPoint &) result);
2077 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2088 wxRealPoint *arg2 = 0 ;
2089 wxRealPoint result;
2090 wxRealPoint temp2 ;
2091 PyObject * obj0 = 0 ;
2092 PyObject * obj1 = 0 ;
2093 char *kwnames[] = {
2094 (char *) "self",(char *) "pt", NULL
2095 };
2096
2097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2099 {
2100 arg2 = &temp2;
2101 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2102 }
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = ((wxRealPoint const *)arg1)->operator -((wxRealPoint const &)*arg2);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 wxRealPoint * resultptr;
2112 resultptr = new wxRealPoint((wxRealPoint &) result);
2113 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRealPoint, 1);
2114 }
2115 return resultobj;
2116 fail:
2117 return NULL;
2118 }
2119
2120
2121 static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2124 wxRealPoint *arg2 = 0 ;
2125 bool result;
2126 wxRealPoint temp2 ;
2127 PyObject * obj0 = 0 ;
2128 PyObject * obj1 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self",(char *) "pt", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2135 {
2136 arg2 = &temp2;
2137 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2138 }
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 result = (bool)((wxRealPoint const *)arg1)->operator ==((wxRealPoint const &)*arg2);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 resultobj = PyInt_FromLong((long)result);
2147 return resultobj;
2148 fail:
2149 return NULL;
2150 }
2151
2152
2153 static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject *resultobj;
2155 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2156 wxRealPoint *arg2 = 0 ;
2157 bool result;
2158 wxRealPoint temp2 ;
2159 PyObject * obj0 = 0 ;
2160 PyObject * obj1 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self",(char *) "pt", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 {
2168 arg2 = &temp2;
2169 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (bool)((wxRealPoint const *)arg1)->operator !=((wxRealPoint const &)*arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 resultobj = PyInt_FromLong((long)result);
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2188 double arg2 ;
2189 double arg3 ;
2190 PyObject * obj0 = 0 ;
2191 char *kwnames[] = {
2192 (char *) "self",(char *) "x",(char *) "y", NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:RealPoint_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 wxRealPoint_Set(arg1,arg2,arg3);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 Py_INCREF(Py_None); resultobj = Py_None;
2205 return resultobj;
2206 fail:
2207 return NULL;
2208 }
2209
2210
2211 static PyObject *_wrap_RealPoint_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2214 PyObject *result;
2215 PyObject * obj0 = 0 ;
2216 char *kwnames[] = {
2217 (char *) "self", NULL
2218 };
2219
2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_asTuple",kwnames,&obj0)) goto fail;
2221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRealPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2222 {
2223 PyThreadState* __tstate = wxPyBeginAllowThreads();
2224 result = (PyObject *)wxRealPoint_asTuple(arg1);
2225
2226 wxPyEndAllowThreads(__tstate);
2227 if (PyErr_Occurred()) SWIG_fail;
2228 }
2229 resultobj = result;
2230 return resultobj;
2231 fail:
2232 return NULL;
2233 }
2234
2235
2236 static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2237 PyObject *obj;
2238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2239 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2240 Py_INCREF(obj);
2241 return Py_BuildValue((char *)"");
2242 }
2243 static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxPoint *arg1 = (wxPoint *) 0 ;
2246 int arg2 ;
2247 PyObject * obj0 = 0 ;
2248 char *kwnames[] = {
2249 (char *) "self",(char *) "x", NULL
2250 };
2251
2252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_x_set",kwnames,&obj0,&arg2)) goto fail;
2253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2254 if (arg1) (arg1)->x = arg2;
2255
2256 Py_INCREF(Py_None); resultobj = Py_None;
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 wxPoint *arg1 = (wxPoint *) 0 ;
2266 int result;
2267 PyObject * obj0 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self", NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2274 result = (int) ((arg1)->x);
2275
2276 resultobj = PyInt_FromLong((long)result);
2277 return resultobj;
2278 fail:
2279 return NULL;
2280 }
2281
2282
2283 static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2284 PyObject *resultobj;
2285 wxPoint *arg1 = (wxPoint *) 0 ;
2286 int arg2 ;
2287 PyObject * obj0 = 0 ;
2288 char *kwnames[] = {
2289 (char *) "self",(char *) "y", NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Point_y_set",kwnames,&obj0,&arg2)) goto fail;
2293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2294 if (arg1) (arg1)->y = arg2;
2295
2296 Py_INCREF(Py_None); resultobj = Py_None;
2297 return resultobj;
2298 fail:
2299 return NULL;
2300 }
2301
2302
2303 static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject *resultobj;
2305 wxPoint *arg1 = (wxPoint *) 0 ;
2306 int result;
2307 PyObject * obj0 = 0 ;
2308 char *kwnames[] = {
2309 (char *) "self", NULL
2310 };
2311
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2314 result = (int) ((arg1)->y);
2315
2316 resultobj = PyInt_FromLong((long)result);
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 int arg1 = (int) 0 ;
2326 int arg2 = (int) 0 ;
2327 wxPoint *result;
2328 char *kwnames[] = {
2329 (char *) "x",(char *) "y", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_Point",kwnames,&arg1,&arg2)) goto fail;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 result = (wxPoint *)new wxPoint(arg1,arg2);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 1);
2341 return resultobj;
2342 fail:
2343 return NULL;
2344 }
2345
2346
2347 static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxPoint *arg1 = (wxPoint *) 0 ;
2350 PyObject * obj0 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 delete arg1;
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368 }
2369
2370
2371 static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxPoint *arg1 = (wxPoint *) 0 ;
2374 wxPoint *arg2 = 0 ;
2375 bool result;
2376 wxPoint temp2 ;
2377 PyObject * obj0 = 0 ;
2378 PyObject * obj1 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "p", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2385 {
2386 arg2 = &temp2;
2387 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2388 }
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 result = (bool)((wxPoint const *)arg1)->operator ==((wxPoint const &)*arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 resultobj = PyInt_FromLong((long)result);
2397 return resultobj;
2398 fail:
2399 return NULL;
2400 }
2401
2402
2403 static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2404 PyObject *resultobj;
2405 wxPoint *arg1 = (wxPoint *) 0 ;
2406 wxPoint *arg2 = 0 ;
2407 bool result;
2408 wxPoint temp2 ;
2409 PyObject * obj0 = 0 ;
2410 PyObject * obj1 = 0 ;
2411 char *kwnames[] = {
2412 (char *) "self",(char *) "p", NULL
2413 };
2414
2415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2417 {
2418 arg2 = &temp2;
2419 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (bool)((wxPoint const *)arg1)->operator !=((wxPoint const &)*arg2);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 resultobj = PyInt_FromLong((long)result);
2429 return resultobj;
2430 fail:
2431 return NULL;
2432 }
2433
2434
2435 static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject *resultobj;
2437 wxPoint *arg1 = (wxPoint *) 0 ;
2438 wxPoint *arg2 = 0 ;
2439 wxPoint result;
2440 wxPoint temp2 ;
2441 PyObject * obj0 = 0 ;
2442 PyObject * obj1 = 0 ;
2443 char *kwnames[] = {
2444 (char *) "self",(char *) "p", NULL
2445 };
2446
2447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2449 {
2450 arg2 = &temp2;
2451 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2452 }
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 result = ((wxPoint const *)arg1)->operator +((wxPoint const &)*arg2);
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 {
2461 wxPoint * resultptr;
2462 resultptr = new wxPoint((wxPoint &) result);
2463 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2464 }
2465 return resultobj;
2466 fail:
2467 return NULL;
2468 }
2469
2470
2471 static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxPoint *arg1 = (wxPoint *) 0 ;
2474 wxPoint *arg2 = 0 ;
2475 wxPoint result;
2476 wxPoint temp2 ;
2477 PyObject * obj0 = 0 ;
2478 PyObject * obj1 = 0 ;
2479 char *kwnames[] = {
2480 (char *) "self",(char *) "p", NULL
2481 };
2482
2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2485 {
2486 arg2 = &temp2;
2487 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2488 }
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 result = ((wxPoint const *)arg1)->operator -((wxPoint const &)*arg2);
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 {
2497 wxPoint * resultptr;
2498 resultptr = new wxPoint((wxPoint &) result);
2499 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2500 }
2501 return resultobj;
2502 fail:
2503 return NULL;
2504 }
2505
2506
2507 static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject *resultobj;
2509 wxPoint *arg1 = (wxPoint *) 0 ;
2510 wxPoint *arg2 = 0 ;
2511 wxPoint *result;
2512 wxPoint temp2 ;
2513 PyObject * obj0 = 0 ;
2514 PyObject * obj1 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self",(char *) "p", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2521 {
2522 arg2 = &temp2;
2523 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2524 }
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 {
2528 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
2529 result = (wxPoint *) &_result_ref;
2530 }
2531
2532 wxPyEndAllowThreads(__tstate);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 }
2535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2536 return resultobj;
2537 fail:
2538 return NULL;
2539 }
2540
2541
2542 static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject *resultobj;
2544 wxPoint *arg1 = (wxPoint *) 0 ;
2545 wxPoint *arg2 = 0 ;
2546 wxPoint *result;
2547 wxPoint temp2 ;
2548 PyObject * obj0 = 0 ;
2549 PyObject * obj1 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "p", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2556 {
2557 arg2 = &temp2;
2558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2559 }
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 {
2563 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
2564 result = (wxPoint *) &_result_ref;
2565 }
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) SWIG_fail;
2569 }
2570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
2571 return resultobj;
2572 fail:
2573 return NULL;
2574 }
2575
2576
2577 static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2578 PyObject *resultobj;
2579 wxPoint *arg1 = (wxPoint *) 0 ;
2580 long arg2 ;
2581 long arg3 ;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "self",(char *) "x",(char *) "y", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:Point_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
2588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2589 {
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 wxPoint_Set(arg1,arg2,arg3);
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 Py_INCREF(Py_None); resultobj = Py_None;
2597 return resultobj;
2598 fail:
2599 return NULL;
2600 }
2601
2602
2603 static PyObject *_wrap_Point_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxPoint *arg1 = (wxPoint *) 0 ;
2606 PyObject *result;
2607 PyObject * obj0 = 0 ;
2608 char *kwnames[] = {
2609 (char *) "self", NULL
2610 };
2611
2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_asTuple",kwnames,&obj0)) goto fail;
2613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2614 {
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 result = (PyObject *)wxPoint_asTuple(arg1);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 resultobj = result;
2622 return resultobj;
2623 fail:
2624 return NULL;
2625 }
2626
2627
2628 static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
2629 PyObject *obj;
2630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2631 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
2632 Py_INCREF(obj);
2633 return Py_BuildValue((char *)"");
2634 }
2635 static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 int arg1 = (int) 0 ;
2638 int arg2 = (int) 0 ;
2639 int arg3 = (int) 0 ;
2640 int arg4 = (int) 0 ;
2641 wxRect *result;
2642 char *kwnames[] = {
2643 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_Rect",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
2647 {
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2655 return resultobj;
2656 fail:
2657 return NULL;
2658 }
2659
2660
2661 static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject *resultobj;
2663 wxPoint *arg1 = 0 ;
2664 wxPoint *arg2 = 0 ;
2665 wxRect *result;
2666 wxPoint temp1 ;
2667 wxPoint temp2 ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "topLeft",(char *) "bottomRight", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
2675 {
2676 arg1 = &temp1;
2677 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2678 }
2679 {
2680 arg2 = &temp2;
2681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2682 }
2683 {
2684 PyThreadState* __tstate = wxPyBeginAllowThreads();
2685 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
2686
2687 wxPyEndAllowThreads(__tstate);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
2690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2691 return resultobj;
2692 fail:
2693 return NULL;
2694 }
2695
2696
2697 static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject *resultobj;
2699 wxPoint *arg1 = 0 ;
2700 wxSize *arg2 = 0 ;
2701 wxRect *result;
2702 wxPoint temp1 ;
2703 wxSize temp2 ;
2704 PyObject * obj0 = 0 ;
2705 PyObject * obj1 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "pos",(char *) "size", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
2711 {
2712 arg1 = &temp1;
2713 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
2714 }
2715 {
2716 arg2 = &temp2;
2717 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2718 }
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 1);
2727 return resultobj;
2728 fail:
2729 return NULL;
2730 }
2731
2732
2733 static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxRect *arg1 = (wxRect *) 0 ;
2736 PyObject * obj0 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 delete arg1;
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 Py_INCREF(Py_None); resultobj = Py_None;
2751 return resultobj;
2752 fail:
2753 return NULL;
2754 }
2755
2756
2757 static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj;
2759 wxRect *arg1 = (wxRect *) 0 ;
2760 int result;
2761 PyObject * obj0 = 0 ;
2762 char *kwnames[] = {
2763 (char *) "self", NULL
2764 };
2765
2766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 result = (int)((wxRect const *)arg1)->GetX();
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 resultobj = PyInt_FromLong((long)result);
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxRect *arg1 = (wxRect *) 0 ;
2785 int arg2 ;
2786 PyObject * obj0 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self",(char *) "x", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetX",kwnames,&obj0,&arg2)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 (arg1)->SetX(arg2);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 Py_INCREF(Py_None); resultobj = Py_None;
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxRect *arg1 = (wxRect *) 0 ;
2810 int result;
2811 PyObject * obj0 = 0 ;
2812 char *kwnames[] = {
2813 (char *) "self", NULL
2814 };
2815
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 result = (int)(arg1)->GetY();
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 resultobj = PyInt_FromLong((long)result);
2826 return resultobj;
2827 fail:
2828 return NULL;
2829 }
2830
2831
2832 static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj;
2834 wxRect *arg1 = (wxRect *) 0 ;
2835 int arg2 ;
2836 PyObject * obj0 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self",(char *) "y", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetY",kwnames,&obj0,&arg2)) goto fail;
2842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 (arg1)->SetY(arg2);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 Py_INCREF(Py_None); resultobj = Py_None;
2851 return resultobj;
2852 fail:
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxRect *arg1 = (wxRect *) 0 ;
2860 int result;
2861 PyObject * obj0 = 0 ;
2862 char *kwnames[] = {
2863 (char *) "self", NULL
2864 };
2865
2866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 result = (int)((wxRect const *)arg1)->GetWidth();
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 resultobj = PyInt_FromLong((long)result);
2876 return resultobj;
2877 fail:
2878 return NULL;
2879 }
2880
2881
2882 static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 wxRect *arg1 = (wxRect *) 0 ;
2885 int arg2 ;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self",(char *) "w", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetWidth",kwnames,&obj0,&arg2)) goto fail;
2892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->SetWidth(arg2);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxRect *arg1 = (wxRect *) 0 ;
2910 int result;
2911 PyObject * obj0 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "self", NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (int)((wxRect const *)arg1)->GetHeight();
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 resultobj = PyInt_FromLong((long)result);
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxRect *arg1 = (wxRect *) 0 ;
2935 int arg2 ;
2936 PyObject * obj0 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self",(char *) "h", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetHeight",kwnames,&obj0,&arg2)) goto fail;
2942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->SetHeight(arg2);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxRect *arg1 = (wxRect *) 0 ;
2960 wxPoint result;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 result = ((wxRect const *)arg1)->GetPosition();
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 {
2976 wxPoint * resultptr;
2977 resultptr = new wxPoint((wxPoint &) result);
2978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2979 }
2980 return resultobj;
2981 fail:
2982 return NULL;
2983 }
2984
2985
2986 static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject *resultobj;
2988 wxRect *arg1 = (wxRect *) 0 ;
2989 wxPoint *arg2 = 0 ;
2990 wxPoint temp2 ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "p", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2999 {
3000 arg2 = &temp2;
3001 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetPosition((wxPoint const &)*arg2);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 return resultobj;
3012 fail:
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxRect *arg1 = (wxRect *) 0 ;
3020 wxSize result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "self", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 result = ((wxRect const *)arg1)->GetSize();
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 {
3036 wxSize * resultptr;
3037 resultptr = new wxSize((wxSize &) result);
3038 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3039 }
3040 return resultobj;
3041 fail:
3042 return NULL;
3043 }
3044
3045
3046 static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject *resultobj;
3048 wxRect *arg1 = (wxRect *) 0 ;
3049 wxSize *arg2 = 0 ;
3050 wxSize temp2 ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "s", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3059 {
3060 arg2 = &temp2;
3061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3062 }
3063 {
3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
3065 (arg1)->SetSize((wxSize const &)*arg2);
3066
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
3070 Py_INCREF(Py_None); resultobj = Py_None;
3071 return resultobj;
3072 fail:
3073 return NULL;
3074 }
3075
3076
3077 static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3078 PyObject *resultobj;
3079 wxRect *arg1 = (wxRect *) 0 ;
3080 int result;
3081 PyObject * obj0 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3088 {
3089 PyThreadState* __tstate = wxPyBeginAllowThreads();
3090 result = (int)((wxRect const *)arg1)->GetLeft();
3091
3092 wxPyEndAllowThreads(__tstate);
3093 if (PyErr_Occurred()) SWIG_fail;
3094 }
3095 resultobj = PyInt_FromLong((long)result);
3096 return resultobj;
3097 fail:
3098 return NULL;
3099 }
3100
3101
3102 static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3103 PyObject *resultobj;
3104 wxRect *arg1 = (wxRect *) 0 ;
3105 int result;
3106 PyObject * obj0 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self", NULL
3109 };
3110
3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 result = (int)((wxRect const *)arg1)->GetTop();
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 resultobj = PyInt_FromLong((long)result);
3121 return resultobj;
3122 fail:
3123 return NULL;
3124 }
3125
3126
3127 static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3128 PyObject *resultobj;
3129 wxRect *arg1 = (wxRect *) 0 ;
3130 int result;
3131 PyObject * obj0 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (int)((wxRect const *)arg1)->GetBottom();
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 resultobj = PyInt_FromLong((long)result);
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxRect *arg1 = (wxRect *) 0 ;
3155 int result;
3156 PyObject * obj0 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = (int)((wxRect const *)arg1)->GetRight();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 resultobj = PyInt_FromLong((long)result);
3171 return resultobj;
3172 fail:
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxRect *arg1 = (wxRect *) 0 ;
3180 int arg2 ;
3181 PyObject * obj0 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "left", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetLeft",kwnames,&obj0,&arg2)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 (arg1)->SetLeft(arg2);
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 Py_INCREF(Py_None); resultobj = Py_None;
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxRect *arg1 = (wxRect *) 0 ;
3205 int arg2 ;
3206 PyObject * obj0 = 0 ;
3207 char *kwnames[] = {
3208 (char *) "self",(char *) "right", NULL
3209 };
3210
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetRight",kwnames,&obj0,&arg2)) goto fail;
3212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->SetRight(arg2);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxRect *arg1 = (wxRect *) 0 ;
3230 int arg2 ;
3231 PyObject * obj0 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "top", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetTop",kwnames,&obj0,&arg2)) goto fail;
3237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->SetTop(arg2);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 wxRect *arg1 = (wxRect *) 0 ;
3255 int arg2 ;
3256 PyObject * obj0 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self",(char *) "bottom", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_SetBottom",kwnames,&obj0,&arg2)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 (arg1)->SetBottom(arg2);
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 Py_INCREF(Py_None); resultobj = Py_None;
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxRect *arg1 = (wxRect *) 0 ;
3280 wxCoord arg2 ;
3281 wxCoord arg3 ;
3282 wxRect *result;
3283 PyObject * obj0 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self",(char *) "dx",(char *) "dy", NULL
3286 };
3287
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Inflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 {
3293 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3294 result = (wxRect *) &_result_ref;
3295 }
3296
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3301 return resultobj;
3302 fail:
3303 return NULL;
3304 }
3305
3306
3307 static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject *resultobj;
3309 wxRect *arg1 = (wxRect *) 0 ;
3310 wxCoord arg2 ;
3311 wxCoord arg3 ;
3312 wxRect *result;
3313 PyObject * obj0 = 0 ;
3314 char *kwnames[] = {
3315 (char *) "self",(char *) "dx",(char *) "dy", NULL
3316 };
3317
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_Deflate",kwnames,&obj0,&arg2,&arg3)) goto fail;
3319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 {
3323 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
3324 result = (wxRect *) &_result_ref;
3325 }
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3331 return resultobj;
3332 fail:
3333 return NULL;
3334 }
3335
3336
3337 static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxRect *arg1 = (wxRect *) 0 ;
3340 wxCoord arg2 ;
3341 wxCoord arg3 ;
3342 PyObject * obj0 = 0 ;
3343 char *kwnames[] = {
3344 (char *) "self",(char *) "dx",(char *) "dy", NULL
3345 };
3346
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_OffsetXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 (arg1)->Offset(arg2,arg3);
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
3356 Py_INCREF(Py_None); resultobj = Py_None;
3357 return resultobj;
3358 fail:
3359 return NULL;
3360 }
3361
3362
3363 static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxRect *arg1 = (wxRect *) 0 ;
3366 wxPoint *arg2 = 0 ;
3367 wxPoint temp2 ;
3368 PyObject * obj0 = 0 ;
3369 PyObject * obj1 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self",(char *) "pt", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 arg2 = &temp2;
3378 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3379 }
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 (arg1)->Offset((wxPoint const &)*arg2);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 Py_INCREF(Py_None); resultobj = Py_None;
3388 return resultobj;
3389 fail:
3390 return NULL;
3391 }
3392
3393
3394 static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
3395 PyObject *resultobj;
3396 wxRect *arg1 = (wxRect *) 0 ;
3397 wxRect *arg2 = 0 ;
3398 wxRect *result;
3399 wxRect temp2 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self",(char *) "rect", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408 {
3409 arg2 = &temp2;
3410 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3411 }
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 {
3415 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
3416 result = (wxRect *) &_result_ref;
3417 }
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3423 return resultobj;
3424 fail:
3425 return NULL;
3426 }
3427
3428
3429 static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxRect *arg1 = (wxRect *) 0 ;
3432 wxRect *arg2 = 0 ;
3433 wxRect result;
3434 wxRect temp2 ;
3435 PyObject * obj0 = 0 ;
3436 PyObject * obj1 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self",(char *) "rect", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3443 {
3444 arg2 = &temp2;
3445 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3446 }
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 {
3455 wxRect * resultptr;
3456 resultptr = new wxRect((wxRect &) result);
3457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3458 }
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3466 PyObject *resultobj;
3467 wxRect *arg1 = (wxRect *) 0 ;
3468 wxRect *arg2 = 0 ;
3469 wxRect *result;
3470 wxRect temp2 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self",(char *) "rect", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
3478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3479 {
3480 arg2 = &temp2;
3481 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3482 }
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 {
3486 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
3487 result = (wxRect *) &_result_ref;
3488 }
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
3494 return resultobj;
3495 fail:
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxRect *arg1 = (wxRect *) 0 ;
3503 wxRect *arg2 = 0 ;
3504 bool result;
3505 wxRect temp2 ;
3506 PyObject * obj0 = 0 ;
3507 PyObject * obj1 = 0 ;
3508 char *kwnames[] = {
3509 (char *) "self",(char *) "rect", NULL
3510 };
3511
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
3513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3514 {
3515 arg2 = &temp2;
3516 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3517 }
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 resultobj = PyInt_FromLong((long)result);
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxRect *arg1 = (wxRect *) 0 ;
3535 wxRect *arg2 = 0 ;
3536 bool result;
3537 wxRect temp2 ;
3538 PyObject * obj0 = 0 ;
3539 PyObject * obj1 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self",(char *) "rect", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3546 {
3547 arg2 = &temp2;
3548 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3549 }
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 resultobj = PyInt_FromLong((long)result);
3558 return resultobj;
3559 fail:
3560 return NULL;
3561 }
3562
3563
3564 static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj;
3566 wxRect *arg1 = (wxRect *) 0 ;
3567 int arg2 ;
3568 int arg3 ;
3569 bool result;
3570 PyObject * obj0 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self",(char *) "x",(char *) "y", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Rect_InsideXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
3576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 resultobj = PyInt_FromLong((long)result);
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxRect *arg1 = (wxRect *) 0 ;
3594 wxPoint *arg2 = 0 ;
3595 bool result;
3596 wxPoint temp2 ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "pt", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 {
3606 arg2 = &temp2;
3607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3608 }
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 resultobj = PyInt_FromLong((long)result);
3617 return resultobj;
3618 fail:
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxRect *arg1 = (wxRect *) 0 ;
3626 wxRect *arg2 = 0 ;
3627 bool result;
3628 wxRect temp2 ;
3629 PyObject * obj0 = 0 ;
3630 PyObject * obj1 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self",(char *) "rect", NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
3636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3637 {
3638 arg2 = &temp2;
3639 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 resultobj = PyInt_FromLong((long)result);
3649 return resultobj;
3650 fail:
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxRect *arg1 = (wxRect *) 0 ;
3658 int arg2 ;
3659 PyObject * obj0 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self",(char *) "x", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_x_set",kwnames,&obj0,&arg2)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3666 if (arg1) (arg1)->x = arg2;
3667
3668 Py_INCREF(Py_None); resultobj = Py_None;
3669 return resultobj;
3670 fail:
3671 return NULL;
3672 }
3673
3674
3675 static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3676 PyObject *resultobj;
3677 wxRect *arg1 = (wxRect *) 0 ;
3678 int result;
3679 PyObject * obj0 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3686 result = (int) ((arg1)->x);
3687
3688 resultobj = PyInt_FromLong((long)result);
3689 return resultobj;
3690 fail:
3691 return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject *resultobj;
3697 wxRect *arg1 = (wxRect *) 0 ;
3698 int arg2 ;
3699 PyObject * obj0 = 0 ;
3700 char *kwnames[] = {
3701 (char *) "self",(char *) "y", NULL
3702 };
3703
3704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_y_set",kwnames,&obj0,&arg2)) goto fail;
3705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3706 if (arg1) (arg1)->y = arg2;
3707
3708 Py_INCREF(Py_None); resultobj = Py_None;
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxRect *arg1 = (wxRect *) 0 ;
3718 int result;
3719 PyObject * obj0 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 result = (int) ((arg1)->y);
3727
3728 resultobj = PyInt_FromLong((long)result);
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxRect *arg1 = (wxRect *) 0 ;
3738 int arg2 ;
3739 PyObject * obj0 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self",(char *) "width", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_width_set",kwnames,&obj0,&arg2)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3746 if (arg1) (arg1)->width = arg2;
3747
3748 Py_INCREF(Py_None); resultobj = Py_None;
3749 return resultobj;
3750 fail:
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 wxRect *arg1 = (wxRect *) 0 ;
3758 int result;
3759 PyObject * obj0 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "self", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
3765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3766 result = (int) ((arg1)->width);
3767
3768 resultobj = PyInt_FromLong((long)result);
3769 return resultobj;
3770 fail:
3771 return NULL;
3772 }
3773
3774
3775 static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxRect *arg1 = (wxRect *) 0 ;
3778 int arg2 ;
3779 PyObject * obj0 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "height", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Rect_height_set",kwnames,&obj0,&arg2)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3786 if (arg1) (arg1)->height = arg2;
3787
3788 Py_INCREF(Py_None); resultobj = Py_None;
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxRect *arg1 = (wxRect *) 0 ;
3798 int result;
3799 PyObject * obj0 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
3805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3806 result = (int) ((arg1)->height);
3807
3808 resultobj = PyInt_FromLong((long)result);
3809 return resultobj;
3810 fail:
3811 return NULL;
3812 }
3813
3814
3815 static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject *resultobj;
3817 wxRect *arg1 = (wxRect *) 0 ;
3818 int arg2 = (int) 0 ;
3819 int arg3 = (int) 0 ;
3820 int arg4 = (int) 0 ;
3821 int arg5 = (int) 0 ;
3822 PyObject * obj0 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iiii:Rect_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
3828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 Py_INCREF(Py_None); resultobj = Py_None;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_Rect_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxRect *arg1 = (wxRect *) 0 ;
3846 PyObject *result;
3847 PyObject * obj0 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_asTuple",kwnames,&obj0)) goto fail;
3853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (PyObject *)wxRect_asTuple(arg1);
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 resultobj = result;
3862 return resultobj;
3863 fail:
3864 return NULL;
3865 }
3866
3867
3868 static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
3869 PyObject *obj;
3870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3871 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
3872 Py_INCREF(obj);
3873 return Py_BuildValue((char *)"");
3874 }
3875 static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 wxRect *arg1 = (wxRect *) 0 ;
3878 wxRect *arg2 = (wxRect *) 0 ;
3879 PyObject *result;
3880 PyObject * obj0 = 0 ;
3881 PyObject * obj1 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "r1",(char *) "r2", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 result = (PyObject *)wxIntersectRect(arg1,arg2);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 resultobj = result;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 double arg1 = (double) 0.0 ;
3906 double arg2 = (double) 0.0 ;
3907 wxPoint2D *result;
3908 char *kwnames[] = {
3909 (char *) "x",(char *) "y", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|dd:new_Point2D",kwnames,&arg1,&arg2)) goto fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3921 return resultobj;
3922 fail:
3923 return NULL;
3924 }
3925
3926
3927 static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxPoint2D *arg1 = 0 ;
3930 wxPoint2D *result;
3931 wxPoint2D temp1 ;
3932 PyObject * obj0 = 0 ;
3933 char *kwnames[] = {
3934 (char *) "pt", NULL
3935 };
3936
3937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
3938 {
3939 arg1 = &temp1;
3940 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3950 return resultobj;
3951 fail:
3952 return NULL;
3953 }
3954
3955
3956 static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3957 PyObject *resultobj;
3958 wxPoint *arg1 = 0 ;
3959 wxPoint2D *result;
3960 wxPoint temp1 ;
3961 PyObject * obj0 = 0 ;
3962 char *kwnames[] = {
3963 (char *) "pt", NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
3967 {
3968 arg1 = &temp1;
3969 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3970 }
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 1);
3979 return resultobj;
3980 fail:
3981 return NULL;
3982 }
3983
3984
3985 static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
3988 int *arg2 = (int *) 0 ;
3989 int *arg3 = (int *) 0 ;
3990 int temp2 ;
3991 int temp3 ;
3992 PyObject * obj0 = 0 ;
3993 char *kwnames[] = {
3994 (char *) "self", NULL
3995 };
3996
3997 arg2 = &temp2;
3998 arg3 = &temp3;
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
4008 Py_INCREF(Py_None); resultobj = Py_None;
4009 {
4010 PyObject *o = PyInt_FromLong((long) (*arg2));
4011 resultobj = t_output_helper(resultobj,o);
4012 }
4013 {
4014 PyObject *o = PyInt_FromLong((long) (*arg3));
4015 resultobj = t_output_helper(resultobj,o);
4016 }
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4024 PyObject *resultobj;
4025 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4026 int *arg2 = (int *) 0 ;
4027 int *arg3 = (int *) 0 ;
4028 int temp2 ;
4029 int temp3 ;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self", NULL
4033 };
4034
4035 arg2 = &temp2;
4036 arg3 = &temp3;
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 Py_INCREF(Py_None); resultobj = Py_None;
4047 {
4048 PyObject *o = PyInt_FromLong((long) (*arg2));
4049 resultobj = t_output_helper(resultobj,o);
4050 }
4051 {
4052 PyObject *o = PyInt_FromLong((long) (*arg3));
4053 resultobj = t_output_helper(resultobj,o);
4054 }
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4064 double result;
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4075
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 resultobj = PyFloat_FromDouble(result);
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4089 double result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 resultobj = PyFloat_FromDouble(result);
4105 return resultobj;
4106 fail:
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4114 double arg2 ;
4115 PyObject * obj0 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self",(char *) "length", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorLength",kwnames,&obj0,&arg2)) goto fail;
4121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->SetVectorLength(arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4139 double arg2 ;
4140 PyObject * obj0 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self",(char *) "degrees", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_SetVectorAngle",kwnames,&obj0,&arg2)) goto fail;
4146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 (arg1)->SetVectorAngle(arg2);
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 Py_INCREF(Py_None); resultobj = Py_None;
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4164 wxPoint2D *arg2 = 0 ;
4165 double result;
4166 wxPoint2D temp2 ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self",(char *) "pt", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4175 {
4176 arg2 = &temp2;
4177 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4178 }
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 resultobj = PyFloat_FromDouble(result);
4187 return resultobj;
4188 fail:
4189 return NULL;
4190 }
4191
4192
4193 static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4194 PyObject *resultobj;
4195 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4196 wxPoint2D *arg2 = 0 ;
4197 double result;
4198 wxPoint2D temp2 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "self",(char *) "pt", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4207 {
4208 arg2 = &temp2;
4209 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4210 }
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 resultobj = PyFloat_FromDouble(result);
4219 return resultobj;
4220 fail:
4221 return NULL;
4222 }
4223
4224
4225 static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4228 wxPoint2D *arg2 = 0 ;
4229 double result;
4230 wxPoint2D temp2 ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233 char *kwnames[] = {
4234 (char *) "self",(char *) "vec", NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
4238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4239 {
4240 arg2 = &temp2;
4241 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4242 }
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 resultobj = PyFloat_FromDouble(result);
4251 return resultobj;
4252 fail:
4253 return NULL;
4254 }
4255
4256
4257 static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj;
4259 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4260 wxPoint2D *arg2 = 0 ;
4261 double result;
4262 wxPoint2D temp2 ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "self",(char *) "vec", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 {
4272 arg2 = &temp2;
4273 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4274 }
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 resultobj = PyFloat_FromDouble(result);
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4292 wxPoint2D result;
4293 PyObject * obj0 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
4299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 result = (arg1)->operator -();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 {
4308 wxPoint2D * resultptr;
4309 resultptr = new wxPoint2D((wxPoint2D &) result);
4310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint2D, 1);
4311 }
4312 return resultobj;
4313 fail:
4314 return NULL;
4315 }
4316
4317
4318 static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4321 wxPoint2D *arg2 = 0 ;
4322 wxPoint2D *result;
4323 wxPoint2D temp2 ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4326 char *kwnames[] = {
4327 (char *) "self",(char *) "pt", NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
4331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4332 {
4333 arg2 = &temp2;
4334 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4335 }
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 {
4339 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
4340 result = (wxPoint2D *) &_result_ref;
4341 }
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4356 wxPoint2D *arg2 = 0 ;
4357 wxPoint2D *result;
4358 wxPoint2D temp2 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self",(char *) "pt", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
4366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4367 {
4368 arg2 = &temp2;
4369 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4370 }
4371 {
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 {
4374 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
4375 result = (wxPoint2D *) &_result_ref;
4376 }
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj;
4390 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4391 wxPoint2D *arg2 = 0 ;
4392 wxPoint2D *result;
4393 wxPoint2D temp2 ;
4394 PyObject * obj0 = 0 ;
4395 PyObject * obj1 = 0 ;
4396 char *kwnames[] = {
4397 (char *) "self",(char *) "pt", NULL
4398 };
4399
4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
4401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4402 {
4403 arg2 = &temp2;
4404 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4405 }
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 {
4409 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
4410 result = (wxPoint2D *) &_result_ref;
4411 }
4412
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 }
4416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4417 return resultobj;
4418 fail:
4419 return NULL;
4420 }
4421
4422
4423 static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject *resultobj;
4425 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4426 wxPoint2D *arg2 = 0 ;
4427 wxPoint2D *result;
4428 wxPoint2D temp2 ;
4429 PyObject * obj0 = 0 ;
4430 PyObject * obj1 = 0 ;
4431 char *kwnames[] = {
4432 (char *) "self",(char *) "pt", NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
4436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4437 {
4438 arg2 = &temp2;
4439 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4440 }
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 {
4444 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
4445 result = (wxPoint2D *) &_result_ref;
4446 }
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint2D, 0);
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4461 wxPoint2D *arg2 = 0 ;
4462 bool result;
4463 wxPoint2D temp2 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "pt", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4472 {
4473 arg2 = &temp2;
4474 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4475 }
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 resultobj = PyInt_FromLong((long)result);
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4493 wxPoint2D *arg2 = 0 ;
4494 bool result;
4495 wxPoint2D temp2 ;
4496 PyObject * obj0 = 0 ;
4497 PyObject * obj1 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self",(char *) "pt", NULL
4500 };
4501
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
4503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4504 {
4505 arg2 = &temp2;
4506 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4507 }
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 resultobj = PyInt_FromLong((long)result);
4516 return resultobj;
4517 fail:
4518 return NULL;
4519 }
4520
4521
4522 static PyObject *_wrap_Point2D_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4525 double arg2 ;
4526 PyObject * obj0 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "m_x", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_m_x_set",kwnames,&obj0,&arg2)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4533 if (arg1) (arg1)->m_x = arg2;
4534
4535 Py_INCREF(Py_None); resultobj = Py_None;
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 static PyObject *_wrap_Point2D_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4545 double result;
4546 PyObject * obj0 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "self", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_m_x_get",kwnames,&obj0)) goto fail;
4552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4553 result = (double) ((arg1)->m_x);
4554
4555 resultobj = PyFloat_FromDouble(result);
4556 return resultobj;
4557 fail:
4558 return NULL;
4559 }
4560
4561
4562 static PyObject *_wrap_Point2D_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4563 PyObject *resultobj;
4564 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4565 double arg2 ;
4566 PyObject * obj0 = 0 ;
4567 char *kwnames[] = {
4568 (char *) "self",(char *) "m_y", NULL
4569 };
4570
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_m_y_set",kwnames,&obj0,&arg2)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 if (arg1) (arg1)->m_y = arg2;
4574
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 static PyObject *_wrap_Point2D_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj;
4584 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4585 double result;
4586 PyObject * obj0 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_m_y_get",kwnames,&obj0)) goto fail;
4592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4593 result = (double) ((arg1)->m_y);
4594
4595 resultobj = PyFloat_FromDouble(result);
4596 return resultobj;
4597 fail:
4598 return NULL;
4599 }
4600
4601
4602 static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4603 PyObject *resultobj;
4604 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4605 double arg2 ;
4606 PyObject * obj0 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "self",(char *) "m_x", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_x_set",kwnames,&obj0,&arg2)) goto fail;
4612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4613 if (arg1) (arg1)->m_x = arg2;
4614
4615 Py_INCREF(Py_None); resultobj = Py_None;
4616 return resultobj;
4617 fail:
4618 return NULL;
4619 }
4620
4621
4622 static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4625 double result;
4626 PyObject * obj0 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 result = (double) ((arg1)->m_x);
4634
4635 resultobj = PyFloat_FromDouble(result);
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4645 double arg2 ;
4646 PyObject * obj0 = 0 ;
4647 char *kwnames[] = {
4648 (char *) "self",(char *) "m_y", NULL
4649 };
4650
4651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:Point2D_y_set",kwnames,&obj0,&arg2)) goto fail;
4652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4653 if (arg1) (arg1)->m_y = arg2;
4654
4655 Py_INCREF(Py_None); resultobj = Py_None;
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4665 double result;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4673 result = (double) ((arg1)->m_y);
4674
4675 resultobj = PyFloat_FromDouble(result);
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4685 double arg2 = (double) 0 ;
4686 double arg3 = (double) 0 ;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "x",(char *) "y", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|dd:Point2D_Set",kwnames,&obj0,&arg2,&arg3)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 wxPoint2D_Set(arg1,arg2,arg3);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_Point2D_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4711 PyObject *result;
4712 PyObject * obj0 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self", NULL
4715 };
4716
4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_asTuple",kwnames,&obj0)) goto fail;
4718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPoint2D,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 result = (PyObject *)wxPoint2D_asTuple(arg1);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 resultobj = result;
4727 return resultobj;
4728 fail:
4729 return NULL;
4730 }
4731
4732
4733 static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
4734 PyObject *obj;
4735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
4737 Py_INCREF(obj);
4738 return Py_BuildValue((char *)"");
4739 }
4740 static int _wrap_DefaultPosition_set(PyObject *_val) {
4741 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
4742 return 1;
4743 }
4744
4745
4746 static PyObject *_wrap_DefaultPosition_get() {
4747 PyObject *pyobj;
4748
4749 pyobj = SWIG_NewPointerObj((void *) &wxDefaultPosition, SWIGTYPE_p_wxPoint, 0);
4750 return pyobj;
4751 }
4752
4753
4754 static int _wrap_DefaultSize_set(PyObject *_val) {
4755 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
4756 return 1;
4757 }
4758
4759
4760 static PyObject *_wrap_DefaultSize_get() {
4761 PyObject *pyobj;
4762
4763 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSize, SWIGTYPE_p_wxSize, 0);
4764 return pyobj;
4765 }
4766
4767
4768 static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 PyObject *arg1 = (PyObject *) 0 ;
4771 wxPyInputStream *result;
4772 PyObject * obj0 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "p", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
4778 arg1 = obj0;
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyInputStream, 1);
4787 return resultobj;
4788 fail:
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4796 PyObject * obj0 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self", NULL
4799 };
4800
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
4802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 (arg1)->close();
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 Py_INCREF(Py_None); resultobj = Py_None;
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
4818 PyObject *resultobj;
4819 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4820 PyObject * obj0 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self", NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
4826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 (arg1)->flush();
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 Py_INCREF(Py_None); resultobj = Py_None;
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4844 bool result;
4845 PyObject * obj0 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
4851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (bool)(arg1)->eof();
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 resultobj = PyInt_FromLong((long)result);
4860 return resultobj;
4861 fail:
4862 return NULL;
4863 }
4864
4865
4866 static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject *resultobj;
4868 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4869 int arg2 = (int) -1 ;
4870 PyObject *result;
4871 PyObject * obj0 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self",(char *) "size", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_read",kwnames,&obj0,&arg2)) goto fail;
4877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 result = (PyObject *)(arg1)->read(arg2);
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 resultobj = result;
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4895 int arg2 = (int) -1 ;
4896 PyObject *result;
4897 PyObject * obj0 = 0 ;
4898 char *kwnames[] = {
4899 (char *) "self",(char *) "size", NULL
4900 };
4901
4902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readline",kwnames,&obj0,&arg2)) goto fail;
4903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (PyObject *)(arg1)->readline(arg2);
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 resultobj = result;
4912 return resultobj;
4913 fail:
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4921 int arg2 = (int) -1 ;
4922 PyObject *result;
4923 PyObject * obj0 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self",(char *) "sizehint", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:InputStream_readlines",kwnames,&obj0,&arg2)) goto fail;
4929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 result = (PyObject *)(arg1)->readlines(arg2);
4933
4934 wxPyEndAllowThreads(__tstate);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 resultobj = result;
4938 return resultobj;
4939 fail:
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4947 int arg2 ;
4948 int arg3 = (int) 0 ;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self",(char *) "offset",(char *) "whence", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:InputStream_seek",kwnames,&obj0,&arg2,&arg3)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->seek(arg2,arg3);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4973 int result;
4974 PyObject * obj0 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 result = (int)(arg1)->tell();
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 resultobj = PyInt_FromLong((long)result);
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
4998 char result;
4999 PyObject * obj0 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (char)(arg1)->Peek();
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = Py_BuildValue((char*)"c",result);
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj;
5022 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5023 char result;
5024 PyObject * obj0 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "self", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5031 {
5032 PyThreadState* __tstate = wxPyBeginAllowThreads();
5033 result = (char)(arg1)->GetC();
5034
5035 wxPyEndAllowThreads(__tstate);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 resultobj = Py_BuildValue((char*)"c",result);
5039 return resultobj;
5040 fail:
5041 return NULL;
5042 }
5043
5044
5045 static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5048 size_t result;
5049 PyObject * obj0 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
5055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 result = (size_t)(arg1)->LastRead();
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 resultobj = PyInt_FromLong((long)result);
5064 return resultobj;
5065 fail:
5066 return NULL;
5067 }
5068
5069
5070 static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5073 bool result;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
5080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = (bool)(arg1)->CanRead();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 resultobj = PyInt_FromLong((long)result);
5089 return resultobj;
5090 fail:
5091 return NULL;
5092 }
5093
5094
5095 static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5098 bool result;
5099 PyObject * obj0 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (bool)(arg1)->Eof();
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 resultobj = PyInt_FromLong((long)result);
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5123 char arg2 ;
5124 bool result;
5125 PyObject * obj0 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self",(char *) "c", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oc:InputStream_Ungetch",kwnames,&obj0,&arg2)) goto fail;
5131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (bool)(arg1)->Ungetch(arg2);
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 resultobj = PyInt_FromLong((long)result);
5140 return resultobj;
5141 fail:
5142 return NULL;
5143 }
5144
5145
5146 static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject *resultobj;
5148 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5149 long arg2 ;
5150 int arg3 = (int) wxFromStart ;
5151 long result;
5152 PyObject * obj0 = 0 ;
5153 char *kwnames[] = {
5154 (char *) "self",(char *) "pos",(char *) "mode", NULL
5155 };
5156
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:InputStream_SeekI",kwnames,&obj0,&arg2,&arg3)) goto fail;
5158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 resultobj = PyInt_FromLong((long)result);
5167 return resultobj;
5168 fail:
5169 return NULL;
5170 }
5171
5172
5173 static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5176 long result;
5177 PyObject * obj0 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "self", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
5183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyInputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (long)(arg1)->TellI();
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 resultobj = PyInt_FromLong((long)result);
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5199 PyObject *obj;
5200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5201 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
5202 Py_INCREF(obj);
5203 return Py_BuildValue((char *)"");
5204 }
5205 static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject *resultobj;
5207 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
5208 PyObject *arg2 = (PyObject *) 0 ;
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "obj", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 arg2 = obj1;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 wxOutputStream_write(arg1,arg2);
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 Py_INCREF(Py_None); resultobj = Py_None;
5226 return resultobj;
5227 fail:
5228 return NULL;
5229 }
5230
5231
5232 static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
5233 PyObject *obj;
5234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5235 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
5236 Py_INCREF(obj);
5237 return Py_BuildValue((char *)"");
5238 }
5239 static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxInputStream *arg1 = (wxInputStream *) 0 ;
5242 wxString *arg2 = 0 ;
5243 wxString *arg3 = 0 ;
5244 wxString *arg4 = 0 ;
5245 wxDateTime arg5 ;
5246 wxFSFile *result;
5247 wxPyInputStream *temp1 ;
5248 bool created1 ;
5249 bool temp2 = false ;
5250 bool temp3 = false ;
5251 bool temp4 = false ;
5252 wxDateTime *argp5 ;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
5255 PyObject * obj2 = 0 ;
5256 PyObject * obj3 = 0 ;
5257 PyObject * obj4 = 0 ;
5258 char *kwnames[] = {
5259 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5260 };
5261
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5263 {
5264 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
5265 arg1 = temp1->m_wxis;
5266 created1 = false;
5267 } else {
5268 PyErr_Clear(); // clear the failure of the wxPyConvert above
5269 arg1 = wxPyCBInputStream_create(obj0, false);
5270 if (arg1 == NULL) {
5271 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
5272 SWIG_fail;
5273 }
5274 created1 = true;
5275 }
5276 }
5277 {
5278 arg2 = wxString_in_helper(obj1);
5279 if (arg2 == NULL) SWIG_fail;
5280 temp2 = true;
5281 }
5282 {
5283 arg3 = wxString_in_helper(obj2);
5284 if (arg3 == NULL) SWIG_fail;
5285 temp3 = true;
5286 }
5287 {
5288 arg4 = wxString_in_helper(obj3);
5289 if (arg4 == NULL) SWIG_fail;
5290 temp4 = true;
5291 }
5292 if ((SWIG_ConvertPtr(obj4,(void **) &argp5, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5293 arg5 = *argp5;
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 {
5302 resultobj = wxPyMake_wxObject(result);
5303 }
5304 {
5305 if (created1)
5306 delete arg1;
5307 }
5308 {
5309 if (temp2)
5310 delete arg2;
5311 }
5312 {
5313 if (temp3)
5314 delete arg3;
5315 }
5316 {
5317 if (temp4)
5318 delete arg4;
5319 }
5320 return resultobj;
5321 fail:
5322 {
5323 if (created1)
5324 delete arg1;
5325 }
5326 {
5327 if (temp2)
5328 delete arg2;
5329 }
5330 {
5331 if (temp3)
5332 delete arg3;
5333 }
5334 {
5335 if (temp4)
5336 delete arg4;
5337 }
5338 return NULL;
5339 }
5340
5341
5342 static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxFSFile *arg1 = (wxFSFile *) 0 ;
5345 PyObject * obj0 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 delete arg1;
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 return resultobj;
5361 fail:
5362 return NULL;
5363 }
5364
5365
5366 static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxFSFile *arg1 = (wxFSFile *) 0 ;
5369 wxInputStream *result;
5370 PyObject * obj0 = 0 ;
5371 char *kwnames[] = {
5372 (char *) "self", NULL
5373 };
5374
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
5376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (wxInputStream *)(arg1)->GetStream();
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 {
5385 wxPyInputStream * _ptr = NULL;
5386
5387 if (result) {
5388 _ptr = new wxPyInputStream(result);
5389 }
5390 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
5391 }
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj;
5400 wxFSFile *arg1 = (wxFSFile *) 0 ;
5401 wxString *result;
5402 PyObject * obj0 = 0 ;
5403 char *kwnames[] = {
5404 (char *) "self", NULL
5405 };
5406
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
5408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 {
5412 wxString const &_result_ref = (arg1)->GetMimeType();
5413 result = (wxString *) &_result_ref;
5414 }
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxFSFile *arg1 = (wxFSFile *) 0 ;
5429 wxString *result;
5430 PyObject * obj0 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
5436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 {
5440 wxString const &_result_ref = (arg1)->GetLocation();
5441 result = (wxString *) &_result_ref;
5442 }
5443
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5448 return resultobj;
5449 fail:
5450 return NULL;
5451 }
5452
5453
5454 static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5455 PyObject *resultobj;
5456 wxFSFile *arg1 = (wxFSFile *) 0 ;
5457 wxString *result;
5458 PyObject * obj0 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 {
5468 wxString const &_result_ref = (arg1)->GetAnchor();
5469 result = (wxString *) &_result_ref;
5470 }
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxFSFile *arg1 = (wxFSFile *) 0 ;
5485 wxDateTime result;
5486 PyObject * obj0 = 0 ;
5487 char *kwnames[] = {
5488 (char *) "self", NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
5492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFSFile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (arg1)->GetModificationTime();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 wxDateTime * resultptr;
5502 resultptr = new wxDateTime((wxDateTime &) result);
5503 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
5504 }
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
5512 PyObject *obj;
5513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
5515 Py_INCREF(obj);
5516 return Py_BuildValue((char *)"");
5517 }
5518 static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5519 PyObject *obj;
5520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5521 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
5522 Py_INCREF(obj);
5523 return Py_BuildValue((char *)"");
5524 }
5525 static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxPyFileSystemHandler *result;
5528 char *kwnames[] = {
5529 NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileSystemHandler, 1);
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj;
5549 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5550 PyObject *arg2 = (PyObject *) 0 ;
5551 PyObject *arg3 = (PyObject *) 0 ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 PyObject * obj2 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "self",(char *) "_class", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 arg2 = obj1;
5562 arg3 = obj2;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 (arg1)->_setCallbackInfo(arg2,arg3);
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5580 wxString *arg2 = 0 ;
5581 bool result;
5582 bool temp2 = false ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "location", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5591 {
5592 arg2 = wxString_in_helper(obj1);
5593 if (arg2 == NULL) SWIG_fail;
5594 temp2 = true;
5595 }
5596 {
5597 PyThreadState* __tstate = wxPyBeginAllowThreads();
5598 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
5599
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 resultobj = PyInt_FromLong((long)result);
5604 {
5605 if (temp2)
5606 delete arg2;
5607 }
5608 return resultobj;
5609 fail:
5610 {
5611 if (temp2)
5612 delete arg2;
5613 }
5614 return NULL;
5615 }
5616
5617
5618 static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5619 PyObject *resultobj;
5620 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5621 wxFileSystem *arg2 = 0 ;
5622 wxString *arg3 = 0 ;
5623 wxFSFile *result;
5624 bool temp3 = false ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 PyObject * obj2 = 0 ;
5628 char *kwnames[] = {
5629 (char *) "self",(char *) "fs",(char *) "location", NULL
5630 };
5631
5632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
5633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5635 if (arg2 == NULL) {
5636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5637 }
5638 {
5639 arg3 = wxString_in_helper(obj2);
5640 if (arg3 == NULL) SWIG_fail;
5641 temp3 = true;
5642 }
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
5651 resultobj = wxPyMake_wxObject(result);
5652 }
5653 {
5654 if (temp3)
5655 delete arg3;
5656 }
5657 return resultobj;
5658 fail:
5659 {
5660 if (temp3)
5661 delete arg3;
5662 }
5663 return NULL;
5664 }
5665
5666
5667 static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject *resultobj;
5669 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5670 wxString *arg2 = 0 ;
5671 int arg3 = (int) 0 ;
5672 wxString result;
5673 bool temp2 = false ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "spec",(char *) "flags", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
5681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5682 {
5683 arg2 = wxString_in_helper(obj1);
5684 if (arg2 == NULL) SWIG_fail;
5685 temp2 = true;
5686 }
5687 {
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
5690
5691 wxPyEndAllowThreads(__tstate);
5692 if (PyErr_Occurred()) SWIG_fail;
5693 }
5694 {
5695 #if wxUSE_UNICODE
5696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5697 #else
5698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5699 #endif
5700 }
5701 {
5702 if (temp2)
5703 delete arg2;
5704 }
5705 return resultobj;
5706 fail:
5707 {
5708 if (temp2)
5709 delete arg2;
5710 }
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5718 wxString result;
5719 PyObject * obj0 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "self", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
5725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (arg1)->FindNext();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 #if wxUSE_UNICODE
5735 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5736 #else
5737 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5738 #endif
5739 }
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5749 wxString *arg2 = 0 ;
5750 wxString result;
5751 bool temp2 = false ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "location", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5760 {
5761 arg2 = wxString_in_helper(obj1);
5762 if (arg2 == NULL) SWIG_fail;
5763 temp2 = true;
5764 }
5765 {
5766 PyThreadState* __tstate = wxPyBeginAllowThreads();
5767 result = (arg1)->GetProtocol((wxString const &)*arg2);
5768
5769 wxPyEndAllowThreads(__tstate);
5770 if (PyErr_Occurred()) SWIG_fail;
5771 }
5772 {
5773 #if wxUSE_UNICODE
5774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5775 #else
5776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5777 #endif
5778 }
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return resultobj;
5784 fail:
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5796 wxString *arg2 = 0 ;
5797 wxString result;
5798 bool temp2 = false ;
5799 PyObject * obj0 = 0 ;
5800 PyObject * obj1 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "location", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5807 {
5808 arg2 = wxString_in_helper(obj1);
5809 if (arg2 == NULL) SWIG_fail;
5810 temp2 = true;
5811 }
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 {
5820 #if wxUSE_UNICODE
5821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5822 #else
5823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5824 #endif
5825 }
5826 {
5827 if (temp2)
5828 delete arg2;
5829 }
5830 return resultobj;
5831 fail:
5832 {
5833 if (temp2)
5834 delete arg2;
5835 }
5836 return NULL;
5837 }
5838
5839
5840 static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5843 wxString *arg2 = 0 ;
5844 wxString result;
5845 bool temp2 = false ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "location", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5854 {
5855 arg2 = wxString_in_helper(obj1);
5856 if (arg2 == NULL) SWIG_fail;
5857 temp2 = true;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 result = (arg1)->GetAnchor((wxString const &)*arg2);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 {
5867 #if wxUSE_UNICODE
5868 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5869 #else
5870 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5871 #endif
5872 }
5873 {
5874 if (temp2)
5875 delete arg2;
5876 }
5877 return resultobj;
5878 fail:
5879 {
5880 if (temp2)
5881 delete arg2;
5882 }
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5890 wxString *arg2 = 0 ;
5891 wxString result;
5892 bool temp2 = false ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self",(char *) "location", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 {
5902 arg2 = wxString_in_helper(obj1);
5903 if (arg2 == NULL) SWIG_fail;
5904 temp2 = true;
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (arg1)->GetRightLocation((wxString const &)*arg2);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 #if wxUSE_UNICODE
5915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5916 #else
5917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5918 #endif
5919 }
5920 {
5921 if (temp2)
5922 delete arg2;
5923 }
5924 return resultobj;
5925 fail:
5926 {
5927 if (temp2)
5928 delete arg2;
5929 }
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
5937 wxString *arg2 = 0 ;
5938 wxString result;
5939 bool temp2 = false ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self",(char *) "location", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
5947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5948 {
5949 arg2 = wxString_in_helper(obj1);
5950 if (arg2 == NULL) SWIG_fail;
5951 temp2 = true;
5952 }
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 {
5961 #if wxUSE_UNICODE
5962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5963 #else
5964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5965 #endif
5966 }
5967 {
5968 if (temp2)
5969 delete arg2;
5970 }
5971 return resultobj;
5972 fail:
5973 {
5974 if (temp2)
5975 delete arg2;
5976 }
5977 return NULL;
5978 }
5979
5980
5981 static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
5982 PyObject *obj;
5983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5984 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
5985 Py_INCREF(obj);
5986 return Py_BuildValue((char *)"");
5987 }
5988 static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj;
5990 wxFileSystem *result;
5991 char *kwnames[] = {
5992 NULL
5993 };
5994
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (wxFileSystem *)new wxFileSystem();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 {
6004 resultobj = wxPyMake_wxObject(result);
6005 }
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6015 PyObject * obj0 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 delete arg1;
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 Py_INCREF(Py_None); resultobj = Py_None;
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6039 wxString *arg2 = 0 ;
6040 bool arg3 = (bool) FALSE ;
6041 bool temp2 = false ;
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 PyObject * obj2 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6051 {
6052 arg2 = wxString_in_helper(obj1);
6053 if (arg2 == NULL) SWIG_fail;
6054 temp2 = true;
6055 }
6056 if (obj2) {
6057 arg3 = PyInt_AsLong(obj2) ? true : false;
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 Py_INCREF(Py_None); resultobj = Py_None;
6068 {
6069 if (temp2)
6070 delete arg2;
6071 }
6072 return resultobj;
6073 fail:
6074 {
6075 if (temp2)
6076 delete arg2;
6077 }
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6085 wxString result;
6086 PyObject * obj0 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "self", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
6092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (arg1)->GetPath();
6096
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 {
6101 #if wxUSE_UNICODE
6102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6103 #else
6104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6105 #endif
6106 }
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6116 wxString *arg2 = 0 ;
6117 wxFSFile *result;
6118 bool temp2 = false ;
6119 PyObject * obj0 = 0 ;
6120 PyObject * obj1 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "location", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
6126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6127 {
6128 arg2 = wxString_in_helper(obj1);
6129 if (arg2 == NULL) SWIG_fail;
6130 temp2 = true;
6131 }
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140 resultobj = wxPyMake_wxObject(result);
6141 }
6142 {
6143 if (temp2)
6144 delete arg2;
6145 }
6146 return resultobj;
6147 fail:
6148 {
6149 if (temp2)
6150 delete arg2;
6151 }
6152 return NULL;
6153 }
6154
6155
6156 static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6159 wxString *arg2 = 0 ;
6160 int arg3 = (int) 0 ;
6161 wxString result;
6162 bool temp2 = false ;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self",(char *) "spec",(char *) "flags", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FileSystem_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 {
6172 arg2 = wxString_in_helper(obj1);
6173 if (arg2 == NULL) SWIG_fail;
6174 temp2 = true;
6175 }
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 #if wxUSE_UNICODE
6185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6186 #else
6187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6188 #endif
6189 }
6190 {
6191 if (temp2)
6192 delete arg2;
6193 }
6194 return resultobj;
6195 fail:
6196 {
6197 if (temp2)
6198 delete arg2;
6199 }
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6207 wxString result;
6208 PyObject * obj0 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "self", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
6214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (arg1)->FindNext();
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 {
6223 #if wxUSE_UNICODE
6224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6225 #else
6226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6227 #endif
6228 }
6229 return resultobj;
6230 fail:
6231 return NULL;
6232 }
6233
6234
6235 static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj;
6237 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "handler", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileSystemHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 wxFileSystem::AddHandler(arg1);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 Py_INCREF(Py_None); resultobj = Py_None;
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj;
6261 char *kwnames[] = {
6262 NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 wxFileSystem::CleanUpHandlers();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 Py_INCREF(Py_None); resultobj = Py_None;
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxString *arg1 = 0 ;
6283 wxString result;
6284 bool temp1 = false ;
6285 PyObject * obj0 = 0 ;
6286 char *kwnames[] = {
6287 (char *) "filename", NULL
6288 };
6289
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
6291 {
6292 arg1 = wxString_in_helper(obj0);
6293 if (arg1 == NULL) SWIG_fail;
6294 temp1 = true;
6295 }
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 {
6304 #if wxUSE_UNICODE
6305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6306 #else
6307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6308 #endif
6309 }
6310 {
6311 if (temp1)
6312 delete arg1;
6313 }
6314 return resultobj;
6315 fail:
6316 {
6317 if (temp1)
6318 delete arg1;
6319 }
6320 return NULL;
6321 }
6322
6323
6324 static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
6325 PyObject *obj;
6326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6327 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
6328 Py_INCREF(obj);
6329 return Py_BuildValue((char *)"");
6330 }
6331 static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxString *arg1 = 0 ;
6334 wxString result;
6335 bool temp1 = false ;
6336 PyObject * obj0 = 0 ;
6337 char *kwnames[] = {
6338 (char *) "url", NULL
6339 };
6340
6341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
6342 {
6343 arg1 = wxString_in_helper(obj0);
6344 if (arg1 == NULL) SWIG_fail;
6345 temp1 = true;
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 {
6355 #if wxUSE_UNICODE
6356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6357 #else
6358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6359 #endif
6360 }
6361 {
6362 if (temp1)
6363 delete arg1;
6364 }
6365 return resultobj;
6366 fail:
6367 {
6368 if (temp1)
6369 delete arg1;
6370 }
6371 return NULL;
6372 }
6373
6374
6375 static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj;
6377 wxInternetFSHandler *result;
6378 char *kwnames[] = {
6379 NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 result = (wxInternetFSHandler *)new wxInternetFSHandler();
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInternetFSHandler, 1);
6391 return resultobj;
6392 fail:
6393 return NULL;
6394 }
6395
6396
6397 static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6400 wxString *arg2 = 0 ;
6401 bool result;
6402 bool temp2 = false ;
6403 PyObject * obj0 = 0 ;
6404 PyObject * obj1 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self",(char *) "location", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6411 {
6412 arg2 = wxString_in_helper(obj1);
6413 if (arg2 == NULL) SWIG_fail;
6414 temp2 = true;
6415 }
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
6423 resultobj = PyInt_FromLong((long)result);
6424 {
6425 if (temp2)
6426 delete arg2;
6427 }
6428 return resultobj;
6429 fail:
6430 {
6431 if (temp2)
6432 delete arg2;
6433 }
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
6441 wxFileSystem *arg2 = 0 ;
6442 wxString *arg3 = 0 ;
6443 wxFSFile *result;
6444 bool temp3 = false ;
6445 PyObject * obj0 = 0 ;
6446 PyObject * obj1 = 0 ;
6447 PyObject * obj2 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self",(char *) "fs",(char *) "location", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxInternetFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 if (arg2 == NULL) {
6456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6457 }
6458 {
6459 arg3 = wxString_in_helper(obj2);
6460 if (arg3 == NULL) SWIG_fail;
6461 temp3 = true;
6462 }
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6466
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 {
6471 resultobj = wxPyMake_wxObject(result);
6472 }
6473 {
6474 if (temp3)
6475 delete arg3;
6476 }
6477 return resultobj;
6478 fail:
6479 {
6480 if (temp3)
6481 delete arg3;
6482 }
6483 return NULL;
6484 }
6485
6486
6487 static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
6488 PyObject *obj;
6489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6490 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
6491 Py_INCREF(obj);
6492 return Py_BuildValue((char *)"");
6493 }
6494 static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxZipFSHandler *result;
6497 char *kwnames[] = {
6498 NULL
6499 };
6500
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (wxZipFSHandler *)new wxZipFSHandler();
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxZipFSHandler, 1);
6510 return resultobj;
6511 fail:
6512 return NULL;
6513 }
6514
6515
6516 static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj;
6518 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6519 wxString *arg2 = 0 ;
6520 bool result;
6521 bool temp2 = false ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "location", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6530 {
6531 arg2 = wxString_in_helper(obj1);
6532 if (arg2 == NULL) SWIG_fail;
6533 temp2 = true;
6534 }
6535 {
6536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6537 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 resultobj = PyInt_FromLong((long)result);
6543 {
6544 if (temp2)
6545 delete arg2;
6546 }
6547 return resultobj;
6548 fail:
6549 {
6550 if (temp2)
6551 delete arg2;
6552 }
6553 return NULL;
6554 }
6555
6556
6557 static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj;
6559 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6560 wxFileSystem *arg2 = 0 ;
6561 wxString *arg3 = 0 ;
6562 wxFSFile *result;
6563 bool temp3 = false ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 PyObject * obj2 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "fs",(char *) "location", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6574 if (arg2 == NULL) {
6575 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6576 }
6577 {
6578 arg3 = wxString_in_helper(obj2);
6579 if (arg3 == NULL) SWIG_fail;
6580 temp3 = true;
6581 }
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 {
6590 resultobj = wxPyMake_wxObject(result);
6591 }
6592 {
6593 if (temp3)
6594 delete arg3;
6595 }
6596 return resultobj;
6597 fail:
6598 {
6599 if (temp3)
6600 delete arg3;
6601 }
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6609 wxString *arg2 = 0 ;
6610 int arg3 = (int) 0 ;
6611 wxString result;
6612 bool temp2 = false ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "spec",(char *) "flags", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6621 {
6622 arg2 = wxString_in_helper(obj1);
6623 if (arg2 == NULL) SWIG_fail;
6624 temp2 = true;
6625 }
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 {
6634 #if wxUSE_UNICODE
6635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6636 #else
6637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6638 #endif
6639 }
6640 {
6641 if (temp2)
6642 delete arg2;
6643 }
6644 return resultobj;
6645 fail:
6646 {
6647 if (temp2)
6648 delete arg2;
6649 }
6650 return NULL;
6651 }
6652
6653
6654 static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6655 PyObject *resultobj;
6656 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
6657 wxString result;
6658 PyObject * obj0 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
6664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxZipFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (arg1)->FindNext();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 #if wxUSE_UNICODE
6674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6675 #else
6676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6677 #endif
6678 }
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
6686 PyObject *obj;
6687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6688 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
6689 Py_INCREF(obj);
6690 return Py_BuildValue((char *)"");
6691 }
6692 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj;
6694 wxString *arg1 = 0 ;
6695 wxImage *arg2 = 0 ;
6696 long arg3 ;
6697 bool temp1 = false ;
6698 PyObject * obj0 = 0 ;
6699 PyObject * obj1 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "filename",(char *) "image",(char *) "type", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
6705 {
6706 arg1 = wxString_in_helper(obj0);
6707 if (arg1 == NULL) SWIG_fail;
6708 temp1 = true;
6709 }
6710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 if (arg2 == NULL) {
6712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6713 }
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 {
6723 if (temp1)
6724 delete arg1;
6725 }
6726 return resultobj;
6727 fail:
6728 {
6729 if (temp1)
6730 delete arg1;
6731 }
6732 return NULL;
6733 }
6734
6735
6736 static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj;
6738 wxString *arg1 = 0 ;
6739 wxBitmap *arg2 = 0 ;
6740 long arg3 ;
6741 bool temp1 = false ;
6742 PyObject * obj0 = 0 ;
6743 PyObject * obj1 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&arg3)) goto fail;
6749 {
6750 arg1 = wxString_in_helper(obj0);
6751 if (arg1 == NULL) SWIG_fail;
6752 temp1 = true;
6753 }
6754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 if (arg2 == NULL) {
6756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) SWIG_fail;
6764 }
6765 Py_INCREF(Py_None); resultobj = Py_None;
6766 {
6767 if (temp1)
6768 delete arg1;
6769 }
6770 return resultobj;
6771 fail:
6772 {
6773 if (temp1)
6774 delete arg1;
6775 }
6776 return NULL;
6777 }
6778
6779
6780 static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 wxString *arg1 = 0 ;
6783 PyObject *arg2 = (PyObject *) 0 ;
6784 bool temp1 = false ;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "filename",(char *) "data", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
6792 {
6793 arg1 = wxString_in_helper(obj0);
6794 if (arg1 == NULL) SWIG_fail;
6795 temp1 = true;
6796 }
6797 arg2 = obj1;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 {
6807 if (temp1)
6808 delete arg1;
6809 }
6810 return resultobj;
6811 fail:
6812 {
6813 if (temp1)
6814 delete arg1;
6815 }
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxMemoryFSHandler *result;
6823 char *kwnames[] = {
6824 NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMemoryFSHandler, 1);
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxString *arg1 = 0 ;
6845 bool temp1 = false ;
6846 PyObject * obj0 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "filename", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
6852 {
6853 arg1 = wxString_in_helper(obj0);
6854 if (arg1 == NULL) SWIG_fail;
6855 temp1 = true;
6856 }
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 Py_INCREF(Py_None); resultobj = Py_None;
6865 {
6866 if (temp1)
6867 delete arg1;
6868 }
6869 return resultobj;
6870 fail:
6871 {
6872 if (temp1)
6873 delete arg1;
6874 }
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6882 wxString *arg2 = 0 ;
6883 bool result;
6884 bool temp2 = false ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "location", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 {
6894 arg2 = wxString_in_helper(obj1);
6895 if (arg2 == NULL) SWIG_fail;
6896 temp2 = true;
6897 }
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = PyInt_FromLong((long)result);
6906 {
6907 if (temp2)
6908 delete arg2;
6909 }
6910 return resultobj;
6911 fail:
6912 {
6913 if (temp2)
6914 delete arg2;
6915 }
6916 return NULL;
6917 }
6918
6919
6920 static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj;
6922 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6923 wxFileSystem *arg2 = 0 ;
6924 wxString *arg3 = 0 ;
6925 wxFSFile *result;
6926 bool temp3 = false ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 PyObject * obj2 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "self",(char *) "fs",(char *) "location", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileSystem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 if (arg2 == NULL) {
6938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6939 }
6940 {
6941 arg3 = wxString_in_helper(obj2);
6942 if (arg3 == NULL) SWIG_fail;
6943 temp3 = true;
6944 }
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 {
6953 resultobj = wxPyMake_wxObject(result);
6954 }
6955 {
6956 if (temp3)
6957 delete arg3;
6958 }
6959 return resultobj;
6960 fail:
6961 {
6962 if (temp3)
6963 delete arg3;
6964 }
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
6972 wxString *arg2 = 0 ;
6973 int arg3 = (int) 0 ;
6974 wxString result;
6975 bool temp2 = false ;
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "self",(char *) "spec",(char *) "flags", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&arg3)) goto fail;
6983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6984 {
6985 arg2 = wxString_in_helper(obj1);
6986 if (arg2 == NULL) SWIG_fail;
6987 temp2 = true;
6988 }
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6992
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 {
6997 #if wxUSE_UNICODE
6998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6999 #else
7000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7001 #endif
7002 }
7003 {
7004 if (temp2)
7005 delete arg2;
7006 }
7007 return resultobj;
7008 fail:
7009 {
7010 if (temp2)
7011 delete arg2;
7012 }
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7020 wxString result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMemoryFSHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (arg1)->FindNext();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036 #if wxUSE_UNICODE
7037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7038 #else
7039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7040 #endif
7041 }
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
7049 PyObject *obj;
7050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7051 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
7052 Py_INCREF(obj);
7053 return Py_BuildValue((char *)"");
7054 }
7055 static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7056 PyObject *resultobj;
7057 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7058 wxString result;
7059 PyObject * obj0 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "self", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
7065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7066 {
7067 PyThreadState* __tstate = wxPyBeginAllowThreads();
7068 result = (arg1)->GetName();
7069
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 {
7074 #if wxUSE_UNICODE
7075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7076 #else
7077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7078 #endif
7079 }
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7089 wxString result;
7090 PyObject * obj0 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 result = (arg1)->GetExtension();
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 {
7105 #if wxUSE_UNICODE
7106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7107 #else
7108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7109 #endif
7110 }
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7120 long result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
7127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (long)(arg1)->GetType();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 resultobj = PyInt_FromLong((long)result);
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7145 wxString result;
7146 PyObject * obj0 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self", NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
7152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (arg1)->GetMimeType();
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 {
7161 #if wxUSE_UNICODE
7162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7163 #else
7164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7165 #endif
7166 }
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7176 wxString *arg2 = 0 ;
7177 bool result;
7178 bool temp2 = false ;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "name", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
7186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7187 {
7188 arg2 = wxString_in_helper(obj1);
7189 if (arg2 == NULL) SWIG_fail;
7190 temp2 = true;
7191 }
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 resultobj = PyInt_FromLong((long)result);
7200 {
7201 if (temp2)
7202 delete arg2;
7203 }
7204 return resultobj;
7205 fail:
7206 {
7207 if (temp2)
7208 delete arg2;
7209 }
7210 return NULL;
7211 }
7212
7213
7214 static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj;
7216 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7217 wxString *arg2 = 0 ;
7218 bool temp2 = false ;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "name", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 {
7228 arg2 = wxString_in_helper(obj1);
7229 if (arg2 == NULL) SWIG_fail;
7230 temp2 = true;
7231 }
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 (arg1)->SetName((wxString const &)*arg2);
7235
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 Py_INCREF(Py_None); resultobj = Py_None;
7240 {
7241 if (temp2)
7242 delete arg2;
7243 }
7244 return resultobj;
7245 fail:
7246 {
7247 if (temp2)
7248 delete arg2;
7249 }
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7257 wxString *arg2 = 0 ;
7258 bool temp2 = false ;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "extension", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7267 {
7268 arg2 = wxString_in_helper(obj1);
7269 if (arg2 == NULL) SWIG_fail;
7270 temp2 = true;
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 (arg1)->SetExtension((wxString const &)*arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 Py_INCREF(Py_None); resultobj = Py_None;
7280 {
7281 if (temp2)
7282 delete arg2;
7283 }
7284 return resultobj;
7285 fail:
7286 {
7287 if (temp2)
7288 delete arg2;
7289 }
7290 return NULL;
7291 }
7292
7293
7294 static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj;
7296 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7297 long arg2 ;
7298 PyObject * obj0 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "type", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ImageHandler_SetType",kwnames,&obj0,&arg2)) goto fail;
7304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7305 {
7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
7307 (arg1)->SetType(arg2);
7308
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 Py_INCREF(Py_None); resultobj = Py_None;
7313 return resultobj;
7314 fail:
7315 return NULL;
7316 }
7317
7318
7319 static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj;
7321 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7322 wxString *arg2 = 0 ;
7323 bool temp2 = false ;
7324 PyObject * obj0 = 0 ;
7325 PyObject * obj1 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self",(char *) "mimetype", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
7331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7332 {
7333 arg2 = wxString_in_helper(obj1);
7334 if (arg2 == NULL) SWIG_fail;
7335 temp2 = true;
7336 }
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 (arg1)->SetMimeType((wxString const &)*arg2);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 Py_INCREF(Py_None); resultobj = Py_None;
7345 {
7346 if (temp2)
7347 delete arg2;
7348 }
7349 return resultobj;
7350 fail:
7351 {
7352 if (temp2)
7353 delete arg2;
7354 }
7355 return NULL;
7356 }
7357
7358
7359 static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
7360 PyObject *obj;
7361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7362 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
7363 Py_INCREF(obj);
7364 return Py_BuildValue((char *)"");
7365 }
7366 static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxImageHistogram *result;
7369 char *kwnames[] = {
7370 NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
7374 {
7375 PyThreadState* __tstate = wxPyBeginAllowThreads();
7376 result = (wxImageHistogram *)new wxImageHistogram();
7377
7378 wxPyEndAllowThreads(__tstate);
7379 if (PyErr_Occurred()) SWIG_fail;
7380 }
7381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImageHistogram, 1);
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 unsigned char arg1 ;
7391 unsigned char arg2 ;
7392 unsigned char arg3 ;
7393 unsigned long result;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 PyObject * obj2 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "r",(char *) "g",(char *) "b", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
7402 arg1 = (unsigned char) PyInt_AsLong(obj0);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 arg2 = (unsigned char) PyInt_AsLong(obj1);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 arg3 = (unsigned char) PyInt_AsLong(obj2);
7407 if (PyErr_Occurred()) SWIG_fail;
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 resultobj = PyInt_FromLong((long)result);
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7423 PyObject *resultobj;
7424 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7425 unsigned char *arg2 = (unsigned char *) 0 ;
7426 unsigned char *arg3 = (unsigned char *) 0 ;
7427 unsigned char *arg4 = (unsigned char *) 0 ;
7428 unsigned char arg5 = (unsigned char) 1 ;
7429 unsigned char arg6 = (unsigned char) 0 ;
7430 unsigned char arg7 = (unsigned char) 0 ;
7431 bool result;
7432 unsigned char temp2 ;
7433 unsigned char temp3 ;
7434 unsigned char temp4 ;
7435 PyObject * obj0 = 0 ;
7436 PyObject * obj1 = 0 ;
7437 PyObject * obj2 = 0 ;
7438 PyObject * obj3 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7441 };
7442
7443 arg2 = &temp2;
7444 arg3 = &temp3;
7445 arg4 = &temp4;
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7448 if (obj1) {
7449 arg5 = (unsigned char) PyInt_AsLong(obj1);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 if (obj2) {
7453 arg6 = (unsigned char) PyInt_AsLong(obj2);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 if (obj3) {
7457 arg7 = (unsigned char) PyInt_AsLong(obj3);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = PyInt_FromLong((long)result);
7468 {
7469 PyObject *o = PyInt_FromLong((long) (*arg2));
7470 resultobj = t_output_helper(resultobj,o);
7471 }
7472 {
7473 PyObject *o = PyInt_FromLong((long) (*arg3));
7474 resultobj = t_output_helper(resultobj,o);
7475 }
7476 {
7477 PyObject *o = PyInt_FromLong((long) (*arg4));
7478 resultobj = t_output_helper(resultobj,o);
7479 }
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
7487 PyObject *obj;
7488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7489 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
7490 Py_INCREF(obj);
7491 return Py_BuildValue((char *)"");
7492 }
7493 static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxString *arg1 = 0 ;
7496 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7497 int arg3 = (int) -1 ;
7498 wxImage *result;
7499 bool temp1 = false ;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "name",(char *) "type",(char *) "index", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_Image",kwnames,&obj0,&arg2,&arg3)) goto fail;
7506 {
7507 arg1 = wxString_in_helper(obj0);
7508 if (arg1 == NULL) SWIG_fail;
7509 temp1 = true;
7510 }
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7519 {
7520 if (temp1)
7521 delete arg1;
7522 }
7523 return resultobj;
7524 fail:
7525 {
7526 if (temp1)
7527 delete arg1;
7528 }
7529 return NULL;
7530 }
7531
7532
7533 static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxImage *arg1 = (wxImage *) 0 ;
7536 PyObject * obj0 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 delete arg1;
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 Py_INCREF(Py_None); resultobj = Py_None;
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxString *arg1 = 0 ;
7560 wxString *arg2 = 0 ;
7561 int arg3 = (int) -1 ;
7562 wxImage *result;
7563 bool temp1 = false ;
7564 bool temp2 = false ;
7565 PyObject * obj0 = 0 ;
7566 PyObject * obj1 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7572 {
7573 arg1 = wxString_in_helper(obj0);
7574 if (arg1 == NULL) SWIG_fail;
7575 temp1 = true;
7576 }
7577 {
7578 arg2 = wxString_in_helper(obj1);
7579 if (arg2 == NULL) SWIG_fail;
7580 temp2 = true;
7581 }
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7590 {
7591 if (temp1)
7592 delete arg1;
7593 }
7594 {
7595 if (temp2)
7596 delete arg2;
7597 }
7598 return resultobj;
7599 fail:
7600 {
7601 if (temp1)
7602 delete arg1;
7603 }
7604 {
7605 if (temp2)
7606 delete arg2;
7607 }
7608 return NULL;
7609 }
7610
7611
7612 static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxInputStream *arg1 = 0 ;
7615 long arg2 = (long) wxBITMAP_TYPE_ANY ;
7616 int arg3 = (int) -1 ;
7617 wxImage *result;
7618 wxPyInputStream *temp1 ;
7619 bool created1 ;
7620 PyObject * obj0 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "stream",(char *) "type",(char *) "index", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|li:new_ImageFromStream",kwnames,&obj0,&arg2,&arg3)) goto fail;
7626 {
7627 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7628 arg1 = temp1->m_wxis;
7629 created1 = false;
7630 } else {
7631 PyErr_Clear(); // clear the failure of the wxPyConvert above
7632 arg1 = wxPyCBInputStream_create(obj0, false);
7633 if (arg1 == NULL) {
7634 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7635 SWIG_fail;
7636 }
7637 created1 = true;
7638 }
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7648 {
7649 if (created1)
7650 delete arg1;
7651 }
7652 return resultobj;
7653 fail:
7654 {
7655 if (created1)
7656 delete arg1;
7657 }
7658 return NULL;
7659 }
7660
7661
7662 static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxInputStream *arg1 = 0 ;
7665 wxString *arg2 = 0 ;
7666 int arg3 = (int) -1 ;
7667 wxImage *result;
7668 wxPyInputStream *temp1 ;
7669 bool created1 ;
7670 bool temp2 = false ;
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&arg3)) goto fail;
7678 {
7679 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
7680 arg1 = temp1->m_wxis;
7681 created1 = false;
7682 } else {
7683 PyErr_Clear(); // clear the failure of the wxPyConvert above
7684 arg1 = wxPyCBInputStream_create(obj0, false);
7685 if (arg1 == NULL) {
7686 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
7687 SWIG_fail;
7688 }
7689 created1 = true;
7690 }
7691 }
7692 {
7693 arg2 = wxString_in_helper(obj1);
7694 if (arg2 == NULL) SWIG_fail;
7695 temp2 = true;
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7705 {
7706 if (created1)
7707 delete arg1;
7708 }
7709 {
7710 if (temp2)
7711 delete arg2;
7712 }
7713 return resultobj;
7714 fail:
7715 {
7716 if (created1)
7717 delete arg1;
7718 }
7719 {
7720 if (temp2)
7721 delete arg2;
7722 }
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 int arg1 = (int) 0 ;
7730 int arg2 = (int) 0 ;
7731 bool arg3 = (bool) TRUE ;
7732 wxImage *result;
7733 PyObject * obj2 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "width",(char *) "height",(char *) "clear", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_EmptyImage",kwnames,&arg1,&arg2,&obj2)) goto fail;
7739 if (obj2) {
7740 arg3 = PyInt_AsLong(obj2) ? true : false;
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7751 return resultobj;
7752 fail:
7753 return NULL;
7754 }
7755
7756
7757 static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxBitmap *arg1 = 0 ;
7760 wxImage *result;
7761 PyObject * obj0 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "bitmap", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7768 if (arg1 == NULL) {
7769 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7770 }
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7779 return resultobj;
7780 fail:
7781 return NULL;
7782 }
7783
7784
7785 static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj;
7787 int arg1 ;
7788 int arg2 ;
7789 unsigned char *arg3 = (unsigned char *) 0 ;
7790 wxImage *result;
7791 PyObject * obj2 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "width",(char *) "height",(char *) "data", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiO:new_ImageFromData",kwnames,&arg1,&arg2,&obj2)) goto fail;
7797 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_unsigned_char,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7798 {
7799 PyThreadState* __tstate = wxPyBeginAllowThreads();
7800 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
7801
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 1);
7806 return resultobj;
7807 fail:
7808 return NULL;
7809 }
7810
7811
7812 static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj;
7814 wxImage *arg1 = (wxImage *) 0 ;
7815 int arg2 ;
7816 int arg3 ;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self",(char *) "width",(char *) "height", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Create",kwnames,&obj0,&arg2,&arg3)) goto fail;
7823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->Create(arg2,arg3);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxImage *arg1 = (wxImage *) 0 ;
7841 PyObject * obj0 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
7847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 (arg1)->Destroy();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 Py_INCREF(Py_None); resultobj = Py_None;
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxImage *arg1 = (wxImage *) 0 ;
7865 int arg2 ;
7866 int arg3 ;
7867 SwigValueWrapper< wxImage > result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self",(char *) "width",(char *) "height", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Scale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (arg1)->Scale(arg2,arg3);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 {
7883 wxImage * resultptr;
7884 resultptr = new wxImage((wxImage &) result);
7885 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7886 }
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxImage *arg1 = (wxImage *) 0 ;
7896 int arg2 ;
7897 int arg3 ;
7898 SwigValueWrapper< wxImage > result;
7899 PyObject * obj0 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_ShrinkBy",kwnames,&obj0,&arg2,&arg3)) goto fail;
7905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
7914 wxImage * resultptr;
7915 resultptr = new wxImage((wxImage &) result);
7916 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
7917 }
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxImage *arg1 = (wxImage *) 0 ;
7927 int arg2 ;
7928 int arg3 ;
7929 wxImage *result;
7930 PyObject * obj0 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "width",(char *) "height", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_Rescale",kwnames,&obj0,&arg2,&arg3)) goto fail;
7936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 {
7940 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
7941 result = (wxImage *) &_result_ref;
7942 }
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxImage, 0);
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxImage *arg1 = (wxImage *) 0 ;
7957 int arg2 ;
7958 int arg3 ;
7959 unsigned char arg4 ;
7960 unsigned char arg5 ;
7961 unsigned char arg6 ;
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj3 = 0 ;
7964 PyObject * obj4 = 0 ;
7965 PyObject * obj5 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOO:Image_SetRGB",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5)) goto fail;
7971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7972 arg4 = (unsigned char) PyInt_AsLong(obj3);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 arg5 = (unsigned char) PyInt_AsLong(obj4);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 arg6 = (unsigned char) PyInt_AsLong(obj5);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 Py_INCREF(Py_None); resultobj = Py_None;
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj;
7994 wxImage *arg1 = (wxImage *) 0 ;
7995 int arg2 ;
7996 int arg3 ;
7997 unsigned char result;
7998 PyObject * obj0 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self",(char *) "x",(char *) "y", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetRed",kwnames,&obj0,&arg2,&arg3)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 resultobj = PyInt_FromLong((long)result);
8013 return resultobj;
8014 fail:
8015 return NULL;
8016 }
8017
8018
8019 static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj;
8021 wxImage *arg1 = (wxImage *) 0 ;
8022 int arg2 ;
8023 int arg3 ;
8024 unsigned char result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self",(char *) "x",(char *) "y", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetGreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = PyInt_FromLong((long)result);
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxImage *arg1 = (wxImage *) 0 ;
8049 int arg2 ;
8050 int arg3 ;
8051 unsigned char result;
8052 PyObject * obj0 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self",(char *) "x",(char *) "y", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetBlue",kwnames,&obj0,&arg2,&arg3)) goto fail;
8058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
8062
8063 wxPyEndAllowThreads(__tstate);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 }
8066 resultobj = PyInt_FromLong((long)result);
8067 return resultobj;
8068 fail:
8069 return NULL;
8070 }
8071
8072
8073 static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj;
8075 wxImage *arg1 = (wxImage *) 0 ;
8076 int arg2 ;
8077 int arg3 ;
8078 unsigned char arg4 ;
8079 PyObject * obj0 = 0 ;
8080 PyObject * obj3 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:Image_SetAlpha",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
8086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8087 arg4 = (unsigned char) PyInt_AsLong(obj3);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 (arg1)->SetAlpha(arg2,arg3,arg4);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxImage *arg1 = (wxImage *) 0 ;
8106 int arg2 ;
8107 int arg3 ;
8108 unsigned char result;
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "x",(char *) "y", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Image_GetAlpha",kwnames,&obj0,&arg2,&arg3)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 resultobj = PyInt_FromLong((long)result);
8124 return resultobj;
8125 fail:
8126 return NULL;
8127 }
8128
8129
8130 static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxImage *arg1 = (wxImage *) 0 ;
8133 bool result;
8134 PyObject * obj0 = 0 ;
8135 char *kwnames[] = {
8136 (char *) "self", NULL
8137 };
8138
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
8140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 result = (bool)(arg1)->HasAlpha();
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 resultobj = PyInt_FromLong((long)result);
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxImage *arg1 = (wxImage *) 0 ;
8158 byte *arg2 = (byte *) 0 ;
8159 byte *arg3 = (byte *) 0 ;
8160 byte *arg4 = (byte *) 0 ;
8161 byte arg5 = (byte) 0 ;
8162 byte arg6 = (byte) 0 ;
8163 byte arg7 = (byte) 0 ;
8164 bool result;
8165 byte temp2 ;
8166 byte temp3 ;
8167 byte temp4 ;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 PyObject * obj2 = 0 ;
8171 PyObject * obj3 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8174 };
8175
8176 arg2 = &temp2;
8177 arg3 = &temp3;
8178 arg4 = &temp4;
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8181 if (obj1) {
8182 arg5 = (byte) PyInt_AsLong(obj1);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 if (obj2) {
8186 arg6 = (byte) PyInt_AsLong(obj2);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 if (obj3) {
8190 arg7 = (byte) PyInt_AsLong(obj3);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = PyInt_FromLong((long)result);
8201 {
8202 PyObject *o = PyInt_FromLong((long) (*arg2));
8203 resultobj = t_output_helper(resultobj,o);
8204 }
8205 {
8206 PyObject *o = PyInt_FromLong((long) (*arg3));
8207 resultobj = t_output_helper(resultobj,o);
8208 }
8209 {
8210 PyObject *o = PyInt_FromLong((long) (*arg4));
8211 resultobj = t_output_helper(resultobj,o);
8212 }
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxImage *arg1 = (wxImage *) 0 ;
8222 wxImage *arg2 = 0 ;
8223 byte arg3 ;
8224 byte arg4 ;
8225 byte arg5 ;
8226 bool result;
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 PyObject * obj2 = 0 ;
8230 PyObject * obj3 = 0 ;
8231 PyObject * obj4 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239 if (arg2 == NULL) {
8240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8241 }
8242 arg3 = (byte) PyInt_AsLong(obj2);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 arg4 = (byte) PyInt_AsLong(obj3);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 arg5 = (byte) PyInt_AsLong(obj4);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = PyInt_FromLong((long)result);
8256 return resultobj;
8257 fail:
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxString *arg1 = 0 ;
8265 bool result;
8266 bool temp1 = false ;
8267 PyObject * obj0 = 0 ;
8268 char *kwnames[] = {
8269 (char *) "name", NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
8273 {
8274 arg1 = wxString_in_helper(obj0);
8275 if (arg1 == NULL) SWIG_fail;
8276 temp1 = true;
8277 }
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (bool)wxImage::CanRead((wxString const &)*arg1);
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 resultobj = PyInt_FromLong((long)result);
8286 {
8287 if (temp1)
8288 delete arg1;
8289 }
8290 return resultobj;
8291 fail:
8292 {
8293 if (temp1)
8294 delete arg1;
8295 }
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxString *arg1 = 0 ;
8303 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8304 int result;
8305 bool temp1 = false ;
8306 PyObject * obj0 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "name",(char *) "type", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Image_GetImageCount",kwnames,&obj0,&arg2)) goto fail;
8312 {
8313 arg1 = wxString_in_helper(obj0);
8314 if (arg1 == NULL) SWIG_fail;
8315 temp1 = true;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 resultobj = PyInt_FromLong((long)result);
8325 {
8326 if (temp1)
8327 delete arg1;
8328 }
8329 return resultobj;
8330 fail:
8331 {
8332 if (temp1)
8333 delete arg1;
8334 }
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxImage *arg1 = (wxImage *) 0 ;
8342 wxString *arg2 = 0 ;
8343 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8344 int arg4 = (int) -1 ;
8345 bool result;
8346 bool temp2 = false ;
8347 PyObject * obj0 = 0 ;
8348 PyObject * obj1 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadFile",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8355 {
8356 arg2 = wxString_in_helper(obj1);
8357 if (arg2 == NULL) SWIG_fail;
8358 temp2 = true;
8359 }
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = PyInt_FromLong((long)result);
8368 {
8369 if (temp2)
8370 delete arg2;
8371 }
8372 return resultobj;
8373 fail:
8374 {
8375 if (temp2)
8376 delete arg2;
8377 }
8378 return NULL;
8379 }
8380
8381
8382 static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxImage *arg1 = (wxImage *) 0 ;
8385 wxString *arg2 = 0 ;
8386 wxString *arg3 = 0 ;
8387 int arg4 = (int) -1 ;
8388 bool result;
8389 bool temp2 = false ;
8390 bool temp3 = false ;
8391 PyObject * obj0 = 0 ;
8392 PyObject * obj1 = 0 ;
8393 PyObject * obj2 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8400 {
8401 arg2 = wxString_in_helper(obj1);
8402 if (arg2 == NULL) SWIG_fail;
8403 temp2 = true;
8404 }
8405 {
8406 arg3 = wxString_in_helper(obj2);
8407 if (arg3 == NULL) SWIG_fail;
8408 temp3 = true;
8409 }
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 resultobj = PyInt_FromLong((long)result);
8418 {
8419 if (temp2)
8420 delete arg2;
8421 }
8422 {
8423 if (temp3)
8424 delete arg3;
8425 }
8426 return resultobj;
8427 fail:
8428 {
8429 if (temp2)
8430 delete arg2;
8431 }
8432 {
8433 if (temp3)
8434 delete arg3;
8435 }
8436 return NULL;
8437 }
8438
8439
8440 static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8441 PyObject *resultobj;
8442 wxImage *arg1 = (wxImage *) 0 ;
8443 wxString *arg2 = 0 ;
8444 int arg3 ;
8445 bool result;
8446 bool temp2 = false ;
8447 PyObject * obj0 = 0 ;
8448 PyObject * obj1 = 0 ;
8449 char *kwnames[] = {
8450 (char *) "self",(char *) "name",(char *) "type", NULL
8451 };
8452
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SaveFile",kwnames,&obj0,&obj1,&arg3)) goto fail;
8454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8455 {
8456 arg2 = wxString_in_helper(obj1);
8457 if (arg2 == NULL) SWIG_fail;
8458 temp2 = true;
8459 }
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
8463
8464 wxPyEndAllowThreads(__tstate);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 }
8467 resultobj = PyInt_FromLong((long)result);
8468 {
8469 if (temp2)
8470 delete arg2;
8471 }
8472 return resultobj;
8473 fail:
8474 {
8475 if (temp2)
8476 delete arg2;
8477 }
8478 return NULL;
8479 }
8480
8481
8482 static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxImage *arg1 = (wxImage *) 0 ;
8485 wxString *arg2 = 0 ;
8486 wxString *arg3 = 0 ;
8487 bool result;
8488 bool temp2 = false ;
8489 bool temp3 = false ;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 PyObject * obj2 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8499 {
8500 arg2 = wxString_in_helper(obj1);
8501 if (arg2 == NULL) SWIG_fail;
8502 temp2 = true;
8503 }
8504 {
8505 arg3 = wxString_in_helper(obj2);
8506 if (arg3 == NULL) SWIG_fail;
8507 temp3 = true;
8508 }
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = PyInt_FromLong((long)result);
8517 {
8518 if (temp2)
8519 delete arg2;
8520 }
8521 {
8522 if (temp3)
8523 delete arg3;
8524 }
8525 return resultobj;
8526 fail:
8527 {
8528 if (temp2)
8529 delete arg2;
8530 }
8531 {
8532 if (temp3)
8533 delete arg3;
8534 }
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxInputStream *arg1 = 0 ;
8542 bool result;
8543 wxPyInputStream *temp1 ;
8544 bool created1 ;
8545 PyObject * obj0 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "stream", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
8551 {
8552 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8553 arg1 = temp1->m_wxis;
8554 created1 = false;
8555 } else {
8556 PyErr_Clear(); // clear the failure of the wxPyConvert above
8557 arg1 = wxPyCBInputStream_create(obj0, false);
8558 if (arg1 == NULL) {
8559 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8560 SWIG_fail;
8561 }
8562 created1 = true;
8563 }
8564 }
8565 {
8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
8567 result = (bool)wxImage::CanRead(*arg1);
8568
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 resultobj = PyInt_FromLong((long)result);
8573 {
8574 if (created1)
8575 delete arg1;
8576 }
8577 return resultobj;
8578 fail:
8579 {
8580 if (created1)
8581 delete arg1;
8582 }
8583 return NULL;
8584 }
8585
8586
8587 static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxImage *arg1 = (wxImage *) 0 ;
8590 wxInputStream *arg2 = 0 ;
8591 long arg3 = (long) wxBITMAP_TYPE_ANY ;
8592 int arg4 = (int) -1 ;
8593 bool result;
8594 wxPyInputStream *temp2 ;
8595 bool created2 ;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|li:Image_LoadStream",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8604 {
8605 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8606 arg2 = temp2->m_wxis;
8607 created2 = false;
8608 } else {
8609 PyErr_Clear(); // clear the failure of the wxPyConvert above
8610 arg2 = wxPyCBInputStream_create(obj1, false);
8611 if (arg2 == NULL) {
8612 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8613 SWIG_fail;
8614 }
8615 created2 = true;
8616 }
8617 }
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 resultobj = PyInt_FromLong((long)result);
8626 {
8627 if (created2)
8628 delete arg2;
8629 }
8630 return resultobj;
8631 fail:
8632 {
8633 if (created2)
8634 delete arg2;
8635 }
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxImage *arg1 = (wxImage *) 0 ;
8643 wxInputStream *arg2 = 0 ;
8644 wxString *arg3 = 0 ;
8645 int arg4 = (int) -1 ;
8646 bool result;
8647 wxPyInputStream *temp2 ;
8648 bool created2 ;
8649 bool temp3 = false ;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 PyObject * obj2 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
8658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8659 {
8660 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
8661 arg2 = temp2->m_wxis;
8662 created2 = false;
8663 } else {
8664 PyErr_Clear(); // clear the failure of the wxPyConvert above
8665 arg2 = wxPyCBInputStream_create(obj1, false);
8666 if (arg2 == NULL) {
8667 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8668 SWIG_fail;
8669 }
8670 created2 = true;
8671 }
8672 }
8673 {
8674 arg3 = wxString_in_helper(obj2);
8675 if (arg3 == NULL) SWIG_fail;
8676 temp3 = true;
8677 }
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
8681
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 resultobj = PyInt_FromLong((long)result);
8686 {
8687 if (created2)
8688 delete arg2;
8689 }
8690 {
8691 if (temp3)
8692 delete arg3;
8693 }
8694 return resultobj;
8695 fail:
8696 {
8697 if (created2)
8698 delete arg2;
8699 }
8700 {
8701 if (temp3)
8702 delete arg3;
8703 }
8704 return NULL;
8705 }
8706
8707
8708 static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj;
8710 wxImage *arg1 = (wxImage *) 0 ;
8711 bool result;
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 result = (bool)(arg1)->Ok();
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = PyInt_FromLong((long)result);
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxImage *arg1 = (wxImage *) 0 ;
8736 int result;
8737 PyObject * obj0 = 0 ;
8738 char *kwnames[] = {
8739 (char *) "self", NULL
8740 };
8741
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
8743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (int)(arg1)->GetWidth();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = PyInt_FromLong((long)result);
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxImage *arg1 = (wxImage *) 0 ;
8761 int result;
8762 PyObject * obj0 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 result = (int)(arg1)->GetHeight();
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = PyInt_FromLong((long)result);
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj;
8785 wxImage *arg1 = (wxImage *) 0 ;
8786 wxRect *arg2 = 0 ;
8787 SwigValueWrapper< wxImage > result;
8788 wxRect temp2 ;
8789 PyObject * obj0 = 0 ;
8790 PyObject * obj1 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self",(char *) "rect", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
8796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8797 {
8798 arg2 = &temp2;
8799 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8800 }
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 result = (arg1)->GetSubImage((wxRect const &)*arg2);
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 {
8809 wxImage * resultptr;
8810 resultptr = new wxImage((wxImage &) result);
8811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8812 }
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxImage *arg1 = (wxImage *) 0 ;
8822 SwigValueWrapper< wxImage > result;
8823 PyObject * obj0 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
8829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (arg1)->Copy();
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 {
8838 wxImage * resultptr;
8839 resultptr = new wxImage((wxImage &) result);
8840 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
8841 }
8842 return resultobj;
8843 fail:
8844 return NULL;
8845 }
8846
8847
8848 static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxImage *arg1 = (wxImage *) 0 ;
8851 wxImage *arg2 = 0 ;
8852 int arg3 ;
8853 int arg4 ;
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 char *kwnames[] = {
8857 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8858 };
8859
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Image_Paste",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
8861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8863 if (arg2 == NULL) {
8864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8865 }
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 Py_INCREF(Py_None); resultobj = Py_None;
8874 return resultobj;
8875 fail:
8876 return NULL;
8877 }
8878
8879
8880 static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxImage *arg1 = (wxImage *) 0 ;
8883 PyObject *result;
8884 PyObject * obj0 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 result = (PyObject *)wxImage_GetData(arg1);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = result;
8899 return resultobj;
8900 fail:
8901 return NULL;
8902 }
8903
8904
8905 static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxImage *arg1 = (wxImage *) 0 ;
8908 PyObject *arg2 = (PyObject *) 0 ;
8909 PyObject * obj0 = 0 ;
8910 PyObject * obj1 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "self",(char *) "data", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
8916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8917 arg2 = obj1;
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 wxImage_SetData(arg1,arg2);
8921
8922 wxPyEndAllowThreads(__tstate);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
8925 Py_INCREF(Py_None); resultobj = Py_None;
8926 return resultobj;
8927 fail:
8928 return NULL;
8929 }
8930
8931
8932 static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8933 PyObject *resultobj;
8934 wxImage *arg1 = (wxImage *) 0 ;
8935 PyObject *result;
8936 PyObject * obj0 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 result = (PyObject *)wxImage_GetDataBuffer(arg1);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 resultobj = result;
8951 return resultobj;
8952 fail:
8953 return NULL;
8954 }
8955
8956
8957 static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
8958 PyObject *resultobj;
8959 wxImage *arg1 = (wxImage *) 0 ;
8960 PyObject *arg2 = (PyObject *) 0 ;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 char *kwnames[] = {
8964 (char *) "self",(char *) "data", NULL
8965 };
8966
8967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8969 arg2 = obj1;
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 wxImage_SetDataBuffer(arg1,arg2);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxImage *arg1 = (wxImage *) 0 ;
8987 PyObject *result;
8988 PyObject * obj0 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 result = (PyObject *)wxImage_GetAlphaData(arg1);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 resultobj = result;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxImage *arg1 = (wxImage *) 0 ;
9012 PyObject *arg2 = (PyObject *) 0 ;
9013 PyObject * obj0 = 0 ;
9014 PyObject * obj1 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self",(char *) "data", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 arg2 = obj1;
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 wxImage_SetAlphaData(arg1,arg2);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxImage *arg1 = (wxImage *) 0 ;
9039 PyObject *result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = result;
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxImage *arg1 = (wxImage *) 0 ;
9064 PyObject *arg2 = (PyObject *) 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self",(char *) "data", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 arg2 = obj1;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 wxImage_SetAlphaBuffer(arg1,arg2);
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxImage *arg1 = (wxImage *) 0 ;
9091 unsigned char arg2 ;
9092 unsigned char arg3 ;
9093 unsigned char arg4 ;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 PyObject * obj2 = 0 ;
9097 PyObject * obj3 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9104 arg2 = (unsigned char) PyInt_AsLong(obj1);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 arg3 = (unsigned char) PyInt_AsLong(obj2);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 arg4 = (unsigned char) PyInt_AsLong(obj3);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 (arg1)->SetMaskColour(arg2,arg3,arg4);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxImage *arg1 = (wxImage *) 0 ;
9127 unsigned char result;
9128 PyObject * obj0 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
9134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 result = (unsigned char)(arg1)->GetMaskRed();
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 resultobj = PyInt_FromLong((long)result);
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxImage *arg1 = (wxImage *) 0 ;
9152 unsigned char result;
9153 PyObject * obj0 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
9159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (unsigned char)(arg1)->GetMaskGreen();
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 resultobj = PyInt_FromLong((long)result);
9168 return resultobj;
9169 fail:
9170 return NULL;
9171 }
9172
9173
9174 static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxImage *arg1 = (wxImage *) 0 ;
9177 unsigned char result;
9178 PyObject * obj0 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
9184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 result = (unsigned char)(arg1)->GetMaskBlue();
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 resultobj = PyInt_FromLong((long)result);
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxImage *arg1 = (wxImage *) 0 ;
9202 bool arg2 = (bool) TRUE ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "mask", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
9210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9211 if (obj1) {
9212 arg2 = PyInt_AsLong(obj1) ? true : false;
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 {
9216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9217 (arg1)->SetMask(arg2);
9218
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 Py_INCREF(Py_None); resultobj = Py_None;
9223 return resultobj;
9224 fail:
9225 return NULL;
9226 }
9227
9228
9229 static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxImage *arg1 = (wxImage *) 0 ;
9232 bool result;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
9239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (bool)(arg1)->HasMask();
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 resultobj = PyInt_FromLong((long)result);
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxImage *arg1 = (wxImage *) 0 ;
9257 double arg2 ;
9258 wxPoint *arg3 = 0 ;
9259 bool arg4 = (bool) TRUE ;
9260 wxPoint *arg5 = (wxPoint *) NULL ;
9261 SwigValueWrapper< wxImage > result;
9262 wxPoint temp3 ;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj2 = 0 ;
9265 PyObject * obj3 = 0 ;
9266 PyObject * obj4 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OdO|OO:Image_Rotate",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9273 {
9274 arg3 = &temp3;
9275 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9276 }
9277 if (obj3) {
9278 arg4 = PyInt_AsLong(obj3) ? true : false;
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 if (obj4) {
9282 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9283 }
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 {
9292 wxImage * resultptr;
9293 resultptr = new wxImage((wxImage &) result);
9294 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9295 }
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxImage *arg1 = (wxImage *) 0 ;
9305 bool arg2 = (bool) TRUE ;
9306 SwigValueWrapper< wxImage > result;
9307 PyObject * obj0 = 0 ;
9308 PyObject * obj1 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self",(char *) "clockwise", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9315 if (obj1) {
9316 arg2 = PyInt_AsLong(obj1) ? true : false;
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (arg1)->Rotate90(arg2);
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 {
9327 wxImage * resultptr;
9328 resultptr = new wxImage((wxImage &) result);
9329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9330 }
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxImage *arg1 = (wxImage *) 0 ;
9340 bool arg2 = (bool) TRUE ;
9341 SwigValueWrapper< wxImage > result;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self",(char *) "horizontally", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
9349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9350 if (obj1) {
9351 arg2 = PyInt_AsLong(obj1) ? true : false;
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = (arg1)->Mirror(arg2);
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 {
9362 wxImage * resultptr;
9363 resultptr = new wxImage((wxImage &) result);
9364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9365 }
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxImage *arg1 = (wxImage *) 0 ;
9375 unsigned char arg2 ;
9376 unsigned char arg3 ;
9377 unsigned char arg4 ;
9378 unsigned char arg5 ;
9379 unsigned char arg6 ;
9380 unsigned char arg7 ;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 PyObject * obj2 = 0 ;
9384 PyObject * obj3 = 0 ;
9385 PyObject * obj4 = 0 ;
9386 PyObject * obj5 = 0 ;
9387 PyObject * obj6 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9394 arg2 = (unsigned char) PyInt_AsLong(obj1);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 arg3 = (unsigned char) PyInt_AsLong(obj2);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 arg4 = (unsigned char) PyInt_AsLong(obj3);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 arg5 = (unsigned char) PyInt_AsLong(obj4);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 arg6 = (unsigned char) PyInt_AsLong(obj5);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 arg7 = (unsigned char) PyInt_AsLong(obj6);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 Py_INCREF(Py_None); resultobj = Py_None;
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxImage *arg1 = (wxImage *) 0 ;
9423 unsigned char arg2 ;
9424 unsigned char arg3 ;
9425 unsigned char arg4 ;
9426 SwigValueWrapper< wxImage > result;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 PyObject * obj2 = 0 ;
9430 PyObject * obj3 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9437 arg2 = (unsigned char) PyInt_AsLong(obj1);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 arg3 = (unsigned char) PyInt_AsLong(obj2);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 arg4 = (unsigned char) PyInt_AsLong(obj3);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 {
9451 wxImage * resultptr;
9452 resultptr = new wxImage((wxImage &) result);
9453 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxImage, 1);
9454 }
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxImage *arg1 = (wxImage *) 0 ;
9464 wxString *arg2 = 0 ;
9465 wxString *arg3 = 0 ;
9466 bool temp2 = false ;
9467 bool temp3 = false ;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 PyObject * obj2 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self",(char *) "name",(char *) "value", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
9476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9477 {
9478 arg2 = wxString_in_helper(obj1);
9479 if (arg2 == NULL) SWIG_fail;
9480 temp2 = true;
9481 }
9482 {
9483 arg3 = wxString_in_helper(obj2);
9484 if (arg3 == NULL) SWIG_fail;
9485 temp3 = true;
9486 }
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 Py_INCREF(Py_None); resultobj = Py_None;
9495 {
9496 if (temp2)
9497 delete arg2;
9498 }
9499 {
9500 if (temp3)
9501 delete arg3;
9502 }
9503 return resultobj;
9504 fail:
9505 {
9506 if (temp2)
9507 delete arg2;
9508 }
9509 {
9510 if (temp3)
9511 delete arg3;
9512 }
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxImage *arg1 = (wxImage *) 0 ;
9520 wxString *arg2 = 0 ;
9521 int arg3 ;
9522 bool temp2 = false ;
9523 PyObject * obj0 = 0 ;
9524 PyObject * obj1 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self",(char *) "name",(char *) "value", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:Image_SetOptionInt",kwnames,&obj0,&obj1,&arg3)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 arg2 = wxString_in_helper(obj1);
9533 if (arg2 == NULL) SWIG_fail;
9534 temp2 = true;
9535 }
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->SetOption((wxString const &)*arg2,arg3);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 Py_INCREF(Py_None); resultobj = Py_None;
9544 {
9545 if (temp2)
9546 delete arg2;
9547 }
9548 return resultobj;
9549 fail:
9550 {
9551 if (temp2)
9552 delete arg2;
9553 }
9554 return NULL;
9555 }
9556
9557
9558 static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxImage *arg1 = (wxImage *) 0 ;
9561 wxString *arg2 = 0 ;
9562 wxString result;
9563 bool temp2 = false ;
9564 PyObject * obj0 = 0 ;
9565 PyObject * obj1 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self",(char *) "name", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 {
9573 arg2 = wxString_in_helper(obj1);
9574 if (arg2 == NULL) SWIG_fail;
9575 temp2 = true;
9576 }
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 {
9585 #if wxUSE_UNICODE
9586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9587 #else
9588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9589 #endif
9590 }
9591 {
9592 if (temp2)
9593 delete arg2;
9594 }
9595 return resultobj;
9596 fail:
9597 {
9598 if (temp2)
9599 delete arg2;
9600 }
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxImage *arg1 = (wxImage *) 0 ;
9608 wxString *arg2 = 0 ;
9609 int result;
9610 bool temp2 = false ;
9611 PyObject * obj0 = 0 ;
9612 PyObject * obj1 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "name", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 arg2 = wxString_in_helper(obj1);
9621 if (arg2 == NULL) SWIG_fail;
9622 temp2 = true;
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = PyInt_FromLong((long)result);
9632 {
9633 if (temp2)
9634 delete arg2;
9635 }
9636 return resultobj;
9637 fail:
9638 {
9639 if (temp2)
9640 delete arg2;
9641 }
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxImage *arg1 = (wxImage *) 0 ;
9649 wxString *arg2 = 0 ;
9650 bool result;
9651 bool temp2 = false ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self",(char *) "name", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9660 {
9661 arg2 = wxString_in_helper(obj1);
9662 if (arg2 == NULL) SWIG_fail;
9663 temp2 = true;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 resultobj = PyInt_FromLong((long)result);
9673 {
9674 if (temp2)
9675 delete arg2;
9676 }
9677 return resultobj;
9678 fail:
9679 {
9680 if (temp2)
9681 delete arg2;
9682 }
9683 return NULL;
9684 }
9685
9686
9687 static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxImage *arg1 = (wxImage *) 0 ;
9690 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
9691 unsigned long result;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "stopafter", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9700 if (obj1) {
9701 arg2 = (unsigned long) PyInt_AsLong(obj1);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (unsigned long)(arg1)->CountColours(arg2);
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = PyInt_FromLong((long)result);
9712 return resultobj;
9713 fail:
9714 return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxImage *arg1 = (wxImage *) 0 ;
9721 wxImageHistogram *arg2 = 0 ;
9722 unsigned long result;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self",(char *) "h", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageHistogram,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9732 if (arg2 == NULL) {
9733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9734 }
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = PyInt_FromLong((long)result);
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9752 PyObject * obj0 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "handler", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 wxImage::AddHandler(arg1);
9762
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 Py_INCREF(Py_None); resultobj = Py_None;
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
9776 PyObject * obj0 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "handler", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
9782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImageHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 wxImage::InsertHandler(arg1);
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 Py_INCREF(Py_None); resultobj = Py_None;
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxString *arg1 = 0 ;
9800 bool result;
9801 bool temp1 = false ;
9802 PyObject * obj0 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "name", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
9808 {
9809 arg1 = wxString_in_helper(obj0);
9810 if (arg1 == NULL) SWIG_fail;
9811 temp1 = true;
9812 }
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 resultobj = PyInt_FromLong((long)result);
9821 {
9822 if (temp1)
9823 delete arg1;
9824 }
9825 return resultobj;
9826 fail:
9827 {
9828 if (temp1)
9829 delete arg1;
9830 }
9831 return NULL;
9832 }
9833
9834
9835 static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj;
9837 wxString result;
9838 char *kwnames[] = {
9839 NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 result = wxImage::GetImageExtWildcard();
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 {
9851 #if wxUSE_UNICODE
9852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9853 #else
9854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9855 #endif
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxImage *arg1 = (wxImage *) 0 ;
9866 wxBitmap result;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = wxImage_ConvertToBitmap(arg1);
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 {
9882 wxBitmap * resultptr;
9883 resultptr = new wxBitmap((wxBitmap &) result);
9884 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9885 }
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxImage *arg1 = (wxImage *) 0 ;
9895 unsigned char arg2 ;
9896 unsigned char arg3 ;
9897 unsigned char arg4 ;
9898 wxBitmap result;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 PyObject * obj3 = 0 ;
9903 char *kwnames[] = {
9904 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9905 };
9906
9907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9909 arg2 = (unsigned char) PyInt_AsLong(obj1);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 arg3 = (unsigned char) PyInt_AsLong(obj2);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 arg4 = (unsigned char) PyInt_AsLong(obj3);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 {
9923 wxBitmap * resultptr;
9924 resultptr = new wxBitmap((wxBitmap &) result);
9925 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
9926 }
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
9934 PyObject *obj;
9935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9936 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
9937 Py_INCREF(obj);
9938 return Py_BuildValue((char *)"");
9939 }
9940 static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 char *kwnames[] = {
9943 NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 wxInitAllImageHandlers();
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 Py_INCREF(Py_None); resultobj = Py_None;
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static int _wrap_NullImage_set(PyObject *_val) {
9962 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
9963 return 1;
9964 }
9965
9966
9967 static PyObject *_wrap_NullImage_get() {
9968 PyObject *pyobj;
9969
9970 pyobj = SWIG_NewPointerObj((void *) &wxNullImage, SWIGTYPE_p_wxImage, 0);
9971 return pyobj;
9972 }
9973
9974
9975 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
9976 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9977 return 1;
9978 }
9979
9980
9981 static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9982 PyObject *pyobj;
9983
9984 {
9985 #if wxUSE_UNICODE
9986 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9987 #else
9988 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
9989 #endif
9990 }
9991 return pyobj;
9992 }
9993
9994
9995 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
9996 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9997 return 1;
9998 }
9999
10000
10001 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10002 PyObject *pyobj;
10003
10004 {
10005 #if wxUSE_UNICODE
10006 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
10007 #else
10008 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
10009 #endif
10010 }
10011 return pyobj;
10012 }
10013
10014
10015 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
10016 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10017 return 1;
10018 }
10019
10020
10021 static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10022 PyObject *pyobj;
10023
10024 {
10025 #if wxUSE_UNICODE
10026 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
10027 #else
10028 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
10029 #endif
10030 }
10031 return pyobj;
10032 }
10033
10034
10035 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
10036 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10037 return 1;
10038 }
10039
10040
10041 static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
10042 PyObject *pyobj;
10043
10044 {
10045 #if wxUSE_UNICODE
10046 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
10047 #else
10048 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
10049 #endif
10050 }
10051 return pyobj;
10052 }
10053
10054
10055 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
10056 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10057 return 1;
10058 }
10059
10060
10061 static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10062 PyObject *pyobj;
10063
10064 {
10065 #if wxUSE_UNICODE
10066 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
10067 #else
10068 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
10069 #endif
10070 }
10071 return pyobj;
10072 }
10073
10074
10075 static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj;
10077 wxBMPHandler *result;
10078 char *kwnames[] = {
10079 NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (wxBMPHandler *)new wxBMPHandler();
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBMPHandler, 1);
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
10098 PyObject *obj;
10099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
10101 Py_INCREF(obj);
10102 return Py_BuildValue((char *)"");
10103 }
10104 static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxICOHandler *result;
10107 char *kwnames[] = {
10108 NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 result = (wxICOHandler *)new wxICOHandler();
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxICOHandler, 1);
10120 return resultobj;
10121 fail:
10122 return NULL;
10123 }
10124
10125
10126 static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
10127 PyObject *obj;
10128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10129 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
10130 Py_INCREF(obj);
10131 return Py_BuildValue((char *)"");
10132 }
10133 static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxCURHandler *result;
10136 char *kwnames[] = {
10137 NULL
10138 };
10139
10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 result = (wxCURHandler *)new wxCURHandler();
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCURHandler, 1);
10149 return resultobj;
10150 fail:
10151 return NULL;
10152 }
10153
10154
10155 static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
10156 PyObject *obj;
10157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10158 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
10159 Py_INCREF(obj);
10160 return Py_BuildValue((char *)"");
10161 }
10162 static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10163 PyObject *resultobj;
10164 wxANIHandler *result;
10165 char *kwnames[] = {
10166 NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (wxANIHandler *)new wxANIHandler();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxANIHandler, 1);
10178 return resultobj;
10179 fail:
10180 return NULL;
10181 }
10182
10183
10184 static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
10185 PyObject *obj;
10186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10187 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
10188 Py_INCREF(obj);
10189 return Py_BuildValue((char *)"");
10190 }
10191 static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxPNGHandler *result;
10194 char *kwnames[] = {
10195 NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (wxPNGHandler *)new wxPNGHandler();
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNGHandler, 1);
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
10214 PyObject *obj;
10215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10216 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
10217 Py_INCREF(obj);
10218 return Py_BuildValue((char *)"");
10219 }
10220 static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxGIFHandler *result;
10223 char *kwnames[] = {
10224 NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 result = (wxGIFHandler *)new wxGIFHandler();
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGIFHandler, 1);
10236 return resultobj;
10237 fail:
10238 return NULL;
10239 }
10240
10241
10242 static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
10243 PyObject *obj;
10244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10245 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
10246 Py_INCREF(obj);
10247 return Py_BuildValue((char *)"");
10248 }
10249 static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxPCXHandler *result;
10252 char *kwnames[] = {
10253 NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 result = (wxPCXHandler *)new wxPCXHandler();
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPCXHandler, 1);
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
10272 PyObject *obj;
10273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10274 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
10275 Py_INCREF(obj);
10276 return Py_BuildValue((char *)"");
10277 }
10278 static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxJPEGHandler *result;
10281 char *kwnames[] = {
10282 NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 result = (wxJPEGHandler *)new wxJPEGHandler();
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJPEGHandler, 1);
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
10301 PyObject *obj;
10302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
10304 Py_INCREF(obj);
10305 return Py_BuildValue((char *)"");
10306 }
10307 static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxPNMHandler *result;
10310 char *kwnames[] = {
10311 NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (wxPNMHandler *)new wxPNMHandler();
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPNMHandler, 1);
10323 return resultobj;
10324 fail:
10325 return NULL;
10326 }
10327
10328
10329 static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
10330 PyObject *obj;
10331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10332 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
10333 Py_INCREF(obj);
10334 return Py_BuildValue((char *)"");
10335 }
10336 static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxXPMHandler *result;
10339 char *kwnames[] = {
10340 NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
10346 result = (wxXPMHandler *)new wxXPMHandler();
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxXPMHandler, 1);
10352 return resultobj;
10353 fail:
10354 return NULL;
10355 }
10356
10357
10358 static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
10359 PyObject *obj;
10360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10361 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
10362 Py_INCREF(obj);
10363 return Py_BuildValue((char *)"");
10364 }
10365 static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxTIFFHandler *result;
10368 char *kwnames[] = {
10369 NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 result = (wxTIFFHandler *)new wxTIFFHandler();
10376
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTIFFHandler, 1);
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
10388 PyObject *obj;
10389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10390 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
10391 Py_INCREF(obj);
10392 return Py_BuildValue((char *)"");
10393 }
10394 static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj;
10396 wxEvtHandler *result;
10397 char *kwnames[] = {
10398 NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (wxEvtHandler *)new wxEvtHandler();
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 {
10410 resultobj = wxPyMake_wxObject(result);
10411 }
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10421 wxEvtHandler *result;
10422 PyObject * obj0 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 result = (wxEvtHandler *)(arg1)->GetNextHandler();
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 {
10437 resultobj = wxPyMake_wxObject(result);
10438 }
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10448 wxEvtHandler *result;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 {
10464 resultobj = wxPyMake_wxObject(result);
10465 }
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10475 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "handler", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->SetNextHandler(arg2);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10502 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
10503 PyObject * obj0 = 0 ;
10504 PyObject * obj1 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self",(char *) "handler", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->SetPreviousHandler(arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 Py_INCREF(Py_None); resultobj = Py_None;
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10529 bool result;
10530 PyObject * obj0 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 result = (bool)(arg1)->GetEvtHandlerEnabled();
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = PyInt_FromLong((long)result);
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10554 bool arg2 ;
10555 PyObject * obj0 = 0 ;
10556 PyObject * obj1 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self",(char *) "enabled", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 arg2 = PyInt_AsLong(obj1) ? true : false;
10564 if (PyErr_Occurred()) SWIG_fail;
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 (arg1)->SetEvtHandlerEnabled(arg2);
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 Py_INCREF(Py_None); resultobj = Py_None;
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10582 wxEvent *arg2 = 0 ;
10583 bool result;
10584 PyObject * obj0 = 0 ;
10585 PyObject * obj1 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "event", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10593 if (arg2 == NULL) {
10594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10595 }
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = (bool)(arg1)->ProcessEvent(*arg2);
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 resultobj = PyInt_FromLong((long)result);
10604 return resultobj;
10605 fail:
10606 return NULL;
10607 }
10608
10609
10610 static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10613 wxEvent *arg2 = 0 ;
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self",(char *) "event", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10623 if (arg2 == NULL) {
10624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10625 }
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 (arg1)->AddPendingEvent(*arg2);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 Py_INCREF(Py_None); resultobj = Py_None;
10634 return resultobj;
10635 fail:
10636 return NULL;
10637 }
10638
10639
10640 static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj;
10642 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10643 PyObject * obj0 = 0 ;
10644 char *kwnames[] = {
10645 (char *) "self", NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
10649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 (arg1)->ProcessPendingEvents();
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 Py_INCREF(Py_None); resultobj = Py_None;
10658 return resultobj;
10659 fail:
10660 return NULL;
10661 }
10662
10663
10664 static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10667 int arg2 ;
10668 int arg3 ;
10669 int arg4 ;
10670 PyObject *arg5 = (PyObject *) 0 ;
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj4 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:EvtHandler_Connect",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
10678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10679 arg5 = obj4;
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 Py_INCREF(Py_None); resultobj = Py_None;
10688 return resultobj;
10689 fail:
10690 return NULL;
10691 }
10692
10693
10694 static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject *resultobj;
10696 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10697 int arg2 ;
10698 int arg3 = (int) -1 ;
10699 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
10700 bool result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 resultobj = PyInt_FromLong((long)result);
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
10725 PyObject *arg2 = (PyObject *) 0 ;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "_self", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
10733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10734 arg2 = obj1;
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 wxEvtHandler__setOORInfo(arg1,arg2);
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 Py_INCREF(Py_None); resultobj = Py_None;
10743 return resultobj;
10744 fail:
10745 return NULL;
10746 }
10747
10748
10749 static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
10750 PyObject *obj;
10751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10752 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
10753 Py_INCREF(obj);
10754 return Py_BuildValue((char *)"");
10755 }
10756 static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxEventType result;
10759 char *kwnames[] = {
10760 NULL
10761 };
10762
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (wxEventType)wxNewEventType();
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 resultobj = PyInt_FromLong((long)result);
10772 return resultobj;
10773 fail:
10774 return NULL;
10775 }
10776
10777
10778 static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxEvent *arg1 = (wxEvent *) 0 ;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 delete arg1;
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 Py_INCREF(Py_None); resultobj = Py_None;
10796 return resultobj;
10797 fail:
10798 return NULL;
10799 }
10800
10801
10802 static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxEvent *arg1 = (wxEvent *) 0 ;
10805 wxEventType arg2 ;
10806 PyObject * obj0 = 0 ;
10807 char *kwnames[] = {
10808 (char *) "self",(char *) "typ", NULL
10809 };
10810
10811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetEventType",kwnames,&obj0,&arg2)) goto fail;
10812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 (arg1)->SetEventType(arg2);
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 Py_INCREF(Py_None); resultobj = Py_None;
10821 return resultobj;
10822 fail:
10823 return NULL;
10824 }
10825
10826
10827 static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject *resultobj;
10829 wxEvent *arg1 = (wxEvent *) 0 ;
10830 wxEventType result;
10831 PyObject * obj0 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = PyInt_FromLong((long)result);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxEvent *arg1 = (wxEvent *) 0 ;
10855 wxObject *result;
10856 PyObject * obj0 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self", NULL
10859 };
10860
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
10862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 {
10871 resultobj = wxPyMake_wxObject(result);
10872 }
10873 return resultobj;
10874 fail:
10875 return NULL;
10876 }
10877
10878
10879 static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
10880 PyObject *resultobj;
10881 wxEvent *arg1 = (wxEvent *) 0 ;
10882 wxObject *arg2 = (wxObject *) 0 ;
10883 PyObject * obj0 = 0 ;
10884 PyObject * obj1 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self",(char *) "obj", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 (arg1)->SetEventObject(arg2);
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 Py_INCREF(Py_None); resultobj = Py_None;
10900 return resultobj;
10901 fail:
10902 return NULL;
10903 }
10904
10905
10906 static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj;
10908 wxEvent *arg1 = (wxEvent *) 0 ;
10909 long result;
10910 PyObject * obj0 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "self", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
10916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (long)((wxEvent const *)arg1)->GetTimestamp();
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 resultobj = PyInt_FromLong((long)result);
10925 return resultobj;
10926 fail:
10927 return NULL;
10928 }
10929
10930
10931 static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxEvent *arg1 = (wxEvent *) 0 ;
10934 long arg2 = (long) 0 ;
10935 PyObject * obj0 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self",(char *) "ts", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Event_SetTimestamp",kwnames,&obj0,&arg2)) goto fail;
10941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10942 {
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 (arg1)->SetTimestamp(arg2);
10945
10946 wxPyEndAllowThreads(__tstate);
10947 if (PyErr_Occurred()) SWIG_fail;
10948 }
10949 Py_INCREF(Py_None); resultobj = Py_None;
10950 return resultobj;
10951 fail:
10952 return NULL;
10953 }
10954
10955
10956 static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxEvent *arg1 = (wxEvent *) 0 ;
10959 int result;
10960 PyObject * obj0 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (int)((wxEvent const *)arg1)->GetId();
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = PyInt_FromLong((long)result);
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj;
10983 wxEvent *arg1 = (wxEvent *) 0 ;
10984 int arg2 ;
10985 PyObject * obj0 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self",(char *) "Id", NULL
10988 };
10989
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_SetId",kwnames,&obj0,&arg2)) goto fail;
10991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10992 {
10993 PyThreadState* __tstate = wxPyBeginAllowThreads();
10994 (arg1)->SetId(arg2);
10995
10996 wxPyEndAllowThreads(__tstate);
10997 if (PyErr_Occurred()) SWIG_fail;
10998 }
10999 Py_INCREF(Py_None); resultobj = Py_None;
11000 return resultobj;
11001 fail:
11002 return NULL;
11003 }
11004
11005
11006 static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11007 PyObject *resultobj;
11008 wxEvent *arg1 = (wxEvent *) 0 ;
11009 bool result;
11010 PyObject * obj0 = 0 ;
11011 char *kwnames[] = {
11012 (char *) "self", NULL
11013 };
11014
11015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
11016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 resultobj = PyInt_FromLong((long)result);
11025 return resultobj;
11026 fail:
11027 return NULL;
11028 }
11029
11030
11031 static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj;
11033 wxEvent *arg1 = (wxEvent *) 0 ;
11034 bool arg2 = (bool) TRUE ;
11035 PyObject * obj0 = 0 ;
11036 PyObject * obj1 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "skip", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
11042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11043 if (obj1) {
11044 arg2 = PyInt_AsLong(obj1) ? true : false;
11045 if (PyErr_Occurred()) SWIG_fail;
11046 }
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 (arg1)->Skip(arg2);
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 Py_INCREF(Py_None); resultobj = Py_None;
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxEvent *arg1 = (wxEvent *) 0 ;
11064 bool result;
11065 PyObject * obj0 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
11071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 result = (bool)((wxEvent const *)arg1)->GetSkipped();
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 resultobj = PyInt_FromLong((long)result);
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
11087 PyObject *resultobj;
11088 wxEvent *arg1 = (wxEvent *) 0 ;
11089 bool result;
11090 PyObject * obj0 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = PyInt_FromLong((long)result);
11105 return resultobj;
11106 fail:
11107 return NULL;
11108 }
11109
11110
11111 static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxEvent *arg1 = (wxEvent *) 0 ;
11114 int result;
11115 PyObject * obj0 = 0 ;
11116 char *kwnames[] = {
11117 (char *) "self", NULL
11118 };
11119
11120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
11121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 result = (int)(arg1)->StopPropagation();
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 resultobj = PyInt_FromLong((long)result);
11130 return resultobj;
11131 fail:
11132 return NULL;
11133 }
11134
11135
11136 static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
11137 PyObject *resultobj;
11138 wxEvent *arg1 = (wxEvent *) 0 ;
11139 int arg2 ;
11140 PyObject * obj0 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self",(char *) "propagationLevel", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Event_ResumePropagation",kwnames,&obj0,&arg2)) goto fail;
11146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 (arg1)->ResumePropagation(arg2);
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 Py_INCREF(Py_None); resultobj = Py_None;
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 wxEvent *arg1 = (wxEvent *) 0 ;
11164 wxEvent *result;
11165 PyObject * obj0 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
11171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (wxEvent *)(arg1)->Clone();
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
11187 PyObject *obj;
11188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11189 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
11190 Py_INCREF(obj);
11191 return Py_BuildValue((char *)"");
11192 }
11193 static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11194 PyObject *resultobj;
11195 wxEvent *arg1 = 0 ;
11196 wxPropagationDisabler *result;
11197 PyObject * obj0 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "event", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 if (arg1 == NULL) {
11205 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11206 }
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
11210
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagationDisabler, 1);
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj;
11223 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagationDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 delete arg1;
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 Py_INCREF(Py_None); resultobj = Py_None;
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
11246 PyObject *obj;
11247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11248 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
11249 Py_INCREF(obj);
11250 return Py_BuildValue((char *)"");
11251 }
11252 static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxEvent *arg1 = 0 ;
11255 wxPropagateOnce *result;
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "event", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
11262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11263 if (arg1 == NULL) {
11264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11265 }
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPropagateOnce, 1);
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
11289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPropagateOnce,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 delete arg1;
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 Py_INCREF(Py_None); resultobj = Py_None;
11298 return resultobj;
11299 fail:
11300 return NULL;
11301 }
11302
11303
11304 static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
11305 PyObject *obj;
11306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11307 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
11308 Py_INCREF(obj);
11309 return Py_BuildValue((char *)"");
11310 }
11311 static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj;
11313 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11314 int arg2 = (int) 0 ;
11315 wxCommandEvent *result;
11316 char *kwnames[] = {
11317 (char *) "commandType",(char *) "winid", NULL
11318 };
11319
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CommandEvent",kwnames,&arg1,&arg2)) goto fail;
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCommandEvent, 1);
11329 return resultobj;
11330 fail:
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11338 int result;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = PyInt_FromLong((long)result);
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11363 wxString *arg2 = 0 ;
11364 bool temp2 = false ;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self",(char *) "s", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 {
11374 arg2 = wxString_in_helper(obj1);
11375 if (arg2 == NULL) SWIG_fail;
11376 temp2 = true;
11377 }
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->SetString((wxString const &)*arg2);
11381
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 Py_INCREF(Py_None); resultobj = Py_None;
11386 {
11387 if (temp2)
11388 delete arg2;
11389 }
11390 return resultobj;
11391 fail:
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 return NULL;
11397 }
11398
11399
11400 static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11403 wxString result;
11404 PyObject * obj0 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) 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 result = ((wxCommandEvent const *)arg1)->GetString();
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 {
11419 #if wxUSE_UNICODE
11420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11421 #else
11422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11423 #endif
11424 }
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj;
11433 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11434 bool result;
11435 PyObject * obj0 = 0 ;
11436 char *kwnames[] = {
11437 (char *) "self", NULL
11438 };
11439
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
11441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = PyInt_FromLong((long)result);
11450 return resultobj;
11451 fail:
11452 return NULL;
11453 }
11454
11455
11456 static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11459 bool result;
11460 PyObject * obj0 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
11466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 resultobj = PyInt_FromLong((long)result);
11475 return resultobj;
11476 fail:
11477 return NULL;
11478 }
11479
11480
11481 static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11484 long arg2 ;
11485 PyObject * obj0 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self",(char *) "extraLong", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:CommandEvent_SetExtraLong",kwnames,&obj0,&arg2)) goto fail;
11491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 (arg1)->SetExtraLong(arg2);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 Py_INCREF(Py_None); resultobj = Py_None;
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11509 long result;
11510 PyObject * obj0 = 0 ;
11511 char *kwnames[] = {
11512 (char *) "self", NULL
11513 };
11514
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
11516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
11520
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 resultobj = PyInt_FromLong((long)result);
11525 return resultobj;
11526 fail:
11527 return NULL;
11528 }
11529
11530
11531 static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11532 PyObject *resultobj;
11533 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11534 int arg2 ;
11535 PyObject * obj0 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "self",(char *) "i", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CommandEvent_SetInt",kwnames,&obj0,&arg2)) goto fail;
11541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 (arg1)->SetInt(arg2);
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 Py_INCREF(Py_None); resultobj = Py_None;
11550 return resultobj;
11551 fail:
11552 return NULL;
11553 }
11554
11555
11556 static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
11557 PyObject *resultobj;
11558 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11559 long result;
11560 PyObject * obj0 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "self", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (long)((wxCommandEvent const *)arg1)->GetInt();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 resultobj = PyInt_FromLong((long)result);
11575 return resultobj;
11576 fail:
11577 return NULL;
11578 }
11579
11580
11581 static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
11584 wxEvent *result;
11585 PyObject * obj0 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
11591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11600 return resultobj;
11601 fail:
11602 return NULL;
11603 }
11604
11605
11606 static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
11607 PyObject *obj;
11608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11609 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
11610 Py_INCREF(obj);
11611 return Py_BuildValue((char *)"");
11612 }
11613 static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11616 int arg2 = (int) 0 ;
11617 wxNotifyEvent *result;
11618 char *kwnames[] = {
11619 (char *) "commandType",(char *) "winid", NULL
11620 };
11621
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_NotifyEvent",kwnames,&arg1,&arg2)) goto fail;
11623 {
11624 PyThreadState* __tstate = wxPyBeginAllowThreads();
11625 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
11626
11627 wxPyEndAllowThreads(__tstate);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 }
11630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotifyEvent, 1);
11631 return resultobj;
11632 fail:
11633 return NULL;
11634 }
11635
11636
11637 static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
11638 PyObject *resultobj;
11639 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11640 PyObject * obj0 = 0 ;
11641 char *kwnames[] = {
11642 (char *) "self", NULL
11643 };
11644
11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
11646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 (arg1)->Veto();
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 Py_INCREF(Py_None); resultobj = Py_None;
11655 return resultobj;
11656 fail:
11657 return NULL;
11658 }
11659
11660
11661 static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
11670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 (arg1)->Allow();
11674
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 Py_INCREF(Py_None); resultobj = Py_None;
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
11688 bool result;
11689 PyObject * obj0 = 0 ;
11690 char *kwnames[] = {
11691 (char *) "self", NULL
11692 };
11693
11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
11695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotifyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 result = (bool)(arg1)->IsAllowed();
11699
11700 wxPyEndAllowThreads(__tstate);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 resultobj = PyInt_FromLong((long)result);
11704 return resultobj;
11705 fail:
11706 return NULL;
11707 }
11708
11709
11710 static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
11711 PyObject *obj;
11712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11713 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
11714 Py_INCREF(obj);
11715 return Py_BuildValue((char *)"");
11716 }
11717 static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11718 PyObject *resultobj;
11719 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11720 int arg2 = (int) 0 ;
11721 int arg3 = (int) 0 ;
11722 int arg4 = (int) 0 ;
11723 wxScrollEvent *result;
11724 char *kwnames[] = {
11725 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ScrollEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollEvent, 1);
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11746 int result;
11747 PyObject * obj0 = 0 ;
11748 char *kwnames[] = {
11749 (char *) "self", NULL
11750 };
11751
11752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
11753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 resultobj = PyInt_FromLong((long)result);
11762 return resultobj;
11763 fail:
11764 return NULL;
11765 }
11766
11767
11768 static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11771 int result;
11772 PyObject * obj0 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
11778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 resultobj = PyInt_FromLong((long)result);
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11794 PyObject *resultobj;
11795 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11796 int arg2 ;
11797 PyObject * obj0 = 0 ;
11798 char *kwnames[] = {
11799 (char *) "self",(char *) "orient", NULL
11800 };
11801
11802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 (arg1)->SetOrientation(arg2);
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 Py_INCREF(Py_None); resultobj = Py_None;
11812 return resultobj;
11813 fail:
11814 return NULL;
11815 }
11816
11817
11818 static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj;
11820 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
11821 int arg2 ;
11822 PyObject * obj0 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "self",(char *) "pos", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 (arg1)->SetPosition(arg2);
11832
11833 wxPyEndAllowThreads(__tstate);
11834 if (PyErr_Occurred()) SWIG_fail;
11835 }
11836 Py_INCREF(Py_None); resultobj = Py_None;
11837 return resultobj;
11838 fail:
11839 return NULL;
11840 }
11841
11842
11843 static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
11844 PyObject *obj;
11845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11846 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
11847 Py_INCREF(obj);
11848 return Py_BuildValue((char *)"");
11849 }
11850 static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj;
11852 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11853 int arg2 = (int) 0 ;
11854 int arg3 = (int) 0 ;
11855 wxScrollWinEvent *result;
11856 char *kwnames[] = {
11857 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iii:new_ScrollWinEvent",kwnames,&arg1,&arg2,&arg3)) goto fail;
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollWinEvent, 1);
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11878 int result;
11879 PyObject * obj0 = 0 ;
11880 char *kwnames[] = {
11881 (char *) "self", NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
11885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = PyInt_FromLong((long)result);
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11903 int result;
11904 PyObject * obj0 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
11910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11911 {
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
11914
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 resultobj = PyInt_FromLong((long)result);
11919 return resultobj;
11920 fail:
11921 return NULL;
11922 }
11923
11924
11925 static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
11926 PyObject *resultobj;
11927 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11928 int arg2 ;
11929 PyObject * obj0 = 0 ;
11930 char *kwnames[] = {
11931 (char *) "self",(char *) "orient", NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
11935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11936 {
11937 PyThreadState* __tstate = wxPyBeginAllowThreads();
11938 (arg1)->SetOrientation(arg2);
11939
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 Py_INCREF(Py_None); resultobj = Py_None;
11944 return resultobj;
11945 fail:
11946 return NULL;
11947 }
11948
11949
11950 static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11951 PyObject *resultobj;
11952 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
11953 int arg2 ;
11954 PyObject * obj0 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self",(char *) "pos", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
11960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 (arg1)->SetPosition(arg2);
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
11968 Py_INCREF(Py_None); resultobj = Py_None;
11969 return resultobj;
11970 fail:
11971 return NULL;
11972 }
11973
11974
11975 static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
11976 PyObject *obj;
11977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11978 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
11979 Py_INCREF(obj);
11980 return Py_BuildValue((char *)"");
11981 }
11982 static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj;
11984 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11985 wxMouseEvent *result;
11986 char *kwnames[] = {
11987 (char *) "mouseType", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MouseEvent",kwnames,&arg1)) goto fail;
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (wxMouseEvent *)new wxMouseEvent(arg1);
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 {
11999 resultobj = wxPyMake_wxObject(result);
12000 }
12001 return resultobj;
12002 fail:
12003 return NULL;
12004 }
12005
12006
12007 static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12010 bool result;
12011 PyObject * obj0 = 0 ;
12012 char *kwnames[] = {
12013 (char *) "self", NULL
12014 };
12015
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
12017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = PyInt_FromLong((long)result);
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12035 int arg2 = (int) wxMOUSE_BTN_ANY ;
12036 bool result;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self",(char *) "but", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDown",kwnames,&obj0,&arg2)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = PyInt_FromLong((long)result);
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12061 int arg2 = (int) wxMOUSE_BTN_ANY ;
12062 bool result;
12063 PyObject * obj0 = 0 ;
12064 char *kwnames[] = {
12065 (char *) "self",(char *) "but", NULL
12066 };
12067
12068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonDClick",kwnames,&obj0,&arg2)) goto fail;
12069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 resultobj = PyInt_FromLong((long)result);
12078 return resultobj;
12079 fail:
12080 return NULL;
12081 }
12082
12083
12084 static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12087 int arg2 = (int) wxMOUSE_BTN_ANY ;
12088 bool result;
12089 PyObject * obj0 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self",(char *) "but", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:MouseEvent_ButtonUp",kwnames,&obj0,&arg2)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 resultobj = PyInt_FromLong((long)result);
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12113 int arg2 ;
12114 bool result;
12115 PyObject * obj0 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "but", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_Button",kwnames,&obj0,&arg2)) goto fail;
12121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
12125
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 resultobj = PyInt_FromLong((long)result);
12130 return resultobj;
12131 fail:
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12139 int arg2 ;
12140 bool result;
12141 PyObject * obj0 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self",(char *) "but", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames,&obj0,&arg2)) goto fail;
12147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = PyInt_FromLong((long)result);
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj;
12164 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12165 int result;
12166 PyObject * obj0 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
12172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = (int)((wxMouseEvent const *)arg1)->GetButton();
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 resultobj = PyInt_FromLong((long)result);
12181 return resultobj;
12182 fail:
12183 return NULL;
12184 }
12185
12186
12187 static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12188 PyObject *resultobj;
12189 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12190 bool result;
12191 PyObject * obj0 = 0 ;
12192 char *kwnames[] = {
12193 (char *) "self", NULL
12194 };
12195
12196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
12197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 resultobj = PyInt_FromLong((long)result);
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12215 bool result;
12216 PyObject * obj0 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = PyInt_FromLong((long)result);
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj;
12239 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12240 bool result;
12241 PyObject * obj0 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = PyInt_FromLong((long)result);
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj;
12264 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12265 bool result;
12266 PyObject * obj0 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 resultobj = PyInt_FromLong((long)result);
12281 return resultobj;
12282 fail:
12283 return NULL;
12284 }
12285
12286
12287 static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12290 bool result;
12291 PyObject * obj0 = 0 ;
12292 char *kwnames[] = {
12293 (char *) "self", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
12297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 resultobj = PyInt_FromLong((long)result);
12306 return resultobj;
12307 fail:
12308 return NULL;
12309 }
12310
12311
12312 static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj;
12314 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12315 bool result;
12316 PyObject * obj0 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
12322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = PyInt_FromLong((long)result);
12331 return resultobj;
12332 fail:
12333 return NULL;
12334 }
12335
12336
12337 static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj;
12339 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12340 bool result;
12341 PyObject * obj0 = 0 ;
12342 char *kwnames[] = {
12343 (char *) "self", NULL
12344 };
12345
12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
12347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 resultobj = PyInt_FromLong((long)result);
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12365 bool result;
12366 PyObject * obj0 = 0 ;
12367 char *kwnames[] = {
12368 (char *) "self", NULL
12369 };
12370
12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
12372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = PyInt_FromLong((long)result);
12381 return resultobj;
12382 fail:
12383 return NULL;
12384 }
12385
12386
12387 static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12388 PyObject *resultobj;
12389 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12390 bool result;
12391 PyObject * obj0 = 0 ;
12392 char *kwnames[] = {
12393 (char *) "self", NULL
12394 };
12395
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
12397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = PyInt_FromLong((long)result);
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12415 bool result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
12422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = PyInt_FromLong((long)result);
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12440 bool result;
12441 PyObject * obj0 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = PyInt_FromLong((long)result);
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12465 bool result;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
12476
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = PyInt_FromLong((long)result);
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj;
12489 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12490 bool result;
12491 PyObject * obj0 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "self", NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
12497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 resultobj = PyInt_FromLong((long)result);
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12515 bool result;
12516 PyObject * obj0 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
12522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (bool)(arg1)->LeftIsDown();
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = PyInt_FromLong((long)result);
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12540 bool result;
12541 PyObject * obj0 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 result = (bool)(arg1)->MiddleIsDown();
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 resultobj = PyInt_FromLong((long)result);
12556 return resultobj;
12557 fail:
12558 return NULL;
12559 }
12560
12561
12562 static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12565 bool result;
12566 PyObject * obj0 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 result = (bool)(arg1)->RightIsDown();
12576
12577 wxPyEndAllowThreads(__tstate);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 }
12580 resultobj = PyInt_FromLong((long)result);
12581 return resultobj;
12582 fail:
12583 return NULL;
12584 }
12585
12586
12587 static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12590 bool result;
12591 PyObject * obj0 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = PyInt_FromLong((long)result);
12606 return resultobj;
12607 fail:
12608 return NULL;
12609 }
12610
12611
12612 static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj;
12614 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12615 bool result;
12616 PyObject * obj0 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
12622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (bool)((wxMouseEvent const *)arg1)->Moving();
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = PyInt_FromLong((long)result);
12631 return resultobj;
12632 fail:
12633 return NULL;
12634 }
12635
12636
12637 static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj;
12639 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12640 bool result;
12641 PyObject * obj0 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
12647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 result = (bool)((wxMouseEvent const *)arg1)->Entering();
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 resultobj = PyInt_FromLong((long)result);
12656 return resultobj;
12657 fail:
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12665 bool result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12673 {
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 resultobj = PyInt_FromLong((long)result);
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12690 wxPoint result;
12691 PyObject * obj0 = 0 ;
12692 char *kwnames[] = {
12693 (char *) "self", NULL
12694 };
12695
12696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
12697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = (arg1)->GetPosition();
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 {
12706 wxPoint * resultptr;
12707 resultptr = new wxPoint((wxPoint &) result);
12708 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12709 }
12710 return resultobj;
12711 fail:
12712 return NULL;
12713 }
12714
12715
12716 static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
12717 PyObject *resultobj;
12718 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12719 long *arg2 = (long *) 0 ;
12720 long *arg3 = (long *) 0 ;
12721 long temp2 ;
12722 long temp3 ;
12723 PyObject * obj0 = 0 ;
12724 char *kwnames[] = {
12725 (char *) "self", NULL
12726 };
12727
12728 arg2 = &temp2;
12729 arg3 = &temp3;
12730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
12731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 (arg1)->GetPosition(arg2,arg3);
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 Py_INCREF(Py_None); resultobj = Py_None;
12740 {
12741 PyObject *o = PyInt_FromLong((long) (*arg2));
12742 resultobj = t_output_helper(resultobj,o);
12743 }
12744 {
12745 PyObject *o = PyInt_FromLong((long) (*arg3));
12746 resultobj = t_output_helper(resultobj,o);
12747 }
12748 return resultobj;
12749 fail:
12750 return NULL;
12751 }
12752
12753
12754 static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12757 wxDC *arg2 = 0 ;
12758 wxPoint result;
12759 PyObject * obj0 = 0 ;
12760 PyObject * obj1 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self",(char *) "dc", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
12766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12768 if (arg2 == NULL) {
12769 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12770 }
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 {
12779 wxPoint * resultptr;
12780 resultptr = new wxPoint((wxPoint &) result);
12781 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
12782 }
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12792 wxCoord result;
12793 PyObject * obj0 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "self", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
12799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 result = (wxCoord)((wxMouseEvent const *)arg1)->GetX();
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = PyInt_FromLong((long)result);
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12817 wxCoord result;
12818 PyObject * obj0 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 result = (wxCoord)((wxMouseEvent const *)arg1)->GetY();
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 resultobj = PyInt_FromLong((long)result);
12833 return resultobj;
12834 fail:
12835 return NULL;
12836 }
12837
12838
12839 static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj;
12841 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12842 int result;
12843 PyObject * obj0 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
12849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 resultobj = PyInt_FromLong((long)result);
12858 return resultobj;
12859 fail:
12860 return NULL;
12861 }
12862
12863
12864 static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj;
12866 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12867 int result;
12868 PyObject * obj0 = 0 ;
12869 char *kwnames[] = {
12870 (char *) "self", NULL
12871 };
12872
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
12874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = PyInt_FromLong((long)result);
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
12890 PyObject *resultobj;
12891 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12892 int result;
12893 PyObject * obj0 = 0 ;
12894 char *kwnames[] = {
12895 (char *) "self", NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
12899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 resultobj = PyInt_FromLong((long)result);
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12917 bool result;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
12924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 resultobj = PyInt_FromLong((long)result);
12933 return resultobj;
12934 fail:
12935 return NULL;
12936 }
12937
12938
12939 static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12942 wxCoord arg2 ;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self",(char *) "m_x", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
12949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12950 if (arg1) (arg1)->m_x = arg2;
12951
12952 Py_INCREF(Py_None); resultobj = Py_None;
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12962 wxCoord result;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12970 result = (wxCoord) ((arg1)->m_x);
12971
12972 resultobj = PyInt_FromLong((long)result);
12973 return resultobj;
12974 fail:
12975 return NULL;
12976 }
12977
12978
12979 static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
12980 PyObject *resultobj;
12981 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
12982 wxCoord arg2 ;
12983 PyObject * obj0 = 0 ;
12984 char *kwnames[] = {
12985 (char *) "self",(char *) "m_y", NULL
12986 };
12987
12988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
12989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12990 if (arg1) (arg1)->m_y = arg2;
12991
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13002 wxCoord result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13010 result = (wxCoord) ((arg1)->m_y);
13011
13012 resultobj = PyInt_FromLong((long)result);
13013 return resultobj;
13014 fail:
13015 return NULL;
13016 }
13017
13018
13019 static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13022 bool arg2 ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "m_leftDown", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13031 arg2 = PyInt_AsLong(obj1) ? true : false;
13032 if (PyErr_Occurred()) SWIG_fail;
13033 if (arg1) (arg1)->m_leftDown = arg2;
13034
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13045 bool result;
13046 PyObject * obj0 = 0 ;
13047 char *kwnames[] = {
13048 (char *) "self", NULL
13049 };
13050
13051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
13052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13053 result = (bool) ((arg1)->m_leftDown);
13054
13055 resultobj = PyInt_FromLong((long)result);
13056 return resultobj;
13057 fail:
13058 return NULL;
13059 }
13060
13061
13062 static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13065 bool arg2 ;
13066 PyObject * obj0 = 0 ;
13067 PyObject * obj1 = 0 ;
13068 char *kwnames[] = {
13069 (char *) "self",(char *) "m_middleDown", NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
13073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13074 arg2 = PyInt_AsLong(obj1) ? true : false;
13075 if (PyErr_Occurred()) SWIG_fail;
13076 if (arg1) (arg1)->m_middleDown = arg2;
13077
13078 Py_INCREF(Py_None); resultobj = Py_None;
13079 return resultobj;
13080 fail:
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13088 bool result;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13096 result = (bool) ((arg1)->m_middleDown);
13097
13098 resultobj = PyInt_FromLong((long)result);
13099 return resultobj;
13100 fail:
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13108 bool arg2 ;
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self",(char *) "m_rightDown", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13117 arg2 = PyInt_AsLong(obj1) ? true : false;
13118 if (PyErr_Occurred()) SWIG_fail;
13119 if (arg1) (arg1)->m_rightDown = arg2;
13120
13121 Py_INCREF(Py_None); resultobj = Py_None;
13122 return resultobj;
13123 fail:
13124 return NULL;
13125 }
13126
13127
13128 static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13129 PyObject *resultobj;
13130 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13131 bool result;
13132 PyObject * obj0 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13139 result = (bool) ((arg1)->m_rightDown);
13140
13141 resultobj = PyInt_FromLong((long)result);
13142 return resultobj;
13143 fail:
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13151 bool arg2 ;
13152 PyObject * obj0 = 0 ;
13153 PyObject * obj1 = 0 ;
13154 char *kwnames[] = {
13155 (char *) "self",(char *) "m_controlDown", NULL
13156 };
13157
13158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
13159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13160 arg2 = PyInt_AsLong(obj1) ? true : false;
13161 if (PyErr_Occurred()) SWIG_fail;
13162 if (arg1) (arg1)->m_controlDown = arg2;
13163
13164 Py_INCREF(Py_None); resultobj = Py_None;
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13174 bool result;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13182 result = (bool) ((arg1)->m_controlDown);
13183
13184 resultobj = PyInt_FromLong((long)result);
13185 return resultobj;
13186 fail:
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13194 bool arg2 ;
13195 PyObject * obj0 = 0 ;
13196 PyObject * obj1 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self",(char *) "m_shiftDown", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
13202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13203 arg2 = PyInt_AsLong(obj1) ? true : false;
13204 if (PyErr_Occurred()) SWIG_fail;
13205 if (arg1) (arg1)->m_shiftDown = arg2;
13206
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 return resultobj;
13209 fail:
13210 return NULL;
13211 }
13212
13213
13214 static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13217 bool result;
13218 PyObject * obj0 = 0 ;
13219 char *kwnames[] = {
13220 (char *) "self", NULL
13221 };
13222
13223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
13224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13225 result = (bool) ((arg1)->m_shiftDown);
13226
13227 resultobj = PyInt_FromLong((long)result);
13228 return resultobj;
13229 fail:
13230 return NULL;
13231 }
13232
13233
13234 static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13235 PyObject *resultobj;
13236 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13237 bool arg2 ;
13238 PyObject * obj0 = 0 ;
13239 PyObject * obj1 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "self",(char *) "m_altDown", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
13245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13246 arg2 = PyInt_AsLong(obj1) ? true : false;
13247 if (PyErr_Occurred()) SWIG_fail;
13248 if (arg1) (arg1)->m_altDown = arg2;
13249
13250 Py_INCREF(Py_None); resultobj = Py_None;
13251 return resultobj;
13252 fail:
13253 return NULL;
13254 }
13255
13256
13257 static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj;
13259 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13260 bool result;
13261 PyObject * obj0 = 0 ;
13262 char *kwnames[] = {
13263 (char *) "self", NULL
13264 };
13265
13266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
13267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13268 result = (bool) ((arg1)->m_altDown);
13269
13270 resultobj = PyInt_FromLong((long)result);
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13278 PyObject *resultobj;
13279 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13280 bool arg2 ;
13281 PyObject * obj0 = 0 ;
13282 PyObject * obj1 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self",(char *) "m_metaDown", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
13288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13289 arg2 = PyInt_AsLong(obj1) ? true : false;
13290 if (PyErr_Occurred()) SWIG_fail;
13291 if (arg1) (arg1)->m_metaDown = arg2;
13292
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13303 bool result;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
13310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13311 result = (bool) ((arg1)->m_metaDown);
13312
13313 resultobj = PyInt_FromLong((long)result);
13314 return resultobj;
13315 fail:
13316 return NULL;
13317 }
13318
13319
13320 static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13323 int arg2 ;
13324 PyObject * obj0 = 0 ;
13325 char *kwnames[] = {
13326 (char *) "self",(char *) "m_wheelRotation", NULL
13327 };
13328
13329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&arg2)) goto fail;
13330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13331 if (arg1) (arg1)->m_wheelRotation = arg2;
13332
13333 Py_INCREF(Py_None); resultobj = Py_None;
13334 return resultobj;
13335 fail:
13336 return NULL;
13337 }
13338
13339
13340 static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13341 PyObject *resultobj;
13342 wxMouseEvent *arg1 = (wxMouseEvent *) 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:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13351 result = (int) ((arg1)->m_wheelRotation);
13352
13353 resultobj = PyInt_FromLong((long)result);
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13363 int arg2 ;
13364 PyObject * obj0 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "m_wheelDelta", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&arg2)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13371 if (arg1) (arg1)->m_wheelDelta = arg2;
13372
13373 Py_INCREF(Py_None); resultobj = Py_None;
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13383 int result;
13384 PyObject * obj0 = 0 ;
13385 char *kwnames[] = {
13386 (char *) "self", NULL
13387 };
13388
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
13390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13391 result = (int) ((arg1)->m_wheelDelta);
13392
13393 resultobj = PyInt_FromLong((long)result);
13394 return resultobj;
13395 fail:
13396 return NULL;
13397 }
13398
13399
13400 static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13403 int arg2 ;
13404 PyObject * obj0 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "m_linesPerAction", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&arg2)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13411 if (arg1) (arg1)->m_linesPerAction = arg2;
13412
13413 Py_INCREF(Py_None); resultobj = Py_None;
13414 return resultobj;
13415 fail:
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13423 int result;
13424 PyObject * obj0 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 result = (int) ((arg1)->m_linesPerAction);
13432
13433 resultobj = PyInt_FromLong((long)result);
13434 return resultobj;
13435 fail:
13436 return NULL;
13437 }
13438
13439
13440 static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
13441 PyObject *obj;
13442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13443 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
13444 Py_INCREF(obj);
13445 return Py_BuildValue((char *)"");
13446 }
13447 static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxCoord arg1 = (wxCoord) 0 ;
13450 wxCoord arg2 = (wxCoord) 0 ;
13451 wxSetCursorEvent *result;
13452 char *kwnames[] = {
13453 (char *) "x",(char *) "y", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SetCursorEvent",kwnames,&arg1,&arg2)) goto fail;
13457 {
13458 PyThreadState* __tstate = wxPyBeginAllowThreads();
13459 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
13460
13461 wxPyEndAllowThreads(__tstate);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 }
13464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSetCursorEvent, 1);
13465 return resultobj;
13466 fail:
13467 return NULL;
13468 }
13469
13470
13471 static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13472 PyObject *resultobj;
13473 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13474 wxCoord result;
13475 PyObject * obj0 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "self", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
13481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 result = (wxCoord)((wxSetCursorEvent const *)arg1)->GetX();
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 resultobj = PyInt_FromLong((long)result);
13490 return resultobj;
13491 fail:
13492 return NULL;
13493 }
13494
13495
13496 static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13499 wxCoord result;
13500 PyObject * obj0 = 0 ;
13501 char *kwnames[] = {
13502 (char *) "self", NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
13506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 result = (wxCoord)((wxSetCursorEvent const *)arg1)->GetY();
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
13514 resultobj = PyInt_FromLong((long)result);
13515 return resultobj;
13516 fail:
13517 return NULL;
13518 }
13519
13520
13521 static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13524 wxCursor *arg2 = 0 ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "cursor", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
13532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13534 if (arg2 == NULL) {
13535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13536 }
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->SetCursor((wxCursor const &)*arg2);
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 Py_INCREF(Py_None); resultobj = Py_None;
13545 return resultobj;
13546 fail:
13547 return NULL;
13548 }
13549
13550
13551 static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13554 wxCursor *result;
13555 PyObject * obj0 = 0 ;
13556 char *kwnames[] = {
13557 (char *) "self", NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
13561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13562 {
13563 PyThreadState* __tstate = wxPyBeginAllowThreads();
13564 {
13565 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
13566 result = (wxCursor *) &_result_ref;
13567 }
13568
13569 wxPyEndAllowThreads(__tstate);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
13573 return resultobj;
13574 fail:
13575 return NULL;
13576 }
13577
13578
13579 static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
13580 PyObject *resultobj;
13581 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
13582 bool result;
13583 PyObject * obj0 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
13589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSetCursorEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13590 {
13591 PyThreadState* __tstate = wxPyBeginAllowThreads();
13592 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
13593
13594 wxPyEndAllowThreads(__tstate);
13595 if (PyErr_Occurred()) SWIG_fail;
13596 }
13597 resultobj = PyInt_FromLong((long)result);
13598 return resultobj;
13599 fail:
13600 return NULL;
13601 }
13602
13603
13604 static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
13605 PyObject *obj;
13606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13607 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
13608 Py_INCREF(obj);
13609 return Py_BuildValue((char *)"");
13610 }
13611 static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13614 wxKeyEvent *result;
13615 char *kwnames[] = {
13616 (char *) "keyType", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_KeyEvent",kwnames,&arg1)) goto fail;
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (wxKeyEvent *)new wxKeyEvent(arg1);
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 1);
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13637 bool result;
13638 PyObject * obj0 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = PyInt_FromLong((long)result);
13653 return resultobj;
13654 fail:
13655 return NULL;
13656 }
13657
13658
13659 static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13662 bool result;
13663 PyObject * obj0 = 0 ;
13664 char *kwnames[] = {
13665 (char *) "self", NULL
13666 };
13667
13668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
13669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 resultobj = PyInt_FromLong((long)result);
13678 return resultobj;
13679 fail:
13680 return NULL;
13681 }
13682
13683
13684 static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13687 bool result;
13688 PyObject * obj0 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 resultobj = PyInt_FromLong((long)result);
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13712 bool result;
13713 PyObject * obj0 = 0 ;
13714 char *kwnames[] = {
13715 (char *) "self", NULL
13716 };
13717
13718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
13719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 resultobj = PyInt_FromLong((long)result);
13728 return resultobj;
13729 fail:
13730 return NULL;
13731 }
13732
13733
13734 static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13735 PyObject *resultobj;
13736 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13737 bool result;
13738 PyObject * obj0 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "self", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 resultobj = PyInt_FromLong((long)result);
13753 return resultobj;
13754 fail:
13755 return NULL;
13756 }
13757
13758
13759 static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13762 int result;
13763 PyObject * obj0 = 0 ;
13764 char *kwnames[] = {
13765 (char *) "self", NULL
13766 };
13767
13768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
13769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13770 {
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
13773
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
13777 resultobj = PyInt_FromLong((long)result);
13778 return resultobj;
13779 fail:
13780 return NULL;
13781 }
13782
13783
13784 static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13787 int result;
13788 PyObject * obj0 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
13794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 result = (int)wxKeyEvent_GetUniChar(arg1);
13798
13799 wxPyEndAllowThreads(__tstate);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 }
13802 resultobj = PyInt_FromLong((long)result);
13803 return resultobj;
13804 fail:
13805 return NULL;
13806 }
13807
13808
13809 static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
13810 PyObject *resultobj;
13811 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13812 wxUint32 result;
13813 PyObject * obj0 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
13819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 result = (wxUint32)((wxKeyEvent const *)arg1)->GetRawKeyCode();
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 resultobj = PyInt_FromLong((long)result);
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13837 wxUint32 result;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (wxUint32)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 resultobj = PyInt_FromLong((long)result);
13853 return resultobj;
13854 fail:
13855 return NULL;
13856 }
13857
13858
13859 static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13862 wxPoint result;
13863 PyObject * obj0 = 0 ;
13864 char *kwnames[] = {
13865 (char *) "self", NULL
13866 };
13867
13868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
13869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 result = (arg1)->GetPosition();
13873
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
13877 {
13878 wxPoint * resultptr;
13879 resultptr = new wxPoint((wxPoint &) result);
13880 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
13881 }
13882 return resultobj;
13883 fail:
13884 return NULL;
13885 }
13886
13887
13888 static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj;
13890 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13891 long *arg2 = (long *) 0 ;
13892 long *arg3 = (long *) 0 ;
13893 long temp2 ;
13894 long temp3 ;
13895 PyObject * obj0 = 0 ;
13896 char *kwnames[] = {
13897 (char *) "self", NULL
13898 };
13899
13900 arg2 = &temp2;
13901 arg3 = &temp3;
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
13903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->GetPosition(arg2,arg3);
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 {
13913 PyObject *o = PyInt_FromLong((long) (*arg2));
13914 resultobj = t_output_helper(resultobj,o);
13915 }
13916 {
13917 PyObject *o = PyInt_FromLong((long) (*arg3));
13918 resultobj = t_output_helper(resultobj,o);
13919 }
13920 return resultobj;
13921 fail:
13922 return NULL;
13923 }
13924
13925
13926 static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13927 PyObject *resultobj;
13928 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13929 wxCoord result;
13930 PyObject * obj0 = 0 ;
13931 char *kwnames[] = {
13932 (char *) "self", NULL
13933 };
13934
13935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
13936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 result = (wxCoord)((wxKeyEvent const *)arg1)->GetX();
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = PyInt_FromLong((long)result);
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj;
13953 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13954 wxCoord result;
13955 PyObject * obj0 = 0 ;
13956 char *kwnames[] = {
13957 (char *) "self", NULL
13958 };
13959
13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
13961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 result = (wxCoord)((wxKeyEvent const *)arg1)->GetY();
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 resultobj = PyInt_FromLong((long)result);
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj;
13978 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13979 wxCoord arg2 ;
13980 PyObject * obj0 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self",(char *) "m_x", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_x_set",kwnames,&obj0,&arg2)) goto fail;
13986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13987 if (arg1) (arg1)->m_x = arg2;
13988
13989 Py_INCREF(Py_None); resultobj = Py_None;
13990 return resultobj;
13991 fail:
13992 return NULL;
13993 }
13994
13995
13996 static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
13999 wxCoord result;
14000 PyObject * obj0 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14007 result = (wxCoord) ((arg1)->m_x);
14008
14009 resultobj = PyInt_FromLong((long)result);
14010 return resultobj;
14011 fail:
14012 return NULL;
14013 }
14014
14015
14016 static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj;
14018 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14019 wxCoord arg2 ;
14020 PyObject * obj0 = 0 ;
14021 char *kwnames[] = {
14022 (char *) "self",(char *) "m_y", NULL
14023 };
14024
14025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:KeyEvent_m_y_set",kwnames,&obj0,&arg2)) goto fail;
14026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14027 if (arg1) (arg1)->m_y = arg2;
14028
14029 Py_INCREF(Py_None); resultobj = Py_None;
14030 return resultobj;
14031 fail:
14032 return NULL;
14033 }
14034
14035
14036 static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj;
14038 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14039 wxCoord result;
14040 PyObject * obj0 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "self", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
14046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14047 result = (wxCoord) ((arg1)->m_y);
14048
14049 resultobj = PyInt_FromLong((long)result);
14050 return resultobj;
14051 fail:
14052 return NULL;
14053 }
14054
14055
14056 static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14057 PyObject *resultobj;
14058 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14059 long arg2 ;
14060 PyObject * obj0 = 0 ;
14061 char *kwnames[] = {
14062 (char *) "self",(char *) "m_keyCode", NULL
14063 };
14064
14065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames,&obj0,&arg2)) goto fail;
14066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14067 if (arg1) (arg1)->m_keyCode = arg2;
14068
14069 Py_INCREF(Py_None); resultobj = Py_None;
14070 return resultobj;
14071 fail:
14072 return NULL;
14073 }
14074
14075
14076 static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14079 long result;
14080 PyObject * obj0 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14087 result = (long) ((arg1)->m_keyCode);
14088
14089 resultobj = PyInt_FromLong((long)result);
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14099 bool arg2 ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "m_controlDown", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 arg2 = PyInt_AsLong(obj1) ? true : false;
14109 if (PyErr_Occurred()) SWIG_fail;
14110 if (arg1) (arg1)->m_controlDown = arg2;
14111
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14122 bool result;
14123 PyObject * obj0 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14130 result = (bool) ((arg1)->m_controlDown);
14131
14132 resultobj = PyInt_FromLong((long)result);
14133 return resultobj;
14134 fail:
14135 return NULL;
14136 }
14137
14138
14139 static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14140 PyObject *resultobj;
14141 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14142 bool arg2 ;
14143 PyObject * obj0 = 0 ;
14144 PyObject * obj1 = 0 ;
14145 char *kwnames[] = {
14146 (char *) "self",(char *) "m_shiftDown", NULL
14147 };
14148
14149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14151 arg2 = PyInt_AsLong(obj1) ? true : false;
14152 if (PyErr_Occurred()) SWIG_fail;
14153 if (arg1) (arg1)->m_shiftDown = arg2;
14154
14155 Py_INCREF(Py_None); resultobj = Py_None;
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14165 bool result;
14166 PyObject * obj0 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14173 result = (bool) ((arg1)->m_shiftDown);
14174
14175 resultobj = PyInt_FromLong((long)result);
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14185 bool arg2 ;
14186 PyObject * obj0 = 0 ;
14187 PyObject * obj1 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self",(char *) "m_altDown", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14194 arg2 = PyInt_AsLong(obj1) ? true : false;
14195 if (PyErr_Occurred()) SWIG_fail;
14196 if (arg1) (arg1)->m_altDown = arg2;
14197
14198 Py_INCREF(Py_None); resultobj = Py_None;
14199 return resultobj;
14200 fail:
14201 return NULL;
14202 }
14203
14204
14205 static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14206 PyObject *resultobj;
14207 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14208 bool result;
14209 PyObject * obj0 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14216 result = (bool) ((arg1)->m_altDown);
14217
14218 resultobj = PyInt_FromLong((long)result);
14219 return resultobj;
14220 fail:
14221 return NULL;
14222 }
14223
14224
14225 static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj;
14227 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14228 bool arg2 ;
14229 PyObject * obj0 = 0 ;
14230 PyObject * obj1 = 0 ;
14231 char *kwnames[] = {
14232 (char *) "self",(char *) "m_metaDown", NULL
14233 };
14234
14235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
14236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14237 arg2 = PyInt_AsLong(obj1) ? true : false;
14238 if (PyErr_Occurred()) SWIG_fail;
14239 if (arg1) (arg1)->m_metaDown = arg2;
14240
14241 Py_INCREF(Py_None); resultobj = Py_None;
14242 return resultobj;
14243 fail:
14244 return NULL;
14245 }
14246
14247
14248 static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14249 PyObject *resultobj;
14250 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14251 bool result;
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14259 result = (bool) ((arg1)->m_metaDown);
14260
14261 resultobj = PyInt_FromLong((long)result);
14262 return resultobj;
14263 fail:
14264 return NULL;
14265 }
14266
14267
14268 static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14269 PyObject *resultobj;
14270 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14271 bool arg2 ;
14272 PyObject * obj0 = 0 ;
14273 PyObject * obj1 = 0 ;
14274 char *kwnames[] = {
14275 (char *) "self",(char *) "m_scanCode", NULL
14276 };
14277
14278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
14279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14280 arg2 = PyInt_AsLong(obj1) ? true : false;
14281 if (PyErr_Occurred()) SWIG_fail;
14282 if (arg1) (arg1)->m_scanCode = arg2;
14283
14284 Py_INCREF(Py_None); resultobj = Py_None;
14285 return resultobj;
14286 fail:
14287 return NULL;
14288 }
14289
14290
14291 static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj;
14293 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14294 bool result;
14295 PyObject * obj0 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
14301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14302 result = (bool) ((arg1)->m_scanCode);
14303
14304 resultobj = PyInt_FromLong((long)result);
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14314 wxUint32 arg2 ;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self",(char *) "m_rawCode", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
14322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14323 arg2 = (wxUint32) PyInt_AsLong(obj1);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 if (arg1) (arg1)->m_rawCode = arg2;
14326
14327 Py_INCREF(Py_None); resultobj = Py_None;
14328 return resultobj;
14329 fail:
14330 return NULL;
14331 }
14332
14333
14334 static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14337 wxUint32 result;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
14344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14345 result = (wxUint32) ((arg1)->m_rawCode);
14346
14347 resultobj = PyInt_FromLong((long)result);
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14357 wxUint32 arg2 ;
14358 PyObject * obj0 = 0 ;
14359 PyObject * obj1 = 0 ;
14360 char *kwnames[] = {
14361 (char *) "self",(char *) "m_rawFlags", NULL
14362 };
14363
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
14365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14366 arg2 = (wxUint32) PyInt_AsLong(obj1);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 if (arg1) (arg1)->m_rawFlags = arg2;
14369
14370 Py_INCREF(Py_None); resultobj = Py_None;
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
14380 wxUint32 result;
14381 PyObject * obj0 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "self", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
14387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14388 result = (wxUint32) ((arg1)->m_rawFlags);
14389
14390 resultobj = PyInt_FromLong((long)result);
14391 return resultobj;
14392 fail:
14393 return NULL;
14394 }
14395
14396
14397 static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
14398 PyObject *obj;
14399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14400 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
14401 Py_INCREF(obj);
14402 return Py_BuildValue((char *)"");
14403 }
14404 static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxSize const &arg1_defvalue = wxDefaultSize ;
14407 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
14408 int arg2 = (int) 0 ;
14409 wxSizeEvent *result;
14410 wxSize temp1 ;
14411 PyObject * obj0 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "sz",(char *) "winid", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_SizeEvent",kwnames,&obj0,&arg2)) goto fail;
14417 if (obj0) {
14418 {
14419 arg1 = &temp1;
14420 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
14421 }
14422 }
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
14426
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
14430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizeEvent, 1);
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14440 wxSize result;
14441 PyObject * obj0 = 0 ;
14442 char *kwnames[] = {
14443 (char *) "self", NULL
14444 };
14445
14446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
14447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 result = ((wxSizeEvent const *)arg1)->GetSize();
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456 wxSize * resultptr;
14457 resultptr = new wxSize((wxSize &) result);
14458 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14459 }
14460 return resultobj;
14461 fail:
14462 return NULL;
14463 }
14464
14465
14466 static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14469 wxRect result;
14470 PyObject * obj0 = 0 ;
14471 char *kwnames[] = {
14472 (char *) "self", NULL
14473 };
14474
14475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
14476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 result = ((wxSizeEvent const *)arg1)->GetRect();
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 {
14485 wxRect * resultptr;
14486 resultptr = new wxRect((wxRect &) result);
14487 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14488 }
14489 return resultobj;
14490 fail:
14491 return NULL;
14492 }
14493
14494
14495 static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14496 PyObject *resultobj;
14497 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14498 wxRect arg2 ;
14499 wxRect *argp2 ;
14500 PyObject * obj0 = 0 ;
14501 PyObject * obj1 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self",(char *) "rect", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14508 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14509 arg2 = *argp2;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 (arg1)->SetRect(arg2);
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 Py_INCREF(Py_None); resultobj = Py_None;
14518 return resultobj;
14519 fail:
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14527 wxSize arg2 ;
14528 wxSize *argp2 ;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "size", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14537 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14538 arg2 = *argp2;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 wxSizeEvent_SetSize(arg1,arg2);
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 Py_INCREF(Py_None); resultobj = Py_None;
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14556 wxSize *arg2 = (wxSize *) 0 ;
14557 PyObject * obj0 = 0 ;
14558 PyObject * obj1 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "self",(char *) "m_size", NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
14564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14566 if (arg1) (arg1)->m_size = *arg2;
14567
14568 Py_INCREF(Py_None); resultobj = Py_None;
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14578 wxSize *result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
14585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14586 result = (wxSize *)& ((arg1)->m_size);
14587
14588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14598 wxRect *arg2 = (wxRect *) 0 ;
14599 PyObject * obj0 = 0 ;
14600 PyObject * obj1 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "self",(char *) "m_rect", NULL
14603 };
14604
14605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 if (arg1) (arg1)->m_rect = *arg2;
14609
14610 Py_INCREF(Py_None); resultobj = Py_None;
14611 return resultobj;
14612 fail:
14613 return NULL;
14614 }
14615
14616
14617 static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14618 PyObject *resultobj;
14619 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
14620 wxRect *result;
14621 PyObject * obj0 = 0 ;
14622 char *kwnames[] = {
14623 (char *) "self", NULL
14624 };
14625
14626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
14627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14628 result = (wxRect *)& ((arg1)->m_rect);
14629
14630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
14638 PyObject *obj;
14639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14640 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
14641 Py_INCREF(obj);
14642 return Py_BuildValue((char *)"");
14643 }
14644 static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxPoint const &arg1_defvalue = wxDefaultPosition ;
14647 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
14648 int arg2 = (int) 0 ;
14649 wxMoveEvent *result;
14650 wxPoint temp1 ;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "pos",(char *) "winid", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Oi:new_MoveEvent",kwnames,&obj0,&arg2)) goto fail;
14657 if (obj0) {
14658 {
14659 arg1 = &temp1;
14660 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
14661 }
14662 }
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMoveEvent, 1);
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14680 wxPoint result;
14681 PyObject * obj0 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
14687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 result = ((wxMoveEvent const *)arg1)->GetPosition();
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 {
14696 wxPoint * resultptr;
14697 resultptr = new wxPoint((wxPoint &) result);
14698 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
14699 }
14700 return resultobj;
14701 fail:
14702 return NULL;
14703 }
14704
14705
14706 static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj;
14708 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14709 wxRect result;
14710 PyObject * obj0 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
14716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 result = ((wxMoveEvent const *)arg1)->GetRect();
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 {
14725 wxRect * resultptr;
14726 resultptr = new wxRect((wxRect &) result);
14727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
14728 }
14729 return resultobj;
14730 fail:
14731 return NULL;
14732 }
14733
14734
14735 static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
14736 PyObject *resultobj;
14737 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14738 wxRect arg2 ;
14739 wxRect *argp2 ;
14740 PyObject * obj0 = 0 ;
14741 PyObject * obj1 = 0 ;
14742 char *kwnames[] = {
14743 (char *) "self",(char *) "rect", NULL
14744 };
14745
14746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
14747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14748 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14749 arg2 = *argp2;
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 (arg1)->SetRect(arg2);
14753
14754 wxPyEndAllowThreads(__tstate);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 Py_INCREF(Py_None); resultobj = Py_None;
14758 return resultobj;
14759 fail:
14760 return NULL;
14761 }
14762
14763
14764 static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14767 wxPoint arg2 ;
14768 wxPoint *argp2 ;
14769 PyObject * obj0 = 0 ;
14770 PyObject * obj1 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self",(char *) "pos", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14777 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
14778 arg2 = *argp2;
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 wxMoveEvent_SetPosition(arg1,arg2);
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 Py_INCREF(Py_None); resultobj = Py_None;
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14796 wxPoint *arg2 = (wxPoint *) 0 ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self",(char *) "m_pos", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14806 if (arg1) (arg1)->m_pos = *arg2;
14807
14808 Py_INCREF(Py_None); resultobj = Py_None;
14809 return resultobj;
14810 fail:
14811 return NULL;
14812 }
14813
14814
14815 static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14816 PyObject *resultobj;
14817 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14818 wxPoint *result;
14819 PyObject * obj0 = 0 ;
14820 char *kwnames[] = {
14821 (char *) "self", NULL
14822 };
14823
14824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
14825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14826 result = (wxPoint *)& ((arg1)->m_pos);
14827
14828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14838 wxRect *arg2 = (wxRect *) 0 ;
14839 PyObject * obj0 = 0 ;
14840 PyObject * obj1 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self",(char *) "m_rect", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
14846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14848 if (arg1) (arg1)->m_rect = *arg2;
14849
14850 Py_INCREF(Py_None); resultobj = Py_None;
14851 return resultobj;
14852 fail:
14853 return NULL;
14854 }
14855
14856
14857 static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14858 PyObject *resultobj;
14859 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
14860 wxRect *result;
14861 PyObject * obj0 = 0 ;
14862 char *kwnames[] = {
14863 (char *) "self", NULL
14864 };
14865
14866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
14867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMoveEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14868 result = (wxRect *)& ((arg1)->m_rect);
14869
14870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRect, 0);
14871 return resultobj;
14872 fail:
14873 return NULL;
14874 }
14875
14876
14877 static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
14878 PyObject *obj;
14879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14880 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
14881 Py_INCREF(obj);
14882 return Py_BuildValue((char *)"");
14883 }
14884 static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 int arg1 = (int) 0 ;
14887 wxPaintEvent *result;
14888 char *kwnames[] = {
14889 (char *) "Id", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaintEvent",kwnames,&arg1)) goto fail;
14893 {
14894 PyThreadState* __tstate = wxPyBeginAllowThreads();
14895 result = (wxPaintEvent *)new wxPaintEvent(arg1);
14896
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaintEvent, 1);
14901 return resultobj;
14902 fail:
14903 return NULL;
14904 }
14905
14906
14907 static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
14908 PyObject *obj;
14909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14910 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
14911 Py_INCREF(obj);
14912 return Py_BuildValue((char *)"");
14913 }
14914 static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14915 PyObject *resultobj;
14916 int arg1 = (int) 0 ;
14917 wxNcPaintEvent *result;
14918 char *kwnames[] = {
14919 (char *) "winid", NULL
14920 };
14921
14922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_NcPaintEvent",kwnames,&arg1)) goto fail;
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNcPaintEvent, 1);
14931 return resultobj;
14932 fail:
14933 return NULL;
14934 }
14935
14936
14937 static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
14938 PyObject *obj;
14939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
14941 Py_INCREF(obj);
14942 return Py_BuildValue((char *)"");
14943 }
14944 static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 int arg1 = (int) 0 ;
14947 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
14948 wxEraseEvent *result;
14949 PyObject * obj1 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "Id",(char *) "dc", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_EraseEvent",kwnames,&arg1,&obj1)) goto fail;
14955 if (obj1) {
14956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14957 }
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEraseEvent, 1);
14966 return resultobj;
14967 fail:
14968 return NULL;
14969 }
14970
14971
14972 static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj;
14974 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
14975 wxDC *result;
14976 PyObject * obj0 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "self", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
14982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEraseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 {
14991 resultobj = wxPyMake_wxObject(result);
14992 }
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
15000 PyObject *obj;
15001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15002 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
15003 Py_INCREF(obj);
15004 return Py_BuildValue((char *)"");
15005 }
15006 static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj;
15008 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15009 int arg2 = (int) 0 ;
15010 wxFocusEvent *result;
15011 char *kwnames[] = {
15012 (char *) "type",(char *) "winid", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FocusEvent",kwnames,&arg1,&arg2)) goto fail;
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFocusEvent, 1);
15024 return resultobj;
15025 fail:
15026 return NULL;
15027 }
15028
15029
15030 static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
15033 wxWindow *result;
15034 PyObject * obj0 = 0 ;
15035 char *kwnames[] = {
15036 (char *) "self", NULL
15037 };
15038
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 {
15049 resultobj = wxPyMake_wxObject(result);
15050 }
15051 return resultobj;
15052 fail:
15053 return NULL;
15054 }
15055
15056
15057 static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15058 PyObject *resultobj;
15059 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
15060 wxWindow *arg2 = (wxWindow *) 0 ;
15061 PyObject * obj0 = 0 ;
15062 PyObject * obj1 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self",(char *) "win", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 (arg1)->SetWindow(arg2);
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 Py_INCREF(Py_None); resultobj = Py_None;
15078 return resultobj;
15079 fail:
15080 return NULL;
15081 }
15082
15083
15084 static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
15085 PyObject *obj;
15086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15087 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
15088 Py_INCREF(obj);
15089 return Py_BuildValue((char *)"");
15090 }
15091 static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxWindow *arg1 = (wxWindow *) NULL ;
15094 wxChildFocusEvent *result;
15095 PyObject * obj0 = 0 ;
15096 char *kwnames[] = {
15097 (char *) "win", NULL
15098 };
15099
15100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
15101 if (obj0) {
15102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15103 }
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChildFocusEvent, 1);
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
15121 wxWindow *result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChildFocusEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 {
15137 resultobj = wxPyMake_wxObject(result);
15138 }
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
15146 PyObject *obj;
15147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
15149 Py_INCREF(obj);
15150 return Py_BuildValue((char *)"");
15151 }
15152 static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15153 PyObject *resultobj;
15154 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15155 bool arg2 = (bool) TRUE ;
15156 int arg3 = (int) 0 ;
15157 wxActivateEvent *result;
15158 PyObject * obj1 = 0 ;
15159 char *kwnames[] = {
15160 (char *) "type",(char *) "active",(char *) "Id", NULL
15161 };
15162
15163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iOi:new_ActivateEvent",kwnames,&arg1,&obj1,&arg3)) goto fail;
15164 if (obj1) {
15165 arg2 = PyInt_AsLong(obj1) ? true : false;
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
15171
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxActivateEvent, 1);
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj;
15184 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
15185 bool result;
15186 PyObject * obj0 = 0 ;
15187 char *kwnames[] = {
15188 (char *) "self", NULL
15189 };
15190
15191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxActivateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 resultobj = PyInt_FromLong((long)result);
15201 return resultobj;
15202 fail:
15203 return NULL;
15204 }
15205
15206
15207 static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
15208 PyObject *obj;
15209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
15211 Py_INCREF(obj);
15212 return Py_BuildValue((char *)"");
15213 }
15214 static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 int arg1 = (int) 0 ;
15217 wxInitDialogEvent *result;
15218 char *kwnames[] = {
15219 (char *) "Id", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_InitDialogEvent",kwnames,&arg1)) goto fail;
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxInitDialogEvent, 1);
15231 return resultobj;
15232 fail:
15233 return NULL;
15234 }
15235
15236
15237 static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
15238 PyObject *obj;
15239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15240 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
15241 Py_INCREF(obj);
15242 return Py_BuildValue((char *)"");
15243 }
15244 static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15247 int arg2 = (int) 0 ;
15248 wxMenu *arg3 = (wxMenu *) NULL ;
15249 wxMenuEvent *result;
15250 PyObject * obj2 = 0 ;
15251 char *kwnames[] = {
15252 (char *) "type",(char *) "winid",(char *) "menu", NULL
15253 };
15254
15255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_MenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
15256 if (obj2) {
15257 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15258 }
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMenuEvent, 1);
15267 return resultobj;
15268 fail:
15269 return NULL;
15270 }
15271
15272
15273 static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15276 int result;
15277 PyObject * obj0 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 resultobj = PyInt_FromLong((long)result);
15292 return resultobj;
15293 fail:
15294 return NULL;
15295 }
15296
15297
15298 static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
15299 PyObject *resultobj;
15300 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15301 bool result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 resultobj = PyInt_FromLong((long)result);
15317 return resultobj;
15318 fail:
15319 return NULL;
15320 }
15321
15322
15323 static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
15326 wxMenu *result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = wxPyMake_wxObject(result);
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
15351 PyObject *obj;
15352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15353 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
15354 Py_INCREF(obj);
15355 return Py_BuildValue((char *)"");
15356 }
15357 static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15358 PyObject *resultobj;
15359 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15360 int arg2 = (int) 0 ;
15361 wxCloseEvent *result;
15362 char *kwnames[] = {
15363 (char *) "type",(char *) "winid", NULL
15364 };
15365
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_CloseEvent",kwnames,&arg1,&arg2)) goto fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCloseEvent, 1);
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15384 bool arg2 ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 char *kwnames[] = {
15388 (char *) "self",(char *) "logOff", NULL
15389 };
15390
15391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15393 arg2 = PyInt_AsLong(obj1) ? true : false;
15394 if (PyErr_Occurred()) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->SetLoggingOff(arg2);
15398
15399 wxPyEndAllowThreads(__tstate);
15400 if (PyErr_Occurred()) SWIG_fail;
15401 }
15402 Py_INCREF(Py_None); resultobj = Py_None;
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15412 bool result;
15413 PyObject * obj0 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 resultobj = PyInt_FromLong((long)result);
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15437 bool arg2 = (bool) TRUE ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "veto", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15446 if (obj1) {
15447 arg2 = PyInt_AsLong(obj1) ? true : false;
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 (arg1)->Veto(arg2);
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 Py_INCREF(Py_None); resultobj = Py_None;
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15467 bool arg2 ;
15468 PyObject * obj0 = 0 ;
15469 PyObject * obj1 = 0 ;
15470 char *kwnames[] = {
15471 (char *) "self",(char *) "canVeto", NULL
15472 };
15473
15474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15476 arg2 = PyInt_AsLong(obj1) ? true : false;
15477 if (PyErr_Occurred()) SWIG_fail;
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->SetCanVeto(arg2);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 Py_INCREF(Py_None); resultobj = Py_None;
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15495 bool result;
15496 PyObject * obj0 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 resultobj = PyInt_FromLong((long)result);
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
15520 bool result;
15521 PyObject * obj0 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "self", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCloseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 resultobj = PyInt_FromLong((long)result);
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
15543 PyObject *obj;
15544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15545 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
15546 Py_INCREF(obj);
15547 return Py_BuildValue((char *)"");
15548 }
15549 static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 int arg1 = (int) 0 ;
15552 bool arg2 = (bool) FALSE ;
15553 wxShowEvent *result;
15554 PyObject * obj1 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "winid",(char *) "show", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_ShowEvent",kwnames,&arg1,&obj1)) goto fail;
15560 if (obj1) {
15561 arg2 = PyInt_AsLong(obj1) ? true : false;
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxShowEvent, 1);
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15581 bool arg2 ;
15582 PyObject * obj0 = 0 ;
15583 PyObject * obj1 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self",(char *) "show", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15590 arg2 = PyInt_AsLong(obj1) ? true : false;
15591 if (PyErr_Occurred()) SWIG_fail;
15592 {
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 (arg1)->SetShow(arg2);
15595
15596 wxPyEndAllowThreads(__tstate);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 Py_INCREF(Py_None); resultobj = Py_None;
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj;
15608 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
15609 bool result;
15610 PyObject * obj0 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxShowEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (bool)((wxShowEvent const *)arg1)->GetShow();
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 resultobj = PyInt_FromLong((long)result);
15625 return resultobj;
15626 fail:
15627 return NULL;
15628 }
15629
15630
15631 static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
15632 PyObject *obj;
15633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15634 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
15635 Py_INCREF(obj);
15636 return Py_BuildValue((char *)"");
15637 }
15638 static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15639 PyObject *resultobj;
15640 int arg1 = (int) 0 ;
15641 bool arg2 = (bool) TRUE ;
15642 wxIconizeEvent *result;
15643 PyObject * obj1 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "id",(char *) "iconized", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_IconizeEvent",kwnames,&arg1,&obj1)) goto fail;
15649 if (obj1) {
15650 arg2 = PyInt_AsLong(obj1) ? true : false;
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
15656
15657 wxPyEndAllowThreads(__tstate);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIconizeEvent, 1);
15661 return resultobj;
15662 fail:
15663 return NULL;
15664 }
15665
15666
15667 static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
15668 PyObject *resultobj;
15669 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
15670 bool result;
15671 PyObject * obj0 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIconizeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 result = (bool)(arg1)->Iconized();
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 resultobj = PyInt_FromLong((long)result);
15686 return resultobj;
15687 fail:
15688 return NULL;
15689 }
15690
15691
15692 static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
15693 PyObject *obj;
15694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15695 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
15696 Py_INCREF(obj);
15697 return Py_BuildValue((char *)"");
15698 }
15699 static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 int arg1 = (int) 0 ;
15702 wxMaximizeEvent *result;
15703 char *kwnames[] = {
15704 (char *) "id", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_MaximizeEvent",kwnames,&arg1)) goto fail;
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMaximizeEvent, 1);
15716 return resultobj;
15717 fail:
15718 return NULL;
15719 }
15720
15721
15722 static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
15723 PyObject *obj;
15724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
15726 Py_INCREF(obj);
15727 return Py_BuildValue((char *)"");
15728 }
15729 static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15732 wxPoint result;
15733 PyObject * obj0 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (arg1)->GetPosition();
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 {
15748 wxPoint * resultptr;
15749 resultptr = new wxPoint((wxPoint &) result);
15750 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
15751 }
15752 return resultobj;
15753 fail:
15754 return NULL;
15755 }
15756
15757
15758 static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15761 int result;
15762 PyObject * obj0 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 result = (int)(arg1)->GetNumberOfFiles();
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 resultobj = PyInt_FromLong((long)result);
15777 return resultobj;
15778 fail:
15779 return NULL;
15780 }
15781
15782
15783 static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
15784 PyObject *resultobj;
15785 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
15786 PyObject *result;
15787 PyObject * obj0 = 0 ;
15788 char *kwnames[] = {
15789 (char *) "self", NULL
15790 };
15791
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDropFilesEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15794 {
15795 PyThreadState* __tstate = wxPyBeginAllowThreads();
15796 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
15797
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 resultobj = result;
15802 return resultobj;
15803 fail:
15804 return NULL;
15805 }
15806
15807
15808 static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
15809 PyObject *obj;
15810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15811 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
15812 Py_INCREF(obj);
15813 return Py_BuildValue((char *)"");
15814 }
15815 static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxWindowID arg1 = (wxWindowID) 0 ;
15818 wxUpdateUIEvent *result;
15819 char *kwnames[] = {
15820 (char *) "commandId", NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_UpdateUIEvent",kwnames,&arg1)) goto fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxUpdateUIEvent, 1);
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_UpdateUIEvent_GetChecked(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_GetChecked",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)->GetChecked();
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_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15866 bool result;
15867 PyObject * obj0 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15874 {
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
15877
15878 wxPyEndAllowThreads(__tstate);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 }
15881 resultobj = PyInt_FromLong((long)result);
15882 return resultobj;
15883 fail:
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15891 wxString result;
15892 PyObject * obj0 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 result = ((wxUpdateUIEvent const *)arg1)->GetText();
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 {
15907 #if wxUSE_UNICODE
15908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15909 #else
15910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15911 #endif
15912 }
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15922 bool result;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = PyInt_FromLong((long)result);
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15947 bool result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
15958
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 resultobj = PyInt_FromLong((long)result);
15963 return resultobj;
15964 fail:
15965 return NULL;
15966 }
15967
15968
15969 static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15972 bool result;
15973 PyObject * obj0 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 resultobj = PyInt_FromLong((long)result);
15988 return resultobj;
15989 fail:
15990 return NULL;
15991 }
15992
15993
15994 static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
15995 PyObject *resultobj;
15996 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
15997 bool arg2 ;
15998 PyObject * obj0 = 0 ;
15999 PyObject * obj1 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self",(char *) "check", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16006 arg2 = PyInt_AsLong(obj1) ? true : false;
16007 if (PyErr_Occurred()) SWIG_fail;
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 (arg1)->Check(arg2);
16011
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 Py_INCREF(Py_None); resultobj = Py_None;
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16023 PyObject *resultobj;
16024 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
16025 bool arg2 ;
16026 PyObject * obj0 = 0 ;
16027 PyObject * obj1 = 0 ;
16028 char *kwnames[] = {
16029 (char *) "self",(char *) "enable", NULL
16030 };
16031
16032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
16033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16034 arg2 = PyInt_AsLong(obj1) ? true : false;
16035 if (PyErr_Occurred()) SWIG_fail;
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 (arg1)->Enable(arg2);
16039
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
16043 Py_INCREF(Py_None); resultobj = Py_None;
16044 return resultobj;
16045 fail:
16046 return NULL;
16047 }
16048
16049
16050 static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16051 PyObject *resultobj;
16052 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
16053 wxString *arg2 = 0 ;
16054 bool temp2 = false ;
16055 PyObject * obj0 = 0 ;
16056 PyObject * obj1 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "text", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxUpdateUIEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16063 {
16064 arg2 = wxString_in_helper(obj1);
16065 if (arg2 == NULL) SWIG_fail;
16066 temp2 = true;
16067 }
16068 {
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
16070 (arg1)->SetText((wxString const &)*arg2);
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 Py_INCREF(Py_None); resultobj = Py_None;
16076 {
16077 if (temp2)
16078 delete arg2;
16079 }
16080 return resultobj;
16081 fail:
16082 {
16083 if (temp2)
16084 delete arg2;
16085 }
16086 return NULL;
16087 }
16088
16089
16090 static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 long arg1 ;
16093 char *kwnames[] = {
16094 (char *) "updateInterval", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames,&arg1)) goto fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 wxUpdateUIEvent::SetUpdateInterval(arg1);
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 Py_INCREF(Py_None); resultobj = Py_None;
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 long result;
16115 char *kwnames[] = {
16116 NULL
16117 };
16118
16119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = (long)wxUpdateUIEvent::GetUpdateInterval();
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 resultobj = PyInt_FromLong((long)result);
16128 return resultobj;
16129 fail:
16130 return NULL;
16131 }
16132
16133
16134 static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxWindow *arg1 = (wxWindow *) 0 ;
16137 bool result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "win", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 resultobj = PyInt_FromLong((long)result);
16153 return resultobj;
16154 fail:
16155 return NULL;
16156 }
16157
16158
16159 static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 char *kwnames[] = {
16162 NULL
16163 };
16164
16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 wxUpdateUIEvent::ResetUpdateTime();
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 Py_INCREF(Py_None); resultobj = Py_None;
16174 return resultobj;
16175 fail:
16176 return NULL;
16177 }
16178
16179
16180 static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj;
16182 int arg1 ;
16183 char *kwnames[] = {
16184 (char *) "mode", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:UpdateUIEvent_SetMode",kwnames,&arg1)) goto fail;
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 Py_INCREF(Py_None); resultobj = Py_None;
16196 return resultobj;
16197 fail:
16198 return NULL;
16199 }
16200
16201
16202 static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16203 PyObject *resultobj;
16204 int result;
16205 char *kwnames[] = {
16206 NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (int)wxUpdateUIEvent::GetMode();
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 resultobj = PyInt_FromLong((long)result);
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
16225 PyObject *obj;
16226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16227 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
16228 Py_INCREF(obj);
16229 return Py_BuildValue((char *)"");
16230 }
16231 static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16232 PyObject *resultobj;
16233 wxSysColourChangedEvent *result;
16234 char *kwnames[] = {
16235 NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSysColourChangedEvent, 1);
16247 return resultobj;
16248 fail:
16249 return NULL;
16250 }
16251
16252
16253 static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
16254 PyObject *obj;
16255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16256 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
16257 Py_INCREF(obj);
16258 return Py_BuildValue((char *)"");
16259 }
16260 static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxWindowID arg1 = (wxWindowID) 0 ;
16263 wxWindow *arg2 = (wxWindow *) NULL ;
16264 wxMouseCaptureChangedEvent *result;
16265 PyObject * obj1 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "winid",(char *) "gainedCapture", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames,&arg1,&obj1)) goto fail;
16271 if (obj1) {
16272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16273 }
16274 {
16275 PyThreadState* __tstate = wxPyBeginAllowThreads();
16276 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
16277
16278 wxPyEndAllowThreads(__tstate);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 }
16281 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
16282 return resultobj;
16283 fail:
16284 return NULL;
16285 }
16286
16287
16288 static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16289 PyObject *resultobj;
16290 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
16291 wxWindow *result;
16292 PyObject * obj0 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
16298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 {
16307 resultobj = wxPyMake_wxObject(result);
16308 }
16309 return resultobj;
16310 fail:
16311 return NULL;
16312 }
16313
16314
16315 static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
16316 PyObject *obj;
16317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16318 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
16319 Py_INCREF(obj);
16320 return Py_BuildValue((char *)"");
16321 }
16322 static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj;
16324 wxDisplayChangedEvent *result;
16325 char *kwnames[] = {
16326 NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDisplayChangedEvent, 1);
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
16345 PyObject *obj;
16346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16347 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
16348 Py_INCREF(obj);
16349 return Py_BuildValue((char *)"");
16350 }
16351 static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxWindowID arg1 = (wxWindowID) 0 ;
16354 wxPaletteChangedEvent *result;
16355 char *kwnames[] = {
16356 (char *) "id", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_PaletteChangedEvent",kwnames,&arg1)) goto fail;
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPaletteChangedEvent, 1);
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16377 wxWindow *arg2 = (wxWindow *) 0 ;
16378 PyObject * obj0 = 0 ;
16379 PyObject * obj1 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "win", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 (arg1)->SetChangedWindow(arg2);
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
16394 Py_INCREF(Py_None); resultobj = Py_None;
16395 return resultobj;
16396 fail:
16397 return NULL;
16398 }
16399
16400
16401 static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
16404 wxWindow *result;
16405 PyObject * obj0 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
16411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPaletteChangedEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (wxWindow *)(arg1)->GetChangedWindow();
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 {
16420 resultobj = wxPyMake_wxObject(result);
16421 }
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
16429 PyObject *obj;
16430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16431 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
16432 Py_INCREF(obj);
16433 return Py_BuildValue((char *)"");
16434 }
16435 static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj;
16437 wxWindowID arg1 = (wxWindowID) 0 ;
16438 wxQueryNewPaletteEvent *result;
16439 char *kwnames[] = {
16440 (char *) "winid", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryNewPaletteEvent",kwnames,&arg1)) goto fail;
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
16451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
16452 return resultobj;
16453 fail:
16454 return NULL;
16455 }
16456
16457
16458 static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16459 PyObject *resultobj;
16460 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16461 bool arg2 ;
16462 PyObject * obj0 = 0 ;
16463 PyObject * obj1 = 0 ;
16464 char *kwnames[] = {
16465 (char *) "self",(char *) "realized", NULL
16466 };
16467
16468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
16469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16470 arg2 = PyInt_AsLong(obj1) ? true : false;
16471 if (PyErr_Occurred()) SWIG_fail;
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 (arg1)->SetPaletteRealized(arg2);
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 Py_INCREF(Py_None); resultobj = Py_None;
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
16489 bool result;
16490 PyObject * obj0 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
16496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryNewPaletteEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
16500
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 resultobj = PyInt_FromLong((long)result);
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
16512 PyObject *obj;
16513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16514 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
16515 Py_INCREF(obj);
16516 return Py_BuildValue((char *)"");
16517 }
16518 static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxNavigationKeyEvent *result;
16521 char *kwnames[] = {
16522 NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNavigationKeyEvent, 1);
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16543 bool result;
16544 PyObject * obj0 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "self", NULL
16547 };
16548
16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
16550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 resultobj = PyInt_FromLong((long)result);
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16568 bool arg2 ;
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self",(char *) "bForward", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16577 arg2 = PyInt_AsLong(obj1) ? true : false;
16578 if (PyErr_Occurred()) SWIG_fail;
16579 {
16580 PyThreadState* __tstate = wxPyBeginAllowThreads();
16581 (arg1)->SetDirection(arg2);
16582
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 Py_INCREF(Py_None); resultobj = Py_None;
16587 return resultobj;
16588 fail:
16589 return NULL;
16590 }
16591
16592
16593 static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj;
16595 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16596 bool result;
16597 PyObject * obj0 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
16603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 resultobj = PyInt_FromLong((long)result);
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16621 bool arg2 ;
16622 PyObject * obj0 = 0 ;
16623 PyObject * obj1 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "bIs", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
16629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16630 arg2 = PyInt_AsLong(obj1) ? true : false;
16631 if (PyErr_Occurred()) SWIG_fail;
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 (arg1)->SetWindowChange(arg2);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 Py_INCREF(Py_None); resultobj = Py_None;
16640 return resultobj;
16641 fail:
16642 return NULL;
16643 }
16644
16645
16646 static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16649 wxWindow *result;
16650 PyObject * obj0 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self", NULL
16653 };
16654
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
16656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
16660
16661 wxPyEndAllowThreads(__tstate);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 {
16665 resultobj = wxPyMake_wxObject(result);
16666 }
16667 return resultobj;
16668 fail:
16669 return NULL;
16670 }
16671
16672
16673 static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj;
16675 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
16676 wxWindow *arg2 = (wxWindow *) 0 ;
16677 PyObject * obj0 = 0 ;
16678 PyObject * obj1 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "win", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNavigationKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 (arg1)->SetCurrentFocus(arg2);
16689
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
16693 Py_INCREF(Py_None); resultobj = Py_None;
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
16701 PyObject *obj;
16702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16703 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
16704 Py_INCREF(obj);
16705 return Py_BuildValue((char *)"");
16706 }
16707 static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxWindow *arg1 = (wxWindow *) NULL ;
16710 wxWindowCreateEvent *result;
16711 PyObject * obj0 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "win", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
16717 if (obj0) {
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 }
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowCreateEvent, 1);
16728 return resultobj;
16729 fail:
16730 return NULL;
16731 }
16732
16733
16734 static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
16737 wxWindow *result;
16738 PyObject * obj0 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowCreateEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 {
16753 resultobj = wxPyMake_wxObject(result);
16754 }
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
16762 PyObject *obj;
16763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16764 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
16765 Py_INCREF(obj);
16766 return Py_BuildValue((char *)"");
16767 }
16768 static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxWindow *arg1 = (wxWindow *) NULL ;
16771 wxWindowDestroyEvent *result;
16772 PyObject * obj0 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "win", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
16778 if (obj0) {
16779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16780 }
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDestroyEvent, 1);
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
16798 wxWindow *result;
16799 PyObject * obj0 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
16805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDestroyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 resultobj = wxPyMake_wxObject(result);
16815 }
16816 return resultobj;
16817 fail:
16818 return NULL;
16819 }
16820
16821
16822 static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
16823 PyObject *obj;
16824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16825 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
16826 Py_INCREF(obj);
16827 return Py_BuildValue((char *)"");
16828 }
16829 static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16832 wxWindowID arg2 = (wxWindowID) 0 ;
16833 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16834 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16835 wxContextMenuEvent *result;
16836 wxPoint temp3 ;
16837 PyObject * obj2 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "type",(char *) "winid",(char *) "pt", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_ContextMenuEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
16843 if (obj2) {
16844 {
16845 arg3 = &temp3;
16846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16847 }
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextMenuEvent, 1);
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16866 wxPoint *result;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "self", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
16873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 {
16877 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
16878 result = (wxPoint *) &_result_ref;
16879 }
16880
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
16894 wxPoint *arg2 = 0 ;
16895 wxPoint temp2 ;
16896 PyObject * obj0 = 0 ;
16897 PyObject * obj1 = 0 ;
16898 char *kwnames[] = {
16899 (char *) "self",(char *) "pos", NULL
16900 };
16901
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextMenuEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16904 {
16905 arg2 = &temp2;
16906 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16907 }
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 (arg1)->SetPosition((wxPoint const &)*arg2);
16911
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 Py_INCREF(Py_None); resultobj = Py_None;
16916 return resultobj;
16917 fail:
16918 return NULL;
16919 }
16920
16921
16922 static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
16923 PyObject *obj;
16924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16925 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
16926 Py_INCREF(obj);
16927 return Py_BuildValue((char *)"");
16928 }
16929 static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxIdleEvent *result;
16932 char *kwnames[] = {
16933 NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
16937 {
16938 PyThreadState* __tstate = wxPyBeginAllowThreads();
16939 result = (wxIdleEvent *)new wxIdleEvent();
16940
16941 wxPyEndAllowThreads(__tstate);
16942 if (PyErr_Occurred()) SWIG_fail;
16943 }
16944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIdleEvent, 1);
16945 return resultobj;
16946 fail:
16947 return NULL;
16948 }
16949
16950
16951 static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
16952 PyObject *resultobj;
16953 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16954 bool arg2 = (bool) TRUE ;
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "self",(char *) "needMore", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
16962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16963 if (obj1) {
16964 arg2 = PyInt_AsLong(obj1) ? true : false;
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 {
16968 PyThreadState* __tstate = wxPyBeginAllowThreads();
16969 (arg1)->RequestMore(arg2);
16970
16971 wxPyEndAllowThreads(__tstate);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 }
16974 Py_INCREF(Py_None); resultobj = Py_None;
16975 return resultobj;
16976 fail:
16977 return NULL;
16978 }
16979
16980
16981 static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
16984 bool result;
16985 PyObject * obj0 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
16991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 resultobj = PyInt_FromLong((long)result);
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 int arg1 ;
17009 char *kwnames[] = {
17010 (char *) "mode", NULL
17011 };
17012
17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:IdleEvent_SetMode",kwnames,&arg1)) goto fail;
17014 {
17015 PyThreadState* __tstate = wxPyBeginAllowThreads();
17016 wxIdleEvent::SetMode((wxIdleMode )arg1);
17017
17018 wxPyEndAllowThreads(__tstate);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 Py_INCREF(Py_None); resultobj = Py_None;
17022 return resultobj;
17023 fail:
17024 return NULL;
17025 }
17026
17027
17028 static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 int result;
17031 char *kwnames[] = {
17032 NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (int)wxIdleEvent::GetMode();
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 resultobj = PyInt_FromLong((long)result);
17044 return resultobj;
17045 fail:
17046 return NULL;
17047 }
17048
17049
17050 static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxWindow *arg1 = (wxWindow *) 0 ;
17053 bool result;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "win", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 result = (bool)wxIdleEvent::CanSend(arg1);
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = PyInt_FromLong((long)result);
17069 return resultobj;
17070 fail:
17071 return NULL;
17072 }
17073
17074
17075 static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
17076 PyObject *obj;
17077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17078 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
17079 Py_INCREF(obj);
17080 return Py_BuildValue((char *)"");
17081 }
17082 static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 int arg1 = (int) 0 ;
17085 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
17086 wxPyEvent *result;
17087 char *kwnames[] = {
17088 (char *) "winid",(char *) "commandType", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyEvent",kwnames,&arg1,&arg2)) goto fail;
17092 {
17093 PyThreadState* __tstate = wxPyBeginAllowThreads();
17094 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
17095
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyEvent, 1);
17100 return resultobj;
17101 fail:
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17109 PyObject * obj0 = 0 ;
17110 char *kwnames[] = {
17111 (char *) "self", NULL
17112 };
17113
17114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
17115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 delete arg1;
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 Py_INCREF(Py_None); resultobj = Py_None;
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17133 PyObject *arg2 = (PyObject *) 0 ;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self",(char *) "self", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 arg2 = obj1;
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 (arg1)->SetSelf(arg2);
17146
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 Py_INCREF(Py_None); resultobj = Py_None;
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
17160 PyObject *result;
17161 PyObject * obj0 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
17167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 result = (PyObject *)(arg1)->GetSelf();
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 resultobj = result;
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
17183 PyObject *obj;
17184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17185 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
17186 Py_INCREF(obj);
17187 return Py_BuildValue((char *)"");
17188 }
17189 static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17192 int arg2 = (int) 0 ;
17193 wxPyCommandEvent *result;
17194 char *kwnames[] = {
17195 (char *) "commandType",(char *) "id", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_PyCommandEvent",kwnames,&arg1,&arg2)) goto fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyCommandEvent, 1);
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17216 PyObject * obj0 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
17222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17223 {
17224 PyThreadState* __tstate = wxPyBeginAllowThreads();
17225 delete arg1;
17226
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 Py_INCREF(Py_None); resultobj = Py_None;
17231 return resultobj;
17232 fail:
17233 return NULL;
17234 }
17235
17236
17237 static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj;
17239 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17240 PyObject *arg2 = (PyObject *) 0 ;
17241 PyObject * obj0 = 0 ;
17242 PyObject * obj1 = 0 ;
17243 char *kwnames[] = {
17244 (char *) "self",(char *) "self", NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
17248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17249 arg2 = obj1;
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 (arg1)->SetSelf(arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 Py_INCREF(Py_None); resultobj = Py_None;
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
17267 PyObject *result;
17268 PyObject * obj0 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
17274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 result = (PyObject *)(arg1)->GetSelf();
17278
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 resultobj = result;
17283 return resultobj;
17284 fail:
17285 return NULL;
17286 }
17287
17288
17289 static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
17290 PyObject *obj;
17291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17292 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
17293 Py_INCREF(obj);
17294 return Py_BuildValue((char *)"");
17295 }
17296 static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 wxPyApp *result;
17299 char *kwnames[] = {
17300 NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 result = (wxPyApp *)new_wxPyApp();
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 {
17312 resultobj = wxPyMake_wxObject(result);
17313 }
17314 return resultobj;
17315 fail:
17316 return NULL;
17317 }
17318
17319
17320 static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxPyApp *arg1 = (wxPyApp *) 0 ;
17323 PyObject * obj0 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "self", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
17329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17330 {
17331 PyThreadState* __tstate = wxPyBeginAllowThreads();
17332 delete arg1;
17333
17334 wxPyEndAllowThreads(__tstate);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 Py_INCREF(Py_None); resultobj = Py_None;
17338 return resultobj;
17339 fail:
17340 return NULL;
17341 }
17342
17343
17344 static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17345 PyObject *resultobj;
17346 wxPyApp *arg1 = (wxPyApp *) 0 ;
17347 PyObject *arg2 = (PyObject *) 0 ;
17348 PyObject *arg3 = (PyObject *) 0 ;
17349 PyObject * obj0 = 0 ;
17350 PyObject * obj1 = 0 ;
17351 PyObject * obj2 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "self",(char *) "self",(char *) "_class", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17358 arg2 = obj1;
17359 arg3 = obj2;
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 (arg1)->_setCallbackInfo(arg2,arg3);
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxPyApp *arg1 = (wxPyApp *) 0 ;
17377 wxString result;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = ((wxPyApp const *)arg1)->GetAppName();
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 {
17393 #if wxUSE_UNICODE
17394 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17395 #else
17396 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17397 #endif
17398 }
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxPyApp *arg1 = (wxPyApp *) 0 ;
17408 wxString *arg2 = 0 ;
17409 bool temp2 = false ;
17410 PyObject * obj0 = 0 ;
17411 PyObject * obj1 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "name", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
17417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 {
17419 arg2 = wxString_in_helper(obj1);
17420 if (arg2 == NULL) SWIG_fail;
17421 temp2 = true;
17422 }
17423 {
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 (arg1)->SetAppName((wxString const &)*arg2);
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 Py_INCREF(Py_None); resultobj = Py_None;
17431 {
17432 if (temp2)
17433 delete arg2;
17434 }
17435 return resultobj;
17436 fail:
17437 {
17438 if (temp2)
17439 delete arg2;
17440 }
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxPyApp *arg1 = (wxPyApp *) 0 ;
17448 wxString result;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 result = ((wxPyApp const *)arg1)->GetClassName();
17459
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
17463 {
17464 #if wxUSE_UNICODE
17465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17466 #else
17467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17468 #endif
17469 }
17470 return resultobj;
17471 fail:
17472 return NULL;
17473 }
17474
17475
17476 static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
17477 PyObject *resultobj;
17478 wxPyApp *arg1 = (wxPyApp *) 0 ;
17479 wxString *arg2 = 0 ;
17480 bool temp2 = false ;
17481 PyObject * obj0 = 0 ;
17482 PyObject * obj1 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self",(char *) "name", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17489 {
17490 arg2 = wxString_in_helper(obj1);
17491 if (arg2 == NULL) SWIG_fail;
17492 temp2 = true;
17493 }
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 (arg1)->SetClassName((wxString const &)*arg2);
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 Py_INCREF(Py_None); resultobj = Py_None;
17502 {
17503 if (temp2)
17504 delete arg2;
17505 }
17506 return resultobj;
17507 fail:
17508 {
17509 if (temp2)
17510 delete arg2;
17511 }
17512 return NULL;
17513 }
17514
17515
17516 static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj;
17518 wxPyApp *arg1 = (wxPyApp *) 0 ;
17519 wxString *result;
17520 PyObject * obj0 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 {
17530 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
17531 result = (wxString *) &_result_ref;
17532 }
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17538 return resultobj;
17539 fail:
17540 return NULL;
17541 }
17542
17543
17544 static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
17545 PyObject *resultobj;
17546 wxPyApp *arg1 = (wxPyApp *) 0 ;
17547 wxString *arg2 = 0 ;
17548 bool temp2 = false ;
17549 PyObject * obj0 = 0 ;
17550 PyObject * obj1 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "name", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17557 {
17558 arg2 = wxString_in_helper(obj1);
17559 if (arg2 == NULL) SWIG_fail;
17560 temp2 = true;
17561 }
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 (arg1)->SetVendorName((wxString const &)*arg2);
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 Py_INCREF(Py_None); resultobj = Py_None;
17570 {
17571 if (temp2)
17572 delete arg2;
17573 }
17574 return resultobj;
17575 fail:
17576 {
17577 if (temp2)
17578 delete arg2;
17579 }
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPyApp *arg1 = (wxPyApp *) 0 ;
17587 wxAppTraits *result;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (wxAppTraits *)(arg1)->GetTraits();
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAppTraits, 0);
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxPyApp *arg1 = (wxPyApp *) 0 ;
17612 PyObject * obj0 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 (arg1)->ProcessPendingEvents();
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 Py_INCREF(Py_None); resultobj = Py_None;
17627 return resultobj;
17628 fail:
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxPyApp *arg1 = (wxPyApp *) 0 ;
17636 bool arg2 = (bool) false ;
17637 bool result;
17638 PyObject * obj0 = 0 ;
17639 PyObject * obj1 = 0 ;
17640 char *kwnames[] = {
17641 (char *) "self",(char *) "onlyIfNeeded", NULL
17642 };
17643
17644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
17645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17646 if (obj1) {
17647 arg2 = PyInt_AsLong(obj1) ? true : false;
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 result = (bool)(arg1)->Yield(arg2);
17653
17654 wxPyEndAllowThreads(__tstate);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
17657 resultobj = PyInt_FromLong((long)result);
17658 return resultobj;
17659 fail:
17660 return NULL;
17661 }
17662
17663
17664 static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxPyApp *arg1 = (wxPyApp *) 0 ;
17667 PyObject * obj0 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 (arg1)->WakeUpIdle();
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 Py_INCREF(Py_None); resultobj = Py_None;
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17689 PyObject *resultobj;
17690 wxPyApp *arg1 = (wxPyApp *) 0 ;
17691 int result;
17692 PyObject * obj0 = 0 ;
17693 char *kwnames[] = {
17694 (char *) "self", NULL
17695 };
17696
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
17698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = (int)(arg1)->MainLoop();
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 resultobj = PyInt_FromLong((long)result);
17707 return resultobj;
17708 fail:
17709 return NULL;
17710 }
17711
17712
17713 static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj;
17715 wxPyApp *arg1 = (wxPyApp *) 0 ;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 (arg1)->Exit();
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 Py_INCREF(Py_None); resultobj = Py_None;
17731 return resultobj;
17732 fail:
17733 return NULL;
17734 }
17735
17736
17737 static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj;
17739 wxPyApp *arg1 = (wxPyApp *) 0 ;
17740 PyObject * obj0 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 (arg1)->ExitMainLoop();
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 Py_INCREF(Py_None); resultobj = Py_None;
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxPyApp *arg1 = (wxPyApp *) 0 ;
17764 bool result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (bool)(arg1)->Pending();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 resultobj = PyInt_FromLong((long)result);
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPyApp *arg1 = (wxPyApp *) 0 ;
17789 bool result;
17790 PyObject * obj0 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (bool)(arg1)->Dispatch();
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 resultobj = PyInt_FromLong((long)result);
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17812 PyObject *resultobj;
17813 wxPyApp *arg1 = (wxPyApp *) 0 ;
17814 bool result;
17815 PyObject * obj0 = 0 ;
17816 char *kwnames[] = {
17817 (char *) "self", NULL
17818 };
17819
17820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
17821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17822 {
17823 PyThreadState* __tstate = wxPyBeginAllowThreads();
17824 result = (bool)(arg1)->ProcessIdle();
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 resultobj = PyInt_FromLong((long)result);
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxPyApp *arg1 = (wxPyApp *) 0 ;
17839 wxWindow *arg2 = (wxWindow *) 0 ;
17840 wxIdleEvent *arg3 = 0 ;
17841 bool result;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 PyObject * obj2 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "win",(char *) "event", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17851 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 if (arg3 == NULL) {
17854 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17855 }
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 resultobj = PyInt_FromLong((long)result);
17864 return resultobj;
17865 fail:
17866 return NULL;
17867 }
17868
17869
17870 static PyObject *_wrap_PyApp_OnIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxPyApp *arg1 = (wxPyApp *) 0 ;
17873 wxIdleEvent *arg2 = 0 ;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "event", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_OnIdle",kwnames,&obj0,&obj1)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIdleEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17883 if (arg2 == NULL) {
17884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17885 }
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 (arg1)->OnIdle(*arg2);
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 Py_INCREF(Py_None); resultobj = Py_None;
17894 return resultobj;
17895 fail:
17896 return NULL;
17897 }
17898
17899
17900 static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj;
17902 wxPyApp *arg1 = (wxPyApp *) 0 ;
17903 bool result;
17904 PyObject * obj0 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (bool)((wxPyApp const *)arg1)->IsActive();
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = PyInt_FromLong((long)result);
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPyApp *arg1 = (wxPyApp *) 0 ;
17928 wxWindow *arg2 = (wxWindow *) 0 ;
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self",(char *) "win", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->SetTopWindow(arg2);
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxPyApp *arg1 = (wxPyApp *) 0 ;
17955 wxWindow *result;
17956 PyObject * obj0 = 0 ;
17957 char *kwnames[] = {
17958 (char *) "self", NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
17962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 {
17971 resultobj = wxPyMake_wxObject(result);
17972 }
17973 return resultobj;
17974 fail:
17975 return NULL;
17976 }
17977
17978
17979 static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxPyApp *arg1 = (wxPyApp *) 0 ;
17982 bool arg2 ;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "flag", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17991 arg2 = PyInt_AsLong(obj1) ? true : false;
17992 if (PyErr_Occurred()) SWIG_fail;
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 (arg1)->SetExitOnFrameDelete(arg2);
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 Py_INCREF(Py_None); resultobj = Py_None;
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPyApp *arg1 = (wxPyApp *) 0 ;
18010 bool result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 resultobj = PyInt_FromLong((long)result);
18026 return resultobj;
18027 fail:
18028 return NULL;
18029 }
18030
18031
18032 static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj;
18034 wxPyApp *arg1 = (wxPyApp *) 0 ;
18035 bool arg2 ;
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj1 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self",(char *) "flag", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18044 arg2 = PyInt_AsLong(obj1) ? true : false;
18045 if (PyErr_Occurred()) SWIG_fail;
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 (arg1)->SetUseBestVisual(arg2);
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 Py_INCREF(Py_None); resultobj = Py_None;
18054 return resultobj;
18055 fail:
18056 return NULL;
18057 }
18058
18059
18060 static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj;
18062 wxPyApp *arg1 = (wxPyApp *) 0 ;
18063 bool result;
18064 PyObject * obj0 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = PyInt_FromLong((long)result);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxPyApp *arg1 = (wxPyApp *) 0 ;
18088 int arg2 ;
18089 PyObject * obj0 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self",(char *) "mode", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
18095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 (arg1)->SetPrintMode(arg2);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 Py_INCREF(Py_None); resultobj = Py_None;
18104 return resultobj;
18105 fail:
18106 return NULL;
18107 }
18108
18109
18110 static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18111 PyObject *resultobj;
18112 wxPyApp *arg1 = (wxPyApp *) 0 ;
18113 int result;
18114 PyObject * obj0 = 0 ;
18115 char *kwnames[] = {
18116 (char *) "self", NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
18120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 resultobj = PyInt_FromLong((long)result);
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxPyApp *arg1 = (wxPyApp *) 0 ;
18138 int result;
18139 PyObject * obj0 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = (int)(arg1)->GetAssertMode();
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 resultobj = PyInt_FromLong((long)result);
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj;
18162 wxPyApp *arg1 = (wxPyApp *) 0 ;
18163 int arg2 ;
18164 PyObject * obj0 = 0 ;
18165 char *kwnames[] = {
18166 (char *) "self",(char *) "mode", NULL
18167 };
18168
18169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyApp_SetAssertMode",kwnames,&obj0,&arg2)) goto fail;
18170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 (arg1)->SetAssertMode(arg2);
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 Py_INCREF(Py_None); resultobj = Py_None;
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 bool result;
18188 char *kwnames[] = {
18189 NULL
18190 };
18191
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 resultobj = PyInt_FromLong((long)result);
18201 return resultobj;
18202 fail:
18203 return NULL;
18204 }
18205
18206
18207 static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj;
18209 long result;
18210 char *kwnames[] = {
18211 NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 result = (long)wxPyApp::GetMacAboutMenuItemId();
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 resultobj = PyInt_FromLong((long)result);
18223 return resultobj;
18224 fail:
18225 return NULL;
18226 }
18227
18228
18229 static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18230 PyObject *resultobj;
18231 long result;
18232 char *kwnames[] = {
18233 NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 resultobj = PyInt_FromLong((long)result);
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 long result;
18254 char *kwnames[] = {
18255 NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (long)wxPyApp::GetMacExitMenuItemId();
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = PyInt_FromLong((long)result);
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxString result;
18276 char *kwnames[] = {
18277 NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 result = wxPyApp::GetMacHelpMenuTitleName();
18284
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 {
18289 #if wxUSE_UNICODE
18290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18291 #else
18292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18293 #endif
18294 }
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 bool arg1 ;
18304 PyObject * obj0 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "val", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
18310 arg1 = PyInt_AsLong(obj0) ? true : false;
18311 if (PyErr_Occurred()) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 Py_INCREF(Py_None); resultobj = Py_None;
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 long arg1 ;
18329 char *kwnames[] = {
18330 (char *) "val", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames,&arg1)) goto fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 wxPyApp::SetMacAboutMenuItemId(arg1);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 long arg1 ;
18351 char *kwnames[] = {
18352 (char *) "val", NULL
18353 };
18354
18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames,&arg1)) goto fail;
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 wxPyApp::SetMacPreferencesMenuItemId(arg1);
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 Py_INCREF(Py_None); resultobj = Py_None;
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 long arg1 ;
18373 char *kwnames[] = {
18374 (char *) "val", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames,&arg1)) goto fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 wxPyApp::SetMacExitMenuItemId(arg1);
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 Py_INCREF(Py_None); resultobj = Py_None;
18386 return resultobj;
18387 fail:
18388 return NULL;
18389 }
18390
18391
18392 static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxString *arg1 = 0 ;
18395 bool temp1 = false ;
18396 PyObject * obj0 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "val", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
18402 {
18403 arg1 = wxString_in_helper(obj0);
18404 if (arg1 == NULL) SWIG_fail;
18405 temp1 = true;
18406 }
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 {
18416 if (temp1)
18417 delete arg1;
18418 }
18419 return resultobj;
18420 fail:
18421 {
18422 if (temp1)
18423 delete arg1;
18424 }
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPyApp *arg1 = (wxPyApp *) 0 ;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyApp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->_BootstrapApp();
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 int result;
18456 char *kwnames[] = {
18457 NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = (int)PyApp_GetComCtl32Version();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = PyInt_FromLong((long)result);
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
18476 PyObject *obj;
18477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18478 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
18479 Py_INCREF(obj);
18480 return Py_BuildValue((char *)"");
18481 }
18482 static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 char *kwnames[] = {
18485 NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 wxExit();
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 Py_INCREF(Py_None); resultobj = Py_None;
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 bool result;
18506 char *kwnames[] = {
18507 NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (bool)wxYield();
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 resultobj = PyInt_FromLong((long)result);
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 bool result;
18528 char *kwnames[] = {
18529 NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (bool)wxYieldIfNeeded();
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = PyInt_FromLong((long)result);
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxWindow *arg1 = (wxWindow *) NULL ;
18550 bool arg2 = (bool) FALSE ;
18551 bool result;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "win",(char *) "onlyIfNeeded", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
18559 if (obj0) {
18560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18561 }
18562 if (obj1) {
18563 arg2 = PyInt_AsLong(obj1) ? true : false;
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (bool)wxSafeYield(arg1,arg2);
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 resultobj = PyInt_FromLong((long)result);
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 char *kwnames[] = {
18583 NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 wxWakeUpIdle();
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_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
18604 wxEvent *arg2 = 0 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "dest",(char *) "event", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
18612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 if (arg2 == NULL) {
18615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18616 }
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 wxPostEvent(arg1,*arg2);
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 Py_INCREF(Py_None); resultobj = Py_None;
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 char *kwnames[] = {
18634 NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 wxApp_CleanUp();
18641
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 Py_INCREF(Py_None); resultobj = Py_None;
18646 return resultobj;
18647 fail:
18648 return NULL;
18649 }
18650
18651
18652 static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
18653 PyObject *resultobj;
18654 wxPyApp *result;
18655 char *kwnames[] = {
18656 NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 result = (wxPyApp *)wxGetApp();
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 {
18668 resultobj = wxPyMake_wxObject(result);
18669 }
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
18677 PyObject *resultobj;
18678 wxWindow *arg1 = (wxWindow *) 0 ;
18679 wxWindowID arg2 ;
18680 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18681 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18682 wxSize const &arg4_defvalue = wxDefaultSize ;
18683 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18684 long arg5 = (long) 0 ;
18685 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18686 wxString *arg6 = (wxString *) &arg6_defvalue ;
18687 wxWindow *result;
18688 wxPoint temp3 ;
18689 wxSize temp4 ;
18690 bool temp6 = false ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj2 = 0 ;
18693 PyObject * obj3 = 0 ;
18694 PyObject * obj5 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Window",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18701 if (obj2) {
18702 {
18703 arg3 = &temp3;
18704 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18705 }
18706 }
18707 if (obj3) {
18708 {
18709 arg4 = &temp4;
18710 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18711 }
18712 }
18713 if (obj5) {
18714 {
18715 arg6 = wxString_in_helper(obj5);
18716 if (arg6 == NULL) SWIG_fail;
18717 temp6 = true;
18718 }
18719 }
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 {
18728 resultobj = wxPyMake_wxObject(result);
18729 }
18730 {
18731 if (temp6)
18732 delete arg6;
18733 }
18734 return resultobj;
18735 fail:
18736 {
18737 if (temp6)
18738 delete arg6;
18739 }
18740 return NULL;
18741 }
18742
18743
18744 static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxWindow *result;
18747 char *kwnames[] = {
18748 NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 result = (wxWindow *)new wxWindow();
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 {
18760 resultobj = wxPyMake_wxObject(result);
18761 }
18762 return resultobj;
18763 fail:
18764 return NULL;
18765 }
18766
18767
18768 static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj;
18770 wxWindow *arg1 = (wxWindow *) 0 ;
18771 wxWindow *arg2 = (wxWindow *) 0 ;
18772 wxWindowID arg3 ;
18773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18775 wxSize const &arg5_defvalue = wxDefaultSize ;
18776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18777 long arg6 = (long) 0 ;
18778 wxString const &arg7_defvalue = wxPyPanelNameStr ;
18779 wxString *arg7 = (wxString *) &arg7_defvalue ;
18780 bool result;
18781 wxPoint temp4 ;
18782 wxSize temp5 ;
18783 bool temp7 = false ;
18784 PyObject * obj0 = 0 ;
18785 PyObject * obj1 = 0 ;
18786 PyObject * obj3 = 0 ;
18787 PyObject * obj4 = 0 ;
18788 PyObject * obj6 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Window_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18796 if (obj3) {
18797 {
18798 arg4 = &temp4;
18799 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18800 }
18801 }
18802 if (obj4) {
18803 {
18804 arg5 = &temp5;
18805 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18806 }
18807 }
18808 if (obj6) {
18809 {
18810 arg7 = wxString_in_helper(obj6);
18811 if (arg7 == NULL) SWIG_fail;
18812 temp7 = true;
18813 }
18814 }
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 resultobj = PyInt_FromLong((long)result);
18823 {
18824 if (temp7)
18825 delete arg7;
18826 }
18827 return resultobj;
18828 fail:
18829 {
18830 if (temp7)
18831 delete arg7;
18832 }
18833 return NULL;
18834 }
18835
18836
18837 static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
18838 PyObject *resultobj;
18839 wxWindow *arg1 = (wxWindow *) 0 ;
18840 bool arg2 = (bool) FALSE ;
18841 bool result;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self",(char *) "force", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
18849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18850 if (obj1) {
18851 arg2 = PyInt_AsLong(obj1) ? true : false;
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (bool)(arg1)->Close(arg2);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 resultobj = PyInt_FromLong((long)result);
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxWindow *arg1 = (wxWindow *) 0 ;
18871 bool result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (bool)(arg1)->Destroy();
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 resultobj = PyInt_FromLong((long)result);
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxWindow *arg1 = (wxWindow *) 0 ;
18896 bool result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 result = (bool)(arg1)->DestroyChildren();
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 resultobj = PyInt_FromLong((long)result);
18912 return resultobj;
18913 fail:
18914 return NULL;
18915 }
18916
18917
18918 static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxWindow *arg1 = (wxWindow *) 0 ;
18921 bool result;
18922 PyObject * obj0 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 resultobj = PyInt_FromLong((long)result);
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxWindow *arg1 = (wxWindow *) 0 ;
18946 wxString *arg2 = 0 ;
18947 bool temp2 = false ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj1 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self",(char *) "title", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18956 {
18957 arg2 = wxString_in_helper(obj1);
18958 if (arg2 == NULL) SWIG_fail;
18959 temp2 = true;
18960 }
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 (arg1)->SetTitle((wxString const &)*arg2);
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 Py_INCREF(Py_None); resultobj = Py_None;
18969 {
18970 if (temp2)
18971 delete arg2;
18972 }
18973 return resultobj;
18974 fail:
18975 {
18976 if (temp2)
18977 delete arg2;
18978 }
18979 return NULL;
18980 }
18981
18982
18983 static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxWindow *arg1 = (wxWindow *) 0 ;
18986 wxString result;
18987 PyObject * obj0 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
18993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 result = ((wxWindow const *)arg1)->GetTitle();
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 {
19002 #if wxUSE_UNICODE
19003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19004 #else
19005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19006 #endif
19007 }
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxWindow *arg1 = (wxWindow *) 0 ;
19017 wxString *arg2 = 0 ;
19018 bool temp2 = false ;
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "label", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19027 {
19028 arg2 = wxString_in_helper(obj1);
19029 if (arg2 == NULL) SWIG_fail;
19030 temp2 = true;
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->SetLabel((wxString const &)*arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 {
19041 if (temp2)
19042 delete arg2;
19043 }
19044 return resultobj;
19045 fail:
19046 {
19047 if (temp2)
19048 delete arg2;
19049 }
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxWindow *arg1 = (wxWindow *) 0 ;
19057 wxString result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
19064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = ((wxWindow const *)arg1)->GetLabel();
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 #if wxUSE_UNICODE
19074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19075 #else
19076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19077 #endif
19078 }
19079 return resultobj;
19080 fail:
19081 return NULL;
19082 }
19083
19084
19085 static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxWindow *arg1 = (wxWindow *) 0 ;
19088 wxString *arg2 = 0 ;
19089 bool temp2 = false ;
19090 PyObject * obj0 = 0 ;
19091 PyObject * obj1 = 0 ;
19092 char *kwnames[] = {
19093 (char *) "self",(char *) "name", NULL
19094 };
19095
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
19097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19098 {
19099 arg2 = wxString_in_helper(obj1);
19100 if (arg2 == NULL) SWIG_fail;
19101 temp2 = true;
19102 }
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 (arg1)->SetName((wxString const &)*arg2);
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 Py_INCREF(Py_None); resultobj = Py_None;
19111 {
19112 if (temp2)
19113 delete arg2;
19114 }
19115 return resultobj;
19116 fail:
19117 {
19118 if (temp2)
19119 delete arg2;
19120 }
19121 return NULL;
19122 }
19123
19124
19125 static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
19126 PyObject *resultobj;
19127 wxWindow *arg1 = (wxWindow *) 0 ;
19128 wxString result;
19129 PyObject * obj0 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
19135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = ((wxWindow const *)arg1)->GetName();
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 {
19144 #if wxUSE_UNICODE
19145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19146 #else
19147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19148 #endif
19149 }
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxWindow *arg1 = (wxWindow *) 0 ;
19159 wxWindowID arg2 ;
19160 PyObject * obj0 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self",(char *) "winid", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_SetId",kwnames,&obj0,&arg2)) goto fail;
19166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 (arg1)->SetId(arg2);
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 Py_INCREF(Py_None); resultobj = Py_None;
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxWindow *arg1 = (wxWindow *) 0 ;
19184 wxWindowID result;
19185 PyObject * obj0 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
19191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 result = (wxWindowID)((wxWindow const *)arg1)->GetId();
19195
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 resultobj = PyInt_FromLong((long)result);
19200 return resultobj;
19201 fail:
19202 return NULL;
19203 }
19204
19205
19206 static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj;
19208 int result;
19209 char *kwnames[] = {
19210 NULL
19211 };
19212
19213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 result = (int)wxWindow::NewControlId();
19217
19218 wxPyEndAllowThreads(__tstate);
19219 if (PyErr_Occurred()) SWIG_fail;
19220 }
19221 resultobj = PyInt_FromLong((long)result);
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 int arg1 ;
19231 int result;
19232 char *kwnames[] = {
19233 (char *) "winid", NULL
19234 };
19235
19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_NextControlId",kwnames,&arg1)) goto fail;
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 result = (int)wxWindow::NextControlId(arg1);
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 resultobj = PyInt_FromLong((long)result);
19245 return resultobj;
19246 fail:
19247 return NULL;
19248 }
19249
19250
19251 static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
19252 PyObject *resultobj;
19253 int arg1 ;
19254 int result;
19255 char *kwnames[] = {
19256 (char *) "winid", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"i:Window_PrevControlId",kwnames,&arg1)) goto fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (int)wxWindow::PrevControlId(arg1);
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 resultobj = PyInt_FromLong((long)result);
19268 return resultobj;
19269 fail:
19270 return NULL;
19271 }
19272
19273
19274 static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxWindow *arg1 = (wxWindow *) 0 ;
19277 wxSize *arg2 = 0 ;
19278 wxSize temp2 ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "size", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19287 {
19288 arg2 = &temp2;
19289 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19290 }
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 (arg1)->SetSize((wxSize const &)*arg2);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxWindow *arg1 = (wxWindow *) 0 ;
19308 int arg2 ;
19309 int arg3 ;
19310 int arg4 ;
19311 int arg5 ;
19312 int arg6 = (int) wxSIZE_AUTO ;
19313 PyObject * obj0 = 0 ;
19314 char *kwnames[] = {
19315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19316 };
19317
19318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:Window_SetDimensions",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
19319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
19323
19324 wxPyEndAllowThreads(__tstate);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 }
19327 Py_INCREF(Py_None); resultobj = Py_None;
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxWindow *arg1 = (wxWindow *) 0 ;
19337 wxRect *arg2 = 0 ;
19338 int arg3 = (int) wxSIZE_AUTO ;
19339 wxRect temp2 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_SetRect",kwnames,&obj0,&obj1,&arg3)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 {
19349 arg2 = &temp2;
19350 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19351 }
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 (arg1)->SetSize((wxRect const &)*arg2,arg3);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 Py_INCREF(Py_None); resultobj = Py_None;
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxWindow *arg1 = (wxWindow *) 0 ;
19369 int arg2 ;
19370 int arg3 ;
19371 PyObject * obj0 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "width",(char *) "height", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 (arg1)->SetSize(arg2,arg3);
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 Py_INCREF(Py_None); resultobj = Py_None;
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxWindow *arg1 = (wxWindow *) 0 ;
19395 wxPoint *arg2 = 0 ;
19396 int arg3 = (int) wxSIZE_USE_EXISTING ;
19397 wxPoint temp2 ;
19398 PyObject * obj0 = 0 ;
19399 PyObject * obj1 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "pt",(char *) "flags", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Window_Move",kwnames,&obj0,&obj1,&arg3)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 {
19407 arg2 = &temp2;
19408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 (arg1)->Move((wxPoint const &)*arg2,arg3);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 Py_INCREF(Py_None); resultobj = Py_None;
19418 return resultobj;
19419 fail:
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxWindow *arg1 = (wxWindow *) 0 ;
19427 int arg2 ;
19428 int arg3 ;
19429 int arg4 = (int) wxSIZE_USE_EXISTING ;
19430 PyObject * obj0 = 0 ;
19431 char *kwnames[] = {
19432 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19433 };
19434
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:Window_MoveXY",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 (arg1)->Move(arg2,arg3,arg4);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 Py_INCREF(Py_None); resultobj = Py_None;
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj;
19453 wxWindow *arg1 = (wxWindow *) 0 ;
19454 PyObject * obj0 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 (arg1)->Raise();
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
19468 Py_INCREF(Py_None); resultobj = Py_None;
19469 return resultobj;
19470 fail:
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxWindow *arg1 = (wxWindow *) 0 ;
19478 PyObject * obj0 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 (arg1)->Lower();
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 Py_INCREF(Py_None); resultobj = Py_None;
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 static PyObject *_wrap_Window_SetClientSize(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_SetClientSize",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)->SetClientSize((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_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxWindow *arg1 = (wxWindow *) 0 ;
19533 int arg2 ;
19534 int arg3 ;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self",(char *) "width",(char *) "height", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetClientSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 (arg1)->SetClientSize(arg2,arg3);
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 Py_INCREF(Py_None); resultobj = Py_None;
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxWindow *arg1 = (wxWindow *) 0 ;
19559 wxRect *arg2 = 0 ;
19560 wxRect temp2 ;
19561 PyObject * obj0 = 0 ;
19562 PyObject * obj1 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self",(char *) "rect", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19569 {
19570 arg2 = &temp2;
19571 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
19572 }
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 (arg1)->SetClientSize((wxRect const &)*arg2);
19576
19577 wxPyEndAllowThreads(__tstate);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 Py_INCREF(Py_None); resultobj = Py_None;
19581 return resultobj;
19582 fail:
19583 return NULL;
19584 }
19585
19586
19587 static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19588 PyObject *resultobj;
19589 wxWindow *arg1 = (wxWindow *) 0 ;
19590 wxPoint result;
19591 PyObject * obj0 = 0 ;
19592 char *kwnames[] = {
19593 (char *) "self", NULL
19594 };
19595
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = ((wxWindow const *)arg1)->GetPosition();
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 {
19606 wxPoint * resultptr;
19607 resultptr = new wxPoint((wxPoint &) result);
19608 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19609 }
19610 return resultobj;
19611 fail:
19612 return NULL;
19613 }
19614
19615
19616 static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxWindow *arg1 = (wxWindow *) 0 ;
19619 int *arg2 = (int *) 0 ;
19620 int *arg3 = (int *) 0 ;
19621 int temp2 ;
19622 int temp3 ;
19623 PyObject * obj0 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self", NULL
19626 };
19627
19628 arg2 = &temp2;
19629 arg3 = &temp3;
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 ((wxWindow const *)arg1)->GetPosition(arg2,arg3);
19635
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
19639 Py_INCREF(Py_None); resultobj = Py_None;
19640 {
19641 PyObject *o = PyInt_FromLong((long) (*arg2));
19642 resultobj = t_output_helper(resultobj,o);
19643 }
19644 {
19645 PyObject *o = PyInt_FromLong((long) (*arg3));
19646 resultobj = t_output_helper(resultobj,o);
19647 }
19648 return resultobj;
19649 fail:
19650 return NULL;
19651 }
19652
19653
19654 static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj;
19656 wxWindow *arg1 = (wxWindow *) 0 ;
19657 wxSize result;
19658 PyObject * obj0 = 0 ;
19659 char *kwnames[] = {
19660 (char *) "self", NULL
19661 };
19662
19663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
19664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 result = ((wxWindow const *)arg1)->GetSize();
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 {
19673 wxSize * resultptr;
19674 resultptr = new wxSize((wxSize &) result);
19675 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19676 }
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxWindow *arg1 = (wxWindow *) 0 ;
19686 int *arg2 = (int *) 0 ;
19687 int *arg3 = (int *) 0 ;
19688 int temp2 ;
19689 int temp3 ;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
19695 arg2 = &temp2;
19696 arg3 = &temp3;
19697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
19698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 Py_INCREF(Py_None); resultobj = Py_None;
19707 {
19708 PyObject *o = PyInt_FromLong((long) (*arg2));
19709 resultobj = t_output_helper(resultobj,o);
19710 }
19711 {
19712 PyObject *o = PyInt_FromLong((long) (*arg3));
19713 resultobj = t_output_helper(resultobj,o);
19714 }
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxWindow *arg1 = (wxWindow *) 0 ;
19724 wxRect result;
19725 PyObject * obj0 = 0 ;
19726 char *kwnames[] = {
19727 (char *) "self", NULL
19728 };
19729
19730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
19731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 result = ((wxWindow const *)arg1)->GetRect();
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 {
19740 wxRect * resultptr;
19741 resultptr = new wxRect((wxRect &) result);
19742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19743 }
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxWindow *arg1 = (wxWindow *) 0 ;
19753 wxSize result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 result = ((wxWindow const *)arg1)->GetClientSize();
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 {
19769 wxSize * resultptr;
19770 resultptr = new wxSize((wxSize &) result);
19771 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19772 }
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxWindow *arg1 = (wxWindow *) 0 ;
19782 int *arg2 = (int *) 0 ;
19783 int *arg3 = (int *) 0 ;
19784 int temp2 ;
19785 int temp3 ;
19786 PyObject * obj0 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self", NULL
19789 };
19790
19791 arg2 = &temp2;
19792 arg3 = &temp3;
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
19798
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 Py_INCREF(Py_None); resultobj = Py_None;
19803 {
19804 PyObject *o = PyInt_FromLong((long) (*arg2));
19805 resultobj = t_output_helper(resultobj,o);
19806 }
19807 {
19808 PyObject *o = PyInt_FromLong((long) (*arg3));
19809 resultobj = t_output_helper(resultobj,o);
19810 }
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxWindow *arg1 = (wxWindow *) 0 ;
19820 wxPoint result;
19821 PyObject * obj0 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 {
19836 wxPoint * resultptr;
19837 resultptr = new wxPoint((wxPoint &) result);
19838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19839 }
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxWindow *arg1 = (wxWindow *) 0 ;
19849 wxRect result;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",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 result = ((wxWindow const *)arg1)->GetClientRect();
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 {
19865 wxRect * resultptr;
19866 resultptr = new wxRect((wxRect &) result);
19867 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19868 }
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxWindow *arg1 = (wxWindow *) 0 ;
19878 wxSize result;
19879 PyObject * obj0 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
19885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = ((wxWindow const *)arg1)->GetBestSize();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 {
19894 wxSize * resultptr;
19895 resultptr = new wxSize((wxSize &) result);
19896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19897 }
19898 return resultobj;
19899 fail:
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxWindow *arg1 = (wxWindow *) 0 ;
19907 int *arg2 = (int *) 0 ;
19908 int *arg3 = (int *) 0 ;
19909 int temp2 ;
19910 int temp3 ;
19911 PyObject * obj0 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self", NULL
19914 };
19915
19916 arg2 = &temp2;
19917 arg3 = &temp3;
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
19919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 Py_INCREF(Py_None); resultobj = Py_None;
19928 {
19929 PyObject *o = PyInt_FromLong((long) (*arg2));
19930 resultobj = t_output_helper(resultobj,o);
19931 }
19932 {
19933 PyObject *o = PyInt_FromLong((long) (*arg3));
19934 resultobj = t_output_helper(resultobj,o);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxWindow *arg1 = (wxWindow *) 0 ;
19945 wxSize result;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
19952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
19956
19957 wxPyEndAllowThreads(__tstate);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 }
19960 {
19961 wxSize * resultptr;
19962 resultptr = new wxSize((wxSize &) result);
19963 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19964 }
19965 return resultobj;
19966 fail:
19967 return NULL;
19968 }
19969
19970
19971 static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
19972 PyObject *resultobj;
19973 wxWindow *arg1 = (wxWindow *) 0 ;
19974 int arg2 = (int) wxBOTH ;
19975 PyObject * obj0 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self",(char *) "direction", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_Center",kwnames,&obj0,&arg2)) goto fail;
19981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 (arg1)->Center(arg2);
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 Py_INCREF(Py_None); resultobj = Py_None;
19990 return resultobj;
19991 fail:
19992 return NULL;
19993 }
19994
19995
19996 static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 wxWindow *arg1 = (wxWindow *) 0 ;
19999 int arg2 = (int) wxBOTH ;
20000 PyObject * obj0 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "dir", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnScreen",kwnames,&obj0,&arg2)) goto fail;
20006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 (arg1)->CenterOnScreen(arg2);
20010
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 Py_INCREF(Py_None); resultobj = Py_None;
20015 return resultobj;
20016 fail:
20017 return NULL;
20018 }
20019
20020
20021 static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxWindow *arg1 = (wxWindow *) 0 ;
20024 int arg2 = (int) wxBOTH ;
20025 PyObject * obj0 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "dir", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Window_CenterOnParent",kwnames,&obj0,&arg2)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 (arg1)->CenterOnParent(arg2);
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 Py_INCREF(Py_None); resultobj = Py_None;
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxWindow *arg1 = (wxWindow *) 0 ;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 (arg1)->Fit();
20059
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 Py_INCREF(Py_None); resultobj = Py_None;
20064 return resultobj;
20065 fail:
20066 return NULL;
20067 }
20068
20069
20070 static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj;
20072 wxWindow *arg1 = (wxWindow *) 0 ;
20073 PyObject * obj0 = 0 ;
20074 char *kwnames[] = {
20075 (char *) "self", NULL
20076 };
20077
20078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
20079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 (arg1)->FitInside();
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 Py_INCREF(Py_None); resultobj = Py_None;
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxWindow *arg1 = (wxWindow *) 0 ;
20097 int arg2 ;
20098 int arg3 ;
20099 int arg4 = (int) -1 ;
20100 int arg5 = (int) -1 ;
20101 int arg6 = (int) -1 ;
20102 int arg7 = (int) -1 ;
20103 PyObject * obj0 = 0 ;
20104 char *kwnames[] = {
20105 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20106 };
20107
20108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|iiii:Window_SetSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7)) goto fail;
20109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
20117 Py_INCREF(Py_None); resultobj = Py_None;
20118 return resultobj;
20119 fail:
20120 return NULL;
20121 }
20122
20123
20124 static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
20125 PyObject *resultobj;
20126 wxWindow *arg1 = (wxWindow *) 0 ;
20127 int arg2 ;
20128 int arg3 ;
20129 int arg4 = (int) -1 ;
20130 int arg5 = (int) -1 ;
20131 PyObject * obj0 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
20145 Py_INCREF(Py_None); resultobj = Py_None;
20146 return resultobj;
20147 fail:
20148 return NULL;
20149 }
20150
20151
20152 static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj;
20154 wxWindow *arg1 = (wxWindow *) 0 ;
20155 int result;
20156 PyObject * obj0 = 0 ;
20157 char *kwnames[] = {
20158 (char *) "self", NULL
20159 };
20160
20161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
20162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = (int)((wxWindow const *)arg1)->GetMinWidth();
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 resultobj = PyInt_FromLong((long)result);
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxWindow *arg1 = (wxWindow *) 0 ;
20180 int result;
20181 PyObject * obj0 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (int)((wxWindow const *)arg1)->GetMinHeight();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 resultobj = PyInt_FromLong((long)result);
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj;
20204 wxWindow *arg1 = (wxWindow *) 0 ;
20205 int result;
20206 PyObject * obj0 = 0 ;
20207 char *kwnames[] = {
20208 (char *) "self", NULL
20209 };
20210
20211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
20212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 resultobj = PyInt_FromLong((long)result);
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj;
20229 wxWindow *arg1 = (wxWindow *) 0 ;
20230 int result;
20231 PyObject * obj0 = 0 ;
20232 char *kwnames[] = {
20233 (char *) "self", NULL
20234 };
20235
20236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
20237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 resultobj = PyInt_FromLong((long)result);
20246 return resultobj;
20247 fail:
20248 return NULL;
20249 }
20250
20251
20252 static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxWindow *arg1 = (wxWindow *) 0 ;
20255 wxSize result;
20256 PyObject * obj0 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "self", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
20262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20263 {
20264 PyThreadState* __tstate = wxPyBeginAllowThreads();
20265 result = ((wxWindow const *)arg1)->GetMaxSize();
20266
20267 wxPyEndAllowThreads(__tstate);
20268 if (PyErr_Occurred()) SWIG_fail;
20269 }
20270 {
20271 wxSize * resultptr;
20272 resultptr = new wxSize((wxSize &) result);
20273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20274 }
20275 return resultobj;
20276 fail:
20277 return NULL;
20278 }
20279
20280
20281 static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj;
20283 wxWindow *arg1 = (wxWindow *) 0 ;
20284 wxSize *arg2 = 0 ;
20285 wxSize temp2 ;
20286 PyObject * obj0 = 0 ;
20287 PyObject * obj1 = 0 ;
20288 char *kwnames[] = {
20289 (char *) "self",(char *) "size", NULL
20290 };
20291
20292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
20293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20294 {
20295 arg2 = &temp2;
20296 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20297 }
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 (arg1)->SetVirtualSize((wxSize const &)*arg2);
20301
20302 wxPyEndAllowThreads(__tstate);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 }
20305 Py_INCREF(Py_None); resultobj = Py_None;
20306 return resultobj;
20307 fail:
20308 return NULL;
20309 }
20310
20311
20312 static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
20313 PyObject *resultobj;
20314 wxWindow *arg1 = (wxWindow *) 0 ;
20315 int arg2 ;
20316 int arg3 ;
20317 PyObject * obj0 = 0 ;
20318 char *kwnames[] = {
20319 (char *) "self",(char *) "w",(char *) "h", NULL
20320 };
20321
20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_SetVirtualSizeWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
20323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 (arg1)->SetVirtualSize(arg2,arg3);
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 Py_INCREF(Py_None); resultobj = Py_None;
20332 return resultobj;
20333 fail:
20334 return NULL;
20335 }
20336
20337
20338 static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj;
20340 wxWindow *arg1 = (wxWindow *) 0 ;
20341 wxSize result;
20342 PyObject * obj0 = 0 ;
20343 char *kwnames[] = {
20344 (char *) "self", NULL
20345 };
20346
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
20348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 result = ((wxWindow const *)arg1)->GetVirtualSize();
20352
20353 wxPyEndAllowThreads(__tstate);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 }
20356 {
20357 wxSize * resultptr;
20358 resultptr = new wxSize((wxSize &) result);
20359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20360 }
20361 return resultobj;
20362 fail:
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxWindow *arg1 = (wxWindow *) 0 ;
20370 int *arg2 = (int *) 0 ;
20371 int *arg3 = (int *) 0 ;
20372 int temp2 ;
20373 int temp3 ;
20374 PyObject * obj0 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self", NULL
20377 };
20378
20379 arg2 = &temp2;
20380 arg3 = &temp3;
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 Py_INCREF(Py_None); resultobj = Py_None;
20391 {
20392 PyObject *o = PyInt_FromLong((long) (*arg2));
20393 resultobj = t_output_helper(resultobj,o);
20394 }
20395 {
20396 PyObject *o = PyInt_FromLong((long) (*arg3));
20397 resultobj = t_output_helper(resultobj,o);
20398 }
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxWindow *arg1 = (wxWindow *) 0 ;
20408 wxSize result;
20409 PyObject * obj0 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
20415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 {
20424 wxSize * resultptr;
20425 resultptr = new wxSize((wxSize &) result);
20426 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20427 }
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj;
20436 wxWindow *arg1 = (wxWindow *) 0 ;
20437 bool arg2 = (bool) TRUE ;
20438 bool result;
20439 PyObject * obj0 = 0 ;
20440 PyObject * obj1 = 0 ;
20441 char *kwnames[] = {
20442 (char *) "self",(char *) "show", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
20446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20447 if (obj1) {
20448 arg2 = PyInt_AsLong(obj1) ? true : false;
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (bool)(arg1)->Show(arg2);
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 resultobj = PyInt_FromLong((long)result);
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxWindow *arg1 = (wxWindow *) 0 ;
20468 bool result;
20469 PyObject * obj0 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 result = (bool)(arg1)->Hide();
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 resultobj = PyInt_FromLong((long)result);
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxWindow *arg1 = (wxWindow *) 0 ;
20493 bool arg2 = (bool) TRUE ;
20494 bool result;
20495 PyObject * obj0 = 0 ;
20496 PyObject * obj1 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self",(char *) "enable", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20503 if (obj1) {
20504 arg2 = PyInt_AsLong(obj1) ? true : false;
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (bool)(arg1)->Enable(arg2);
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 resultobj = PyInt_FromLong((long)result);
20515 return resultobj;
20516 fail:
20517 return NULL;
20518 }
20519
20520
20521 static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxWindow *arg1 = (wxWindow *) 0 ;
20524 bool result;
20525 PyObject * obj0 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (bool)(arg1)->Disable();
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 resultobj = PyInt_FromLong((long)result);
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxWindow *arg1 = (wxWindow *) 0 ;
20549 bool result;
20550 PyObject * obj0 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (bool)((wxWindow const *)arg1)->IsShown();
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = PyInt_FromLong((long)result);
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxWindow *arg1 = (wxWindow *) 0 ;
20574 bool result;
20575 PyObject * obj0 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
20581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = (bool)((wxWindow const *)arg1)->IsEnabled();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 resultobj = PyInt_FromLong((long)result);
20590 return resultobj;
20591 fail:
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxWindow *arg1 = (wxWindow *) 0 ;
20599 long arg2 ;
20600 PyObject * obj0 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "style", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 (arg1)->SetWindowStyleFlag(arg2);
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 Py_INCREF(Py_None); resultobj = Py_None;
20615 return resultobj;
20616 fail:
20617 return NULL;
20618 }
20619
20620
20621 static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxWindow *arg1 = (wxWindow *) 0 ;
20624 long result;
20625 PyObject * obj0 = 0 ;
20626 char *kwnames[] = {
20627 (char *) "self", NULL
20628 };
20629
20630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
20631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20632 {
20633 PyThreadState* __tstate = wxPyBeginAllowThreads();
20634 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 resultobj = PyInt_FromLong((long)result);
20640 return resultobj;
20641 fail:
20642 return NULL;
20643 }
20644
20645
20646 static PyObject *_wrap_Window_SetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20647 PyObject *resultobj;
20648 wxWindow *arg1 = (wxWindow *) 0 ;
20649 long arg2 ;
20650 PyObject * obj0 = 0 ;
20651 char *kwnames[] = {
20652 (char *) "self",(char *) "style", NULL
20653 };
20654
20655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetWindowStyle",kwnames,&obj0,&arg2)) goto fail;
20656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 (arg1)->SetWindowStyle(arg2);
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 Py_INCREF(Py_None); resultobj = Py_None;
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 static PyObject *_wrap_Window_GetWindowStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 wxWindow *arg1 = (wxWindow *) 0 ;
20674 long result;
20675 PyObject * obj0 = 0 ;
20676 char *kwnames[] = {
20677 (char *) "self", NULL
20678 };
20679
20680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyle",kwnames,&obj0)) goto fail;
20681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 result = (long)((wxWindow const *)arg1)->GetWindowStyle();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 resultobj = PyInt_FromLong((long)result);
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxWindow *arg1 = (wxWindow *) 0 ;
20699 int arg2 ;
20700 bool result;
20701 PyObject * obj0 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self",(char *) "flag", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasFlag",kwnames,&obj0,&arg2)) goto fail;
20707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 resultobj = PyInt_FromLong((long)result);
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxWindow *arg1 = (wxWindow *) 0 ;
20725 bool result;
20726 PyObject * obj0 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
20732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 result = (bool)((wxWindow const *)arg1)->IsRetained();
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 resultobj = PyInt_FromLong((long)result);
20741 return resultobj;
20742 fail:
20743 return NULL;
20744 }
20745
20746
20747 static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxWindow *arg1 = (wxWindow *) 0 ;
20750 long arg2 ;
20751 PyObject * obj0 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self",(char *) "exStyle", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_SetExtraStyle",kwnames,&obj0,&arg2)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 (arg1)->SetExtraStyle(arg2);
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 Py_INCREF(Py_None); resultobj = Py_None;
20766 return resultobj;
20767 fail:
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxWindow *arg1 = (wxWindow *) 0 ;
20775 long result;
20776 PyObject * obj0 = 0 ;
20777 char *kwnames[] = {
20778 (char *) "self", NULL
20779 };
20780
20781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
20782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20783 {
20784 PyThreadState* __tstate = wxPyBeginAllowThreads();
20785 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
20786
20787 wxPyEndAllowThreads(__tstate);
20788 if (PyErr_Occurred()) SWIG_fail;
20789 }
20790 resultobj = PyInt_FromLong((long)result);
20791 return resultobj;
20792 fail:
20793 return NULL;
20794 }
20795
20796
20797 static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20798 PyObject *resultobj;
20799 wxWindow *arg1 = (wxWindow *) 0 ;
20800 bool arg2 = (bool) TRUE ;
20801 PyObject * obj0 = 0 ;
20802 PyObject * obj1 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "modal", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
20808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20809 if (obj1) {
20810 arg2 = PyInt_AsLong(obj1) ? true : false;
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 (arg1)->MakeModal(arg2);
20816
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 Py_INCREF(Py_None); resultobj = Py_None;
20821 return resultobj;
20822 fail:
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxWindow *arg1 = (wxWindow *) 0 ;
20830 bool arg2 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "enableTheme", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20839 arg2 = PyInt_AsLong(obj1) ? true : false;
20840 if (PyErr_Occurred()) SWIG_fail;
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 (arg1)->SetThemeEnabled(arg2);
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 Py_INCREF(Py_None); resultobj = Py_None;
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxWindow *arg1 = (wxWindow *) 0 ;
20858 bool result;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 resultobj = PyInt_FromLong((long)result);
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj;
20882 wxWindow *arg1 = (wxWindow *) 0 ;
20883 bool result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
20890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 resultobj = PyInt_FromLong((long)result);
20899 return resultobj;
20900 fail:
20901 return NULL;
20902 }
20903
20904
20905 static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj;
20907 wxWindow *arg1 = (wxWindow *) 0 ;
20908 PyObject * obj0 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
20914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 (arg1)->SetFocus();
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 Py_INCREF(Py_None); resultobj = Py_None;
20923 return resultobj;
20924 fail:
20925 return NULL;
20926 }
20927
20928
20929 static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
20930 PyObject *resultobj;
20931 wxWindow *arg1 = (wxWindow *) 0 ;
20932 PyObject * obj0 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 (arg1)->SetFocusFromKbd();
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 Py_INCREF(Py_None); resultobj = Py_None;
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxWindow *result;
20956 char *kwnames[] = {
20957 NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = (wxWindow *)wxWindow::FindFocus();
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 resultobj = wxPyMake_wxObject(result);
20970 }
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxWindow *arg1 = (wxWindow *) 0 ;
20980 bool result;
20981 PyObject * obj0 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 {
20989 PyThreadState* __tstate = wxPyBeginAllowThreads();
20990 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
20991
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 resultobj = PyInt_FromLong((long)result);
20996 return resultobj;
20997 fail:
20998 return NULL;
20999 }
21000
21001
21002 static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj;
21004 wxWindow *arg1 = (wxWindow *) 0 ;
21005 bool result;
21006 PyObject * obj0 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
21012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 resultobj = PyInt_FromLong((long)result);
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxWindow *arg1 = (wxWindow *) 0 ;
21030 wxWindow *result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
21037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 {
21046 resultobj = wxPyMake_wxObject(result);
21047 }
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxWindow *arg1 = (wxWindow *) 0 ;
21057 wxWindow *arg2 = (wxWindow *) 0 ;
21058 wxWindow *result;
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj1 = 0 ;
21061 char *kwnames[] = {
21062 (char *) "self",(char *) "child", NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 {
21076 resultobj = wxPyMake_wxObject(result);
21077 }
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj;
21086 wxWindow *arg1 = (wxWindow *) 0 ;
21087 wxWindow *arg2 = (wxWindow *) 0 ;
21088 PyObject * obj0 = 0 ;
21089 PyObject * obj1 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "self",(char *) "win", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 (arg1)->SetTmpDefaultItem(arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 Py_INCREF(Py_None); resultobj = Py_None;
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxWindow *arg1 = (wxWindow *) 0 ;
21114 PyObject *result;
21115 PyObject * obj0 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
21121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (PyObject *)wxWindow_GetChildren(arg1);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 resultobj = result;
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxWindow *arg1 = (wxWindow *) 0 ;
21139 wxWindow *result;
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 {
21155 resultobj = wxPyMake_wxObject(result);
21156 }
21157 return resultobj;
21158 fail:
21159 return NULL;
21160 }
21161
21162
21163 static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj;
21165 wxWindow *arg1 = (wxWindow *) 0 ;
21166 wxWindow *result;
21167 PyObject * obj0 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 {
21182 resultobj = wxPyMake_wxObject(result);
21183 }
21184 return resultobj;
21185 fail:
21186 return NULL;
21187 }
21188
21189
21190 static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 wxWindow *arg1 = (wxWindow *) 0 ;
21193 bool result;
21194 PyObject * obj0 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "self", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
21200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 resultobj = PyInt_FromLong((long)result);
21209 return resultobj;
21210 fail:
21211 return NULL;
21212 }
21213
21214
21215 static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
21216 PyObject *resultobj;
21217 wxWindow *arg1 = (wxWindow *) 0 ;
21218 wxWindow *arg2 = (wxWindow *) 0 ;
21219 bool result;
21220 PyObject * obj0 = 0 ;
21221 PyObject * obj1 = 0 ;
21222 char *kwnames[] = {
21223 (char *) "self",(char *) "newParent", NULL
21224 };
21225
21226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
21227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (bool)(arg1)->Reparent(arg2);
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 resultobj = PyInt_FromLong((long)result);
21237 return resultobj;
21238 fail:
21239 return NULL;
21240 }
21241
21242
21243 static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxWindow *arg1 = (wxWindow *) 0 ;
21246 wxWindow *arg2 = (wxWindow *) 0 ;
21247 PyObject * obj0 = 0 ;
21248 PyObject * obj1 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "child", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 (arg1)->AddChild(arg2);
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 Py_INCREF(Py_None); resultobj = Py_None;
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxWindow *arg1 = (wxWindow *) 0 ;
21273 wxWindow *arg2 = (wxWindow *) 0 ;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "self",(char *) "child", NULL
21278 };
21279
21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
21281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 (arg1)->RemoveChild(arg2);
21286
21287 wxPyEndAllowThreads(__tstate);
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 Py_INCREF(Py_None); resultobj = Py_None;
21291 return resultobj;
21292 fail:
21293 return NULL;
21294 }
21295
21296
21297 static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
21298 PyObject *resultobj;
21299 wxWindow *arg1 = (wxWindow *) 0 ;
21300 long arg2 ;
21301 wxWindow *result;
21302 PyObject * obj0 = 0 ;
21303 char *kwnames[] = {
21304 (char *) "self",(char *) "winid", NULL
21305 };
21306
21307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_FindWindowById",kwnames,&obj0,&arg2)) goto fail;
21308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 result = (wxWindow *)(arg1)->FindWindow(arg2);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 {
21317 resultobj = wxPyMake_wxObject(result);
21318 }
21319 return resultobj;
21320 fail:
21321 return NULL;
21322 }
21323
21324
21325 static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
21326 PyObject *resultobj;
21327 wxWindow *arg1 = (wxWindow *) 0 ;
21328 wxString *arg2 = 0 ;
21329 wxWindow *result;
21330 bool temp2 = false ;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "name", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21339 {
21340 arg2 = wxString_in_helper(obj1);
21341 if (arg2 == NULL) SWIG_fail;
21342 temp2 = true;
21343 }
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 resultobj = wxPyMake_wxObject(result);
21353 }
21354 {
21355 if (temp2)
21356 delete arg2;
21357 }
21358 return resultobj;
21359 fail:
21360 {
21361 if (temp2)
21362 delete arg2;
21363 }
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxWindow *arg1 = (wxWindow *) 0 ;
21371 wxEvtHandler *result;
21372 PyObject * obj0 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 {
21387 resultobj = wxPyMake_wxObject(result);
21388 }
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxWindow *arg1 = (wxWindow *) 0 ;
21398 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "handler", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 (arg1)->SetEventHandler(arg2);
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 Py_INCREF(Py_None); resultobj = Py_None;
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxWindow *arg1 = (wxWindow *) 0 ;
21425 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self",(char *) "handler", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 (arg1)->PushEventHandler(arg2);
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 Py_INCREF(Py_None); resultobj = Py_None;
21443 return resultobj;
21444 fail:
21445 return NULL;
21446 }
21447
21448
21449 static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj;
21451 wxWindow *arg1 = (wxWindow *) 0 ;
21452 bool arg2 = (bool) FALSE ;
21453 wxEvtHandler *result;
21454 PyObject * obj0 = 0 ;
21455 PyObject * obj1 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self",(char *) "deleteHandler", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
21461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21462 if (obj1) {
21463 arg2 = PyInt_AsLong(obj1) ? true : false;
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 {
21474 resultobj = wxPyMake_wxObject(result);
21475 }
21476 return resultobj;
21477 fail:
21478 return NULL;
21479 }
21480
21481
21482 static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
21483 PyObject *resultobj;
21484 wxWindow *arg1 = (wxWindow *) 0 ;
21485 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
21486 bool result;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "handler", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
21494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (bool)(arg1)->RemoveEventHandler(arg2);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 resultobj = PyInt_FromLong((long)result);
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj;
21512 wxWindow *arg1 = (wxWindow *) 0 ;
21513 wxValidator *arg2 = 0 ;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self",(char *) "validator", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 if (arg2 == NULL) {
21524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21525 }
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 (arg1)->SetValidator((wxValidator const &)*arg2);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 Py_INCREF(Py_None); resultobj = Py_None;
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj;
21542 wxWindow *arg1 = (wxWindow *) 0 ;
21543 wxValidator *result;
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 result = (wxValidator *)(arg1)->GetValidator();
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 {
21559 resultobj = wxPyMake_wxObject(result);
21560 }
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxWindow *arg1 = (wxWindow *) 0 ;
21570 wxAcceleratorTable *arg2 = 0 ;
21571 PyObject * obj0 = 0 ;
21572 PyObject * obj1 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self",(char *) "accel", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
21578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21580 if (arg2 == NULL) {
21581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21582 }
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 Py_INCREF(Py_None); resultobj = Py_None;
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxWindow *arg1 = (wxWindow *) 0 ;
21600 wxAcceleratorTable *result;
21601 PyObject * obj0 = 0 ;
21602 char *kwnames[] = {
21603 (char *) "self", NULL
21604 };
21605
21606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
21607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 0);
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxWindow *arg1 = (wxWindow *) 0 ;
21625 int arg2 ;
21626 int arg3 ;
21627 int arg4 ;
21628 bool result;
21629 PyObject * obj0 = 0 ;
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21632 };
21633
21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:Window_RegisterHotKey",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
21635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 resultobj = PyInt_FromLong((long)result);
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxWindow *arg1 = (wxWindow *) 0 ;
21653 int arg2 ;
21654 bool result;
21655 PyObject * obj0 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "hotkeyId", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_UnregisterHotKey",kwnames,&obj0,&arg2)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 resultobj = PyInt_FromLong((long)result);
21670 return resultobj;
21671 fail:
21672 return NULL;
21673 }
21674
21675
21676 static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21677 PyObject *resultobj;
21678 wxWindow *arg1 = (wxWindow *) 0 ;
21679 wxPoint *arg2 = 0 ;
21680 wxPoint result;
21681 wxPoint temp2 ;
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "pt", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
21689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21690 {
21691 arg2 = &temp2;
21692 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21693 }
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 {
21702 wxPoint * resultptr;
21703 resultptr = new wxPoint((wxPoint &) result);
21704 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21705 }
21706 return resultobj;
21707 fail:
21708 return NULL;
21709 }
21710
21711
21712 static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21713 PyObject *resultobj;
21714 wxWindow *arg1 = (wxWindow *) 0 ;
21715 wxSize *arg2 = 0 ;
21716 wxSize result;
21717 wxSize temp2 ;
21718 PyObject * obj0 = 0 ;
21719 PyObject * obj1 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self",(char *) "sz", NULL
21722 };
21723
21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
21725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21726 {
21727 arg2 = &temp2;
21728 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21729 }
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 {
21738 wxSize * resultptr;
21739 resultptr = new wxSize((wxSize &) result);
21740 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21741 }
21742 return resultobj;
21743 fail:
21744 return NULL;
21745 }
21746
21747
21748 static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxWindow *arg1 = (wxWindow *) 0 ;
21751 wxPoint *arg2 = 0 ;
21752 wxPoint result;
21753 wxPoint temp2 ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 char *kwnames[] = {
21757 (char *) "self",(char *) "pt", NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
21761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21762 {
21763 arg2 = &temp2;
21764 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 wxPoint * resultptr;
21775 resultptr = new wxPoint((wxPoint &) result);
21776 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21777 }
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxWindow *arg1 = (wxWindow *) 0 ;
21787 wxSize *arg2 = 0 ;
21788 wxSize result;
21789 wxSize temp2 ;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self",(char *) "sz", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
21797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21798 {
21799 arg2 = &temp2;
21800 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21801 }
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 {
21810 wxSize * resultptr;
21811 resultptr = new wxSize((wxSize &) result);
21812 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21813 }
21814 return resultobj;
21815 fail:
21816 return NULL;
21817 }
21818
21819
21820 static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21821 PyObject *resultobj;
21822 wxWindow *arg1 = (wxWindow *) 0 ;
21823 wxPoint *arg2 = 0 ;
21824 wxPoint result;
21825 wxPoint temp2 ;
21826 PyObject * obj0 = 0 ;
21827 PyObject * obj1 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self",(char *) "pt", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
21833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21834 {
21835 arg2 = &temp2;
21836 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21837 }
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 {
21846 wxPoint * resultptr;
21847 resultptr = new wxPoint((wxPoint &) result);
21848 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21849 }
21850 return resultobj;
21851 fail:
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxWindow *arg1 = (wxWindow *) 0 ;
21859 wxSize *arg2 = 0 ;
21860 wxSize result;
21861 wxSize temp2 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "sz", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
21869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 {
21871 arg2 = &temp2;
21872 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 {
21882 wxSize * resultptr;
21883 resultptr = new wxSize((wxSize &) result);
21884 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxWindow *arg1 = (wxWindow *) 0 ;
21895 int arg2 ;
21896 int arg3 ;
21897 PyObject * obj0 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "x",(char *) "y", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_WarpPointer",kwnames,&obj0,&arg2,&arg3)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 (arg1)->WarpPointer(arg2,arg3);
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
21911 Py_INCREF(Py_None); resultobj = Py_None;
21912 return resultobj;
21913 fail:
21914 return NULL;
21915 }
21916
21917
21918 static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxWindow *arg1 = (wxWindow *) 0 ;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
21927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->CaptureMouse();
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 Py_INCREF(Py_None); resultobj = Py_None;
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxWindow *arg1 = (wxWindow *) 0 ;
21945 PyObject * obj0 = 0 ;
21946 char *kwnames[] = {
21947 (char *) "self", NULL
21948 };
21949
21950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
21951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21952 {
21953 PyThreadState* __tstate = wxPyBeginAllowThreads();
21954 (arg1)->ReleaseMouse();
21955
21956 wxPyEndAllowThreads(__tstate);
21957 if (PyErr_Occurred()) SWIG_fail;
21958 }
21959 Py_INCREF(Py_None); resultobj = Py_None;
21960 return resultobj;
21961 fail:
21962 return NULL;
21963 }
21964
21965
21966 static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21967 PyObject *resultobj;
21968 wxWindow *result;
21969 char *kwnames[] = {
21970 NULL
21971 };
21972
21973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = (wxWindow *)wxWindow::GetCapture();
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 {
21982 resultobj = wxPyMake_wxObject(result);
21983 }
21984 return resultobj;
21985 fail:
21986 return NULL;
21987 }
21988
21989
21990 static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
21991 PyObject *resultobj;
21992 wxWindow *arg1 = (wxWindow *) 0 ;
21993 bool result;
21994 PyObject * obj0 = 0 ;
21995 char *kwnames[] = {
21996 (char *) "self", NULL
21997 };
21998
21999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
22000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
22003 result = (bool)((wxWindow const *)arg1)->HasCapture();
22004
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = PyInt_FromLong((long)result);
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
22016 PyObject *resultobj;
22017 wxWindow *arg1 = (wxWindow *) 0 ;
22018 bool arg2 = (bool) TRUE ;
22019 wxRect *arg3 = (wxRect *) NULL ;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 PyObject * obj2 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
22028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22029 if (obj1) {
22030 arg2 = PyInt_AsLong(obj1) ? true : false;
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 if (obj2) {
22034 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22035 }
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 (arg1)->Refresh(arg2,(wxRect const *)arg3);
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 Py_INCREF(Py_None); resultobj = Py_None;
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxWindow *arg1 = (wxWindow *) 0 ;
22053 wxRect *arg2 = 0 ;
22054 wxRect temp2 ;
22055 PyObject * obj0 = 0 ;
22056 PyObject * obj1 = 0 ;
22057 char *kwnames[] = {
22058 (char *) "self",(char *) "rect", NULL
22059 };
22060
22061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
22062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22063 {
22064 arg2 = &temp2;
22065 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22066 }
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 (arg1)->RefreshRect((wxRect const &)*arg2);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 Py_INCREF(Py_None); resultobj = Py_None;
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxWindow *arg1 = (wxWindow *) 0 ;
22084 PyObject * obj0 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 (arg1)->Update();
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 Py_INCREF(Py_None); resultobj = Py_None;
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxWindow *arg1 = (wxWindow *) 0 ;
22108 PyObject * obj0 = 0 ;
22109 char *kwnames[] = {
22110 (char *) "self", NULL
22111 };
22112
22113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
22114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 (arg1)->ClearBackground();
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 Py_INCREF(Py_None); resultobj = Py_None;
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxWindow *arg1 = (wxWindow *) 0 ;
22132 PyObject * obj0 = 0 ;
22133 char *kwnames[] = {
22134 (char *) "self", NULL
22135 };
22136
22137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
22138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 (arg1)->Freeze();
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
22146 Py_INCREF(Py_None); resultobj = Py_None;
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxWindow *arg1 = (wxWindow *) 0 ;
22156 PyObject * obj0 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 (arg1)->Thaw();
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 Py_INCREF(Py_None); resultobj = Py_None;
22171 return resultobj;
22172 fail:
22173 return NULL;
22174 }
22175
22176
22177 static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxWindow *arg1 = (wxWindow *) 0 ;
22180 wxDC *arg2 = 0 ;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self",(char *) "dc", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
22188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22190 if (arg2 == NULL) {
22191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22192 }
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 (arg1)->PrepareDC(*arg2);
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 Py_INCREF(Py_None); resultobj = Py_None;
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxWindow *arg1 = (wxWindow *) 0 ;
22210 wxRegion *result;
22211 PyObject * obj0 = 0 ;
22212 char *kwnames[] = {
22213 (char *) "self", NULL
22214 };
22215
22216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
22217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 {
22221 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
22222 result = (wxRegion *) &_result_ref;
22223 }
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRegion, 0);
22229 return resultobj;
22230 fail:
22231 return NULL;
22232 }
22233
22234
22235 static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj;
22237 wxWindow *arg1 = (wxWindow *) 0 ;
22238 wxRect result;
22239 PyObject * obj0 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
22245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
22249
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 {
22254 wxRect * resultptr;
22255 resultptr = new wxRect((wxRect &) result);
22256 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
22257 }
22258 return resultobj;
22259 fail:
22260 return NULL;
22261 }
22262
22263
22264 static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj;
22266 wxWindow *arg1 = (wxWindow *) 0 ;
22267 int arg2 ;
22268 int arg3 ;
22269 int arg4 = (int) 1 ;
22270 int arg5 = (int) 1 ;
22271 bool result;
22272 PyObject * obj0 = 0 ;
22273 char *kwnames[] = {
22274 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22275 };
22276
22277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|ii:Window_IsExposed",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
22278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
22282
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 resultobj = PyInt_FromLong((long)result);
22287 return resultobj;
22288 fail:
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxWindow *arg1 = (wxWindow *) 0 ;
22296 wxPoint *arg2 = 0 ;
22297 bool result;
22298 wxPoint temp2 ;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self",(char *) "pt", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
22306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 {
22308 arg2 = &temp2;
22309 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22310 }
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 resultobj = PyInt_FromLong((long)result);
22319 return resultobj;
22320 fail:
22321 return NULL;
22322 }
22323
22324
22325 static PyObject *_wrap_Window_isExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22326 PyObject *resultobj;
22327 wxWindow *arg1 = (wxWindow *) 0 ;
22328 wxRect *arg2 = 0 ;
22329 bool result;
22330 wxRect temp2 ;
22331 PyObject * obj0 = 0 ;
22332 PyObject * obj1 = 0 ;
22333 char *kwnames[] = {
22334 (char *) "self",(char *) "rect", NULL
22335 };
22336
22337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_isExposedRect",kwnames,&obj0,&obj1)) goto fail;
22338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22339 {
22340 arg2 = &temp2;
22341 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22342 }
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
22346
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 resultobj = PyInt_FromLong((long)result);
22351 return resultobj;
22352 fail:
22353 return NULL;
22354 }
22355
22356
22357 static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22358 PyObject *resultobj;
22359 wxWindow *arg1 = (wxWindow *) 0 ;
22360 wxColour *arg2 = 0 ;
22361 bool result;
22362 wxColour temp2 ;
22363 PyObject * obj0 = 0 ;
22364 PyObject * obj1 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self",(char *) "colour", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22371 {
22372 arg2 = &temp2;
22373 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22374 }
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = PyInt_FromLong((long)result);
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj;
22391 wxWindow *arg1 = (wxWindow *) 0 ;
22392 wxColour *arg2 = 0 ;
22393 bool result;
22394 wxColour temp2 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self",(char *) "colour", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22403 {
22404 arg2 = &temp2;
22405 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22406 }
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = PyInt_FromLong((long)result);
22415 return resultobj;
22416 fail:
22417 return NULL;
22418 }
22419
22420
22421 static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj;
22423 wxWindow *arg1 = (wxWindow *) 0 ;
22424 wxColour result;
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = ((wxWindow const *)arg1)->GetBackgroundColour();
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 {
22440 wxColour * resultptr;
22441 resultptr = new wxColour((wxColour &) result);
22442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxWindow *arg1 = (wxWindow *) 0 ;
22453 wxColour result;
22454 PyObject * obj0 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "self", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = ((wxWindow const *)arg1)->GetForegroundColour();
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 {
22469 wxColour * resultptr;
22470 resultptr = new wxColour((wxColour &) result);
22471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22472 }
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxWindow *arg1 = (wxWindow *) 0 ;
22482 wxCursor *arg2 = 0 ;
22483 bool result;
22484 PyObject * obj0 = 0 ;
22485 PyObject * obj1 = 0 ;
22486 char *kwnames[] = {
22487 (char *) "self",(char *) "cursor", NULL
22488 };
22489
22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
22491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22493 if (arg2 == NULL) {
22494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22495 }
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 resultobj = PyInt_FromLong((long)result);
22504 return resultobj;
22505 fail:
22506 return NULL;
22507 }
22508
22509
22510 static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
22511 PyObject *resultobj;
22512 wxWindow *arg1 = (wxWindow *) 0 ;
22513 wxCursor *result;
22514 PyObject * obj0 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 {
22524 wxCursor &_result_ref = (arg1)->GetCursor();
22525 result = (wxCursor *) &_result_ref;
22526 }
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCursor, 0);
22532 return resultobj;
22533 fail:
22534 return NULL;
22535 }
22536
22537
22538 static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22539 PyObject *resultobj;
22540 wxWindow *arg1 = (wxWindow *) 0 ;
22541 wxFont *arg2 = 0 ;
22542 bool result;
22543 PyObject * obj0 = 0 ;
22544 PyObject * obj1 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self",(char *) "font", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
22550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22552 if (arg2 == NULL) {
22553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22554 }
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
22558
22559 wxPyEndAllowThreads(__tstate);
22560 if (PyErr_Occurred()) SWIG_fail;
22561 }
22562 resultobj = PyInt_FromLong((long)result);
22563 return resultobj;
22564 fail:
22565 return NULL;
22566 }
22567
22568
22569 static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22570 PyObject *resultobj;
22571 wxWindow *arg1 = (wxWindow *) 0 ;
22572 wxFont *result;
22573 PyObject * obj0 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
22579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 {
22583 wxFont &_result_ref = (arg1)->GetFont();
22584 result = (wxFont *) &_result_ref;
22585 }
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxWindow *arg1 = (wxWindow *) 0 ;
22600 wxCaret *arg2 = (wxCaret *) 0 ;
22601 PyObject * obj0 = 0 ;
22602 PyObject * obj1 = 0 ;
22603 char *kwnames[] = {
22604 (char *) "self",(char *) "caret", NULL
22605 };
22606
22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
22608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 (arg1)->SetCaret(arg2);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 Py_INCREF(Py_None); resultobj = Py_None;
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
22625 PyObject *resultobj;
22626 wxWindow *arg1 = (wxWindow *) 0 ;
22627 wxCaret *result;
22628 PyObject * obj0 = 0 ;
22629 char *kwnames[] = {
22630 (char *) "self", NULL
22631 };
22632
22633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
22634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
22638
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 0);
22643 return resultobj;
22644 fail:
22645 return NULL;
22646 }
22647
22648
22649 static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22650 PyObject *resultobj;
22651 wxWindow *arg1 = (wxWindow *) 0 ;
22652 int result;
22653 PyObject * obj0 = 0 ;
22654 char *kwnames[] = {
22655 (char *) "self", NULL
22656 };
22657
22658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
22659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 result = (int)((wxWindow const *)arg1)->GetCharHeight();
22663
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 resultobj = PyInt_FromLong((long)result);
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22675 PyObject *resultobj;
22676 wxWindow *arg1 = (wxWindow *) 0 ;
22677 int result;
22678 PyObject * obj0 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
22684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22685 {
22686 PyThreadState* __tstate = wxPyBeginAllowThreads();
22687 result = (int)((wxWindow const *)arg1)->GetCharWidth();
22688
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 resultobj = PyInt_FromLong((long)result);
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxWindow *arg1 = (wxWindow *) 0 ;
22702 wxString *arg2 = 0 ;
22703 int *arg3 = (int *) 0 ;
22704 int *arg4 = (int *) 0 ;
22705 bool temp2 = false ;
22706 int temp3 ;
22707 int temp4 ;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self",(char *) "string", NULL
22712 };
22713
22714 arg3 = &temp3;
22715 arg4 = &temp4;
22716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
22717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22718 {
22719 arg2 = wxString_in_helper(obj1);
22720 if (arg2 == NULL) SWIG_fail;
22721 temp2 = true;
22722 }
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
22726
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 Py_INCREF(Py_None); resultobj = Py_None;
22731 {
22732 PyObject *o = PyInt_FromLong((long) (*arg3));
22733 resultobj = t_output_helper(resultobj,o);
22734 }
22735 {
22736 PyObject *o = PyInt_FromLong((long) (*arg4));
22737 resultobj = t_output_helper(resultobj,o);
22738 }
22739 {
22740 if (temp2)
22741 delete arg2;
22742 }
22743 return resultobj;
22744 fail:
22745 {
22746 if (temp2)
22747 delete arg2;
22748 }
22749 return NULL;
22750 }
22751
22752
22753 static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj;
22755 wxWindow *arg1 = (wxWindow *) 0 ;
22756 wxString *arg2 = 0 ;
22757 int *arg3 = (int *) 0 ;
22758 int *arg4 = (int *) 0 ;
22759 int *arg5 = (int *) 0 ;
22760 int *arg6 = (int *) 0 ;
22761 wxFont *arg7 = (wxFont *) NULL ;
22762 bool temp2 = false ;
22763 int temp3 ;
22764 int temp4 ;
22765 int temp5 ;
22766 int temp6 ;
22767 PyObject * obj0 = 0 ;
22768 PyObject * obj1 = 0 ;
22769 PyObject * obj2 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self",(char *) "string",(char *) "font", NULL
22772 };
22773
22774 arg3 = &temp3;
22775 arg4 = &temp4;
22776 arg5 = &temp5;
22777 arg6 = &temp6;
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22780 {
22781 arg2 = wxString_in_helper(obj1);
22782 if (arg2 == NULL) SWIG_fail;
22783 temp2 = true;
22784 }
22785 if (obj2) {
22786 if ((SWIG_ConvertPtr(obj2,(void **) &arg7, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22787 }
22788 {
22789 PyThreadState* __tstate = wxPyBeginAllowThreads();
22790 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
22791
22792 wxPyEndAllowThreads(__tstate);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 Py_INCREF(Py_None); resultobj = Py_None;
22796 {
22797 PyObject *o = PyInt_FromLong((long) (*arg3));
22798 resultobj = t_output_helper(resultobj,o);
22799 }
22800 {
22801 PyObject *o = PyInt_FromLong((long) (*arg4));
22802 resultobj = t_output_helper(resultobj,o);
22803 }
22804 {
22805 PyObject *o = PyInt_FromLong((long) (*arg5));
22806 resultobj = t_output_helper(resultobj,o);
22807 }
22808 {
22809 PyObject *o = PyInt_FromLong((long) (*arg6));
22810 resultobj = t_output_helper(resultobj,o);
22811 }
22812 {
22813 if (temp2)
22814 delete arg2;
22815 }
22816 return resultobj;
22817 fail:
22818 {
22819 if (temp2)
22820 delete arg2;
22821 }
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj;
22828 wxWindow *arg1 = (wxWindow *) 0 ;
22829 int *arg2 = (int *) 0 ;
22830 int *arg3 = (int *) 0 ;
22831 int temp2 ;
22832 int temp3 ;
22833 PyObject * obj0 = 0 ;
22834 PyObject * obj1 = 0 ;
22835 PyObject * obj2 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "x",(char *) "y", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22842 {
22843 temp2 = PyInt_AsLong(obj1);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 arg2 = &temp2;
22846 }
22847 {
22848 temp3 = PyInt_AsLong(obj2);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 arg3 = &temp3;
22851 }
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 Py_INCREF(Py_None); resultobj = Py_None;
22860 {
22861 PyObject *o = PyInt_FromLong((long) (*arg2));
22862 resultobj = t_output_helper(resultobj,o);
22863 }
22864 {
22865 PyObject *o = PyInt_FromLong((long) (*arg3));
22866 resultobj = t_output_helper(resultobj,o);
22867 }
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxWindow *arg1 = (wxWindow *) 0 ;
22877 int *arg2 = (int *) 0 ;
22878 int *arg3 = (int *) 0 ;
22879 int temp2 ;
22880 int temp3 ;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883 PyObject * obj2 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self",(char *) "x",(char *) "y", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
22889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22890 {
22891 temp2 = PyInt_AsLong(obj1);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 arg2 = &temp2;
22894 }
22895 {
22896 temp3 = PyInt_AsLong(obj2);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 arg3 = &temp3;
22899 }
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 Py_INCREF(Py_None); resultobj = Py_None;
22908 {
22909 PyObject *o = PyInt_FromLong((long) (*arg2));
22910 resultobj = t_output_helper(resultobj,o);
22911 }
22912 {
22913 PyObject *o = PyInt_FromLong((long) (*arg3));
22914 resultobj = t_output_helper(resultobj,o);
22915 }
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxWindow *arg1 = (wxWindow *) 0 ;
22925 wxPoint *arg2 = 0 ;
22926 wxPoint result;
22927 wxPoint temp2 ;
22928 PyObject * obj0 = 0 ;
22929 PyObject * obj1 = 0 ;
22930 char *kwnames[] = {
22931 (char *) "self",(char *) "pt", NULL
22932 };
22933
22934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
22935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22936 {
22937 arg2 = &temp2;
22938 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22939 }
22940 {
22941 PyThreadState* __tstate = wxPyBeginAllowThreads();
22942 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
22943
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 {
22948 wxPoint * resultptr;
22949 resultptr = new wxPoint((wxPoint &) result);
22950 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22951 }
22952 return resultobj;
22953 fail:
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxWindow *arg1 = (wxWindow *) 0 ;
22961 wxPoint *arg2 = 0 ;
22962 wxPoint result;
22963 wxPoint temp2 ;
22964 PyObject * obj0 = 0 ;
22965 PyObject * obj1 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self",(char *) "pt", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22972 {
22973 arg2 = &temp2;
22974 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22975 }
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
22979
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 {
22984 wxPoint * resultptr;
22985 resultptr = new wxPoint((wxPoint &) result);
22986 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22987 }
22988 return resultobj;
22989 fail:
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxWindow *arg1 = (wxWindow *) 0 ;
22997 wxCoord arg2 ;
22998 wxCoord arg3 ;
22999 int result;
23000 PyObject * obj0 = 0 ;
23001 char *kwnames[] = {
23002 (char *) "self",(char *) "x",(char *) "y", NULL
23003 };
23004
23005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Window_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
23006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 resultobj = PyInt_FromLong((long)result);
23015 return resultobj;
23016 fail:
23017 return NULL;
23018 }
23019
23020
23021 static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxWindow *arg1 = (wxWindow *) 0 ;
23024 wxPoint *arg2 = 0 ;
23025 int result;
23026 wxPoint temp2 ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "self",(char *) "pt", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
23034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23035 {
23036 arg2 = &temp2;
23037 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23038 }
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 resultobj = PyInt_FromLong((long)result);
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 static PyObject *_wrap_Window_GetBorderFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxWindow *arg1 = (wxWindow *) 0 ;
23056 long arg2 ;
23057 int result;
23058 PyObject * obj0 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self",(char *) "flags", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Window_GetBorderFlags",kwnames,&obj0,&arg2)) goto fail;
23064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23065 {
23066 PyThreadState* __tstate = wxPyBeginAllowThreads();
23067 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
23068
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 resultobj = PyInt_FromLong((long)result);
23073 return resultobj;
23074 fail:
23075 return NULL;
23076 }
23077
23078
23079 static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
23080 PyObject *resultobj;
23081 wxWindow *arg1 = (wxWindow *) 0 ;
23082 int result;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBorder",kwnames,&obj0)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 result = (int)((wxWindow const *)arg1)->GetBorder();
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 resultobj = PyInt_FromLong((long)result);
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxWindow *arg1 = (wxWindow *) 0 ;
23107 long arg2 = (long) wxUPDATE_UI_NONE ;
23108 PyObject * obj0 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "flags", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:Window_UpdateWindowUI",kwnames,&obj0,&arg2)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->UpdateWindowUI(arg2);
23118
23119 wxPyEndAllowThreads(__tstate);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 Py_INCREF(Py_None); resultobj = Py_None;
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxWindow *arg1 = (wxWindow *) 0 ;
23132 wxMenu *arg2 = (wxMenu *) 0 ;
23133 int arg3 ;
23134 int arg4 ;
23135 bool result;
23136 PyObject * obj0 = 0 ;
23137 PyObject * obj1 = 0 ;
23138 char *kwnames[] = {
23139 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23140 };
23141
23142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:Window_PopupMenuXY",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
23143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 resultobj = PyInt_FromLong((long)result);
23153 return resultobj;
23154 fail:
23155 return NULL;
23156 }
23157
23158
23159 static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
23160 PyObject *resultobj;
23161 wxWindow *arg1 = (wxWindow *) 0 ;
23162 wxMenu *arg2 = (wxMenu *) 0 ;
23163 wxPoint *arg3 = 0 ;
23164 bool result;
23165 wxPoint temp3 ;
23166 PyObject * obj0 = 0 ;
23167 PyObject * obj1 = 0 ;
23168 PyObject * obj2 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self",(char *) "menu",(char *) "pos", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23176 {
23177 arg3 = &temp3;
23178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23179 }
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 resultobj = PyInt_FromLong((long)result);
23188 return resultobj;
23189 fail:
23190 return NULL;
23191 }
23192
23193
23194 static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
23195 PyObject *resultobj;
23196 wxWindow *arg1 = (wxWindow *) 0 ;
23197 long result;
23198 PyObject * obj0 = 0 ;
23199 char *kwnames[] = {
23200 (char *) "self", NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
23204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 result = (long)wxWindow_GetHandle(arg1);
23208
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 resultobj = PyInt_FromLong((long)result);
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj;
23221 wxWindow *arg1 = (wxWindow *) 0 ;
23222 int arg2 ;
23223 bool result;
23224 PyObject * obj0 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self",(char *) "orient", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_HasScrollbar",kwnames,&obj0,&arg2)) goto fail;
23230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 resultobj = PyInt_FromLong((long)result);
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
23246 PyObject *resultobj;
23247 wxWindow *arg1 = (wxWindow *) 0 ;
23248 int arg2 ;
23249 int arg3 ;
23250 int arg4 ;
23251 int arg5 ;
23252 bool arg6 = (bool) TRUE ;
23253 PyObject * obj0 = 0 ;
23254 PyObject * obj5 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:Window_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
23260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23261 if (obj5) {
23262 arg6 = PyInt_AsLong(obj5) ? true : false;
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276 }
23277
23278
23279 static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23280 PyObject *resultobj;
23281 wxWindow *arg1 = (wxWindow *) 0 ;
23282 int arg2 ;
23283 int arg3 ;
23284 bool arg4 = (bool) TRUE ;
23285 PyObject * obj0 = 0 ;
23286 PyObject * obj3 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_SetScrollPos",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23293 if (obj3) {
23294 arg4 = PyInt_AsLong(obj3) ? true : false;
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 (arg1)->SetScrollPos(arg2,arg3,arg4);
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 Py_INCREF(Py_None); resultobj = Py_None;
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxWindow *arg1 = (wxWindow *) 0 ;
23314 int arg2 ;
23315 int result;
23316 PyObject * obj0 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "orient", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollPos",kwnames,&obj0,&arg2)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 resultobj = PyInt_FromLong((long)result);
23331 return resultobj;
23332 fail:
23333 return NULL;
23334 }
23335
23336
23337 static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
23338 PyObject *resultobj;
23339 wxWindow *arg1 = (wxWindow *) 0 ;
23340 int arg2 ;
23341 int result;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "orient", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollThumb",kwnames,&obj0,&arg2)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = PyInt_FromLong((long)result);
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxWindow *arg1 = (wxWindow *) 0 ;
23366 int arg2 ;
23367 int result;
23368 PyObject * obj0 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self",(char *) "orient", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_GetScrollRange",kwnames,&obj0,&arg2)) goto fail;
23374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23375 {
23376 PyThreadState* __tstate = wxPyBeginAllowThreads();
23377 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
23378
23379 wxPyEndAllowThreads(__tstate);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 resultobj = PyInt_FromLong((long)result);
23383 return resultobj;
23384 fail:
23385 return NULL;
23386 }
23387
23388
23389 static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23390 PyObject *resultobj;
23391 wxWindow *arg1 = (wxWindow *) 0 ;
23392 int arg2 ;
23393 int arg3 ;
23394 wxRect *arg4 = (wxRect *) NULL ;
23395 PyObject * obj0 = 0 ;
23396 PyObject * obj3 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|O:Window_ScrollWindow",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23403 if (obj3) {
23404 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23405 }
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
23413 Py_INCREF(Py_None); resultobj = Py_None;
23414 return resultobj;
23415 fail:
23416 return NULL;
23417 }
23418
23419
23420 static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
23421 PyObject *resultobj;
23422 wxWindow *arg1 = (wxWindow *) 0 ;
23423 int arg2 ;
23424 bool result;
23425 PyObject * obj0 = 0 ;
23426 char *kwnames[] = {
23427 (char *) "self",(char *) "lines", NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
23431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (bool)(arg1)->ScrollLines(arg2);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 resultobj = PyInt_FromLong((long)result);
23440 return resultobj;
23441 fail:
23442 return NULL;
23443 }
23444
23445
23446 static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxWindow *arg1 = (wxWindow *) 0 ;
23449 int arg2 ;
23450 bool result;
23451 PyObject * obj0 = 0 ;
23452 char *kwnames[] = {
23453 (char *) "self",(char *) "pages", NULL
23454 };
23455
23456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Window_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
23457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = (bool)(arg1)->ScrollPages(arg2);
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 resultobj = PyInt_FromLong((long)result);
23466 return resultobj;
23467 fail:
23468 return NULL;
23469 }
23470
23471
23472 static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23473 PyObject *resultobj;
23474 wxWindow *arg1 = (wxWindow *) 0 ;
23475 bool result;
23476 PyObject * obj0 = 0 ;
23477 char *kwnames[] = {
23478 (char *) "self", NULL
23479 };
23480
23481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
23482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23483 {
23484 PyThreadState* __tstate = wxPyBeginAllowThreads();
23485 result = (bool)(arg1)->LineUp();
23486
23487 wxPyEndAllowThreads(__tstate);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 }
23490 resultobj = PyInt_FromLong((long)result);
23491 return resultobj;
23492 fail:
23493 return NULL;
23494 }
23495
23496
23497 static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23498 PyObject *resultobj;
23499 wxWindow *arg1 = (wxWindow *) 0 ;
23500 bool result;
23501 PyObject * obj0 = 0 ;
23502 char *kwnames[] = {
23503 (char *) "self", NULL
23504 };
23505
23506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
23507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23508 {
23509 PyThreadState* __tstate = wxPyBeginAllowThreads();
23510 result = (bool)(arg1)->LineDown();
23511
23512 wxPyEndAllowThreads(__tstate);
23513 if (PyErr_Occurred()) SWIG_fail;
23514 }
23515 resultobj = PyInt_FromLong((long)result);
23516 return resultobj;
23517 fail:
23518 return NULL;
23519 }
23520
23521
23522 static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
23523 PyObject *resultobj;
23524 wxWindow *arg1 = (wxWindow *) 0 ;
23525 bool result;
23526 PyObject * obj0 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
23532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 result = (bool)(arg1)->PageUp();
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 resultobj = PyInt_FromLong((long)result);
23541 return resultobj;
23542 fail:
23543 return NULL;
23544 }
23545
23546
23547 static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
23548 PyObject *resultobj;
23549 wxWindow *arg1 = (wxWindow *) 0 ;
23550 bool result;
23551 PyObject * obj0 = 0 ;
23552 char *kwnames[] = {
23553 (char *) "self", NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
23557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23558 {
23559 PyThreadState* __tstate = wxPyBeginAllowThreads();
23560 result = (bool)(arg1)->PageDown();
23561
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 resultobj = PyInt_FromLong((long)result);
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23573 PyObject *resultobj;
23574 wxWindow *arg1 = (wxWindow *) 0 ;
23575 wxString *arg2 = 0 ;
23576 bool temp2 = false ;
23577 PyObject * obj0 = 0 ;
23578 PyObject * obj1 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "text", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23585 {
23586 arg2 = wxString_in_helper(obj1);
23587 if (arg2 == NULL) SWIG_fail;
23588 temp2 = true;
23589 }
23590 {
23591 PyThreadState* __tstate = wxPyBeginAllowThreads();
23592 (arg1)->SetHelpText((wxString const &)*arg2);
23593
23594 wxPyEndAllowThreads(__tstate);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 }
23597 Py_INCREF(Py_None); resultobj = Py_None;
23598 {
23599 if (temp2)
23600 delete arg2;
23601 }
23602 return resultobj;
23603 fail:
23604 {
23605 if (temp2)
23606 delete arg2;
23607 }
23608 return NULL;
23609 }
23610
23611
23612 static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
23613 PyObject *resultobj;
23614 wxWindow *arg1 = (wxWindow *) 0 ;
23615 wxString *arg2 = 0 ;
23616 bool temp2 = false ;
23617 PyObject * obj0 = 0 ;
23618 PyObject * obj1 = 0 ;
23619 char *kwnames[] = {
23620 (char *) "self",(char *) "text", NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
23624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23625 {
23626 arg2 = wxString_in_helper(obj1);
23627 if (arg2 == NULL) SWIG_fail;
23628 temp2 = true;
23629 }
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 (arg1)->SetHelpTextForId((wxString const &)*arg2);
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 Py_INCREF(Py_None); resultobj = Py_None;
23638 {
23639 if (temp2)
23640 delete arg2;
23641 }
23642 return resultobj;
23643 fail:
23644 {
23645 if (temp2)
23646 delete arg2;
23647 }
23648 return NULL;
23649 }
23650
23651
23652 static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxWindow *arg1 = (wxWindow *) 0 ;
23655 wxString result;
23656 PyObject * obj0 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 result = ((wxWindow const *)arg1)->GetHelpText();
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 {
23671 #if wxUSE_UNICODE
23672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23673 #else
23674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23675 #endif
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxWindow *arg1 = (wxWindow *) 0 ;
23686 wxString *arg2 = 0 ;
23687 bool temp2 = false ;
23688 PyObject * obj0 = 0 ;
23689 PyObject * obj1 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self",(char *) "tip", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
23695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23696 {
23697 arg2 = wxString_in_helper(obj1);
23698 if (arg2 == NULL) SWIG_fail;
23699 temp2 = true;
23700 }
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 (arg1)->SetToolTip((wxString const &)*arg2);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 Py_INCREF(Py_None); resultobj = Py_None;
23709 {
23710 if (temp2)
23711 delete arg2;
23712 }
23713 return resultobj;
23714 fail:
23715 {
23716 if (temp2)
23717 delete arg2;
23718 }
23719 return NULL;
23720 }
23721
23722
23723 static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxWindow *arg1 = (wxWindow *) 0 ;
23726 wxToolTip *arg2 = (wxToolTip *) 0 ;
23727 PyObject * obj0 = 0 ;
23728 PyObject * obj1 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self",(char *) "tip", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->SetToolTip(arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 Py_INCREF(Py_None); resultobj = Py_None;
23744 return resultobj;
23745 fail:
23746 return NULL;
23747 }
23748
23749
23750 static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23751 PyObject *resultobj;
23752 wxWindow *arg1 = (wxWindow *) 0 ;
23753 wxToolTip *result;
23754 PyObject * obj0 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 {
23769 resultobj = wxPyMake_wxObject(result);
23770 }
23771 return resultobj;
23772 fail:
23773 return NULL;
23774 }
23775
23776
23777 static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxWindow *arg1 = (wxWindow *) 0 ;
23780 wxDropTarget *arg2 = (wxDropTarget *) 0 ;
23781 PyObject * obj0 = 0 ;
23782 PyObject * obj1 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self",(char *) "dropTarget", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
23788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 (arg1)->SetDropTarget(arg2);
23793
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 Py_INCREF(Py_None); resultobj = Py_None;
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxWindow *arg1 = (wxWindow *) 0 ;
23807 wxDropTarget *result;
23808 PyObject * obj0 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
23814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = (wxDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDropTarget, 0);
23823 return resultobj;
23824 fail:
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxWindow *arg1 = (wxWindow *) 0 ;
23832 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
23833 PyObject * obj0 = 0 ;
23834 PyObject * obj1 = 0 ;
23835 char *kwnames[] = {
23836 (char *) "self",(char *) "constraints", NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
23840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 (arg1)->SetConstraints(arg2);
23845
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 Py_INCREF(Py_None); resultobj = Py_None;
23850 return resultobj;
23851 fail:
23852 return NULL;
23853 }
23854
23855
23856 static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
23857 PyObject *resultobj;
23858 wxWindow *arg1 = (wxWindow *) 0 ;
23859 wxLayoutConstraints *result;
23860 PyObject * obj0 = 0 ;
23861 char *kwnames[] = {
23862 (char *) "self", NULL
23863 };
23864
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
23866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
23870
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 0);
23875 return resultobj;
23876 fail:
23877 return NULL;
23878 }
23879
23880
23881 static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxWindow *arg1 = (wxWindow *) 0 ;
23884 bool arg2 ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 char *kwnames[] = {
23888 (char *) "self",(char *) "autoLayout", NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
23892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23893 arg2 = PyInt_AsLong(obj1) ? true : false;
23894 if (PyErr_Occurred()) SWIG_fail;
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
23897 (arg1)->SetAutoLayout(arg2);
23898
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 Py_INCREF(Py_None); resultobj = Py_None;
23903 return resultobj;
23904 fail:
23905 return NULL;
23906 }
23907
23908
23909 static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
23910 PyObject *resultobj;
23911 wxWindow *arg1 = (wxWindow *) 0 ;
23912 bool result;
23913 PyObject * obj0 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
23919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
23923
23924 wxPyEndAllowThreads(__tstate);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 }
23927 resultobj = PyInt_FromLong((long)result);
23928 return resultobj;
23929 fail:
23930 return NULL;
23931 }
23932
23933
23934 static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
23935 PyObject *resultobj;
23936 wxWindow *arg1 = (wxWindow *) 0 ;
23937 bool result;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = (bool)(arg1)->Layout();
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 resultobj = PyInt_FromLong((long)result);
23953 return resultobj;
23954 fail:
23955 return NULL;
23956 }
23957
23958
23959 static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj;
23961 wxWindow *arg1 = (wxWindow *) 0 ;
23962 wxSizer *arg2 = (wxSizer *) 0 ;
23963 bool arg3 = (bool) TRUE ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 PyObject * obj2 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
23972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23974 if (obj2) {
23975 arg3 = PyInt_AsLong(obj2) ? true : false;
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->SetSizer(arg2,arg3);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxWindow *arg1 = (wxWindow *) 0 ;
23995 wxSizer *arg2 = (wxSizer *) 0 ;
23996 bool arg3 = (bool) TRUE ;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 PyObject * obj2 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
24005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24007 if (obj2) {
24008 arg3 = PyInt_AsLong(obj2) ? true : false;
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 (arg1)->SetSizerAndFit(arg2,arg3);
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 Py_INCREF(Py_None); resultobj = Py_None;
24019 return resultobj;
24020 fail:
24021 return NULL;
24022 }
24023
24024
24025 static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24026 PyObject *resultobj;
24027 wxWindow *arg1 = (wxWindow *) 0 ;
24028 wxSizer *result;
24029 PyObject * obj0 = 0 ;
24030 char *kwnames[] = {
24031 (char *) "self", NULL
24032 };
24033
24034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
24035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
24043 {
24044 resultobj = wxPyMake_wxSizer(result);
24045 }
24046 return resultobj;
24047 fail:
24048 return NULL;
24049 }
24050
24051
24052 static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj;
24054 wxWindow *arg1 = (wxWindow *) 0 ;
24055 wxSizer *arg2 = (wxSizer *) 0 ;
24056 PyObject * obj0 = 0 ;
24057 PyObject * obj1 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "self",(char *) "sizer", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 (arg1)->SetContainingSizer(arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 Py_INCREF(Py_None); resultobj = Py_None;
24073 return resultobj;
24074 fail:
24075 return NULL;
24076 }
24077
24078
24079 static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
24080 PyObject *resultobj;
24081 wxWindow *arg1 = (wxWindow *) 0 ;
24082 wxSizer *result;
24083 PyObject * obj0 = 0 ;
24084 char *kwnames[] = {
24085 (char *) "self", NULL
24086 };
24087
24088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
24089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 {
24098 resultobj = wxPyMake_wxSizer(result);
24099 }
24100 return resultobj;
24101 fail:
24102 return NULL;
24103 }
24104
24105
24106 static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
24107 PyObject *obj;
24108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24109 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
24110 Py_INCREF(obj);
24111 return Py_BuildValue((char *)"");
24112 }
24113 static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 long arg1 ;
24116 wxWindow *arg2 = (wxWindow *) NULL ;
24117 wxWindow *result;
24118 PyObject * obj1 = 0 ;
24119 char *kwnames[] = {
24120 (char *) "id",(char *) "parent", NULL
24121 };
24122
24123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"l|O:FindWindowById",kwnames,&arg1,&obj1)) goto fail;
24124 if (obj1) {
24125 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24126 }
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 {
24135 resultobj = wxPyMake_wxObject(result);
24136 }
24137 return resultobj;
24138 fail:
24139 return NULL;
24140 }
24141
24142
24143 static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxString *arg1 = 0 ;
24146 wxWindow *arg2 = (wxWindow *) NULL ;
24147 wxWindow *result;
24148 bool temp1 = false ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "name",(char *) "parent", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24156 {
24157 arg1 = wxString_in_helper(obj0);
24158 if (arg1 == NULL) SWIG_fail;
24159 temp1 = true;
24160 }
24161 if (obj1) {
24162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24163 }
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 resultobj = wxPyMake_wxObject(result);
24173 }
24174 {
24175 if (temp1)
24176 delete arg1;
24177 }
24178 return resultobj;
24179 fail:
24180 {
24181 if (temp1)
24182 delete arg1;
24183 }
24184 return NULL;
24185 }
24186
24187
24188 static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxString *arg1 = 0 ;
24191 wxWindow *arg2 = (wxWindow *) NULL ;
24192 wxWindow *result;
24193 bool temp1 = false ;
24194 PyObject * obj0 = 0 ;
24195 PyObject * obj1 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "label",(char *) "parent", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
24201 {
24202 arg1 = wxString_in_helper(obj0);
24203 if (arg1 == NULL) SWIG_fail;
24204 temp1 = true;
24205 }
24206 if (obj1) {
24207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24208 }
24209 {
24210 PyThreadState* __tstate = wxPyBeginAllowThreads();
24211 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
24212
24213 wxPyEndAllowThreads(__tstate);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 }
24216 {
24217 resultobj = wxPyMake_wxObject(result);
24218 }
24219 {
24220 if (temp1)
24221 delete arg1;
24222 }
24223 return resultobj;
24224 fail:
24225 {
24226 if (temp1)
24227 delete arg1;
24228 }
24229 return NULL;
24230 }
24231
24232
24233 static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 unsigned long arg1 ;
24236 wxWindow *result;
24237 PyObject * obj0 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "hWnd", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FromHWND",kwnames,&obj0)) goto fail;
24243 arg1 = (unsigned long) PyInt_AsLong(obj0);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 result = (wxWindow *)wxWindow_FromHWND(arg1);
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 {
24253 resultobj = wxPyMake_wxObject(result);
24254 }
24255 return resultobj;
24256 fail:
24257 return NULL;
24258 }
24259
24260
24261 static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxValidator *result;
24264 char *kwnames[] = {
24265 NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = (wxValidator *)new wxValidator();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 resultobj = wxPyMake_wxObject(result);
24278 }
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxValidator *arg1 = (wxValidator *) 0 ;
24288 wxValidator *result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
24295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 result = (wxValidator *)(arg1)->Clone();
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 {
24304 resultobj = wxPyMake_wxObject(result);
24305 }
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxValidator *arg1 = (wxValidator *) 0 ;
24315 wxWindow *arg2 = (wxWindow *) 0 ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self",(char *) "parent", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = (bool)(arg1)->Validate(arg2);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 resultobj = PyInt_FromLong((long)result);
24334 return resultobj;
24335 fail:
24336 return NULL;
24337 }
24338
24339
24340 static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxValidator *arg1 = (wxValidator *) 0 ;
24343 bool result;
24344 PyObject * obj0 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (bool)(arg1)->TransferToWindow();
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = PyInt_FromLong((long)result);
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxValidator *arg1 = (wxValidator *) 0 ;
24368 bool result;
24369 PyObject * obj0 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "self", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
24375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 result = (bool)(arg1)->TransferFromWindow();
24379
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
24383 resultobj = PyInt_FromLong((long)result);
24384 return resultobj;
24385 fail:
24386 return NULL;
24387 }
24388
24389
24390 static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24391 PyObject *resultobj;
24392 wxValidator *arg1 = (wxValidator *) 0 ;
24393 wxWindow *result;
24394 PyObject * obj0 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "self", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
24400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 result = (wxWindow *)(arg1)->GetWindow();
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 {
24409 resultobj = wxPyMake_wxObject(result);
24410 }
24411 return resultobj;
24412 fail:
24413 return NULL;
24414 }
24415
24416
24417 static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24418 PyObject *resultobj;
24419 wxValidator *arg1 = (wxValidator *) 0 ;
24420 wxWindow *arg2 = (wxWindow *) 0 ;
24421 PyObject * obj0 = 0 ;
24422 PyObject * obj1 = 0 ;
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "window", NULL
24425 };
24426
24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
24428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24430 {
24431 PyThreadState* __tstate = wxPyBeginAllowThreads();
24432 (arg1)->SetWindow(arg2);
24433
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 Py_INCREF(Py_None); resultobj = Py_None;
24438 return resultobj;
24439 fail:
24440 return NULL;
24441 }
24442
24443
24444 static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj;
24446 bool result;
24447 char *kwnames[] = {
24448 NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (bool)wxValidator::IsSilent();
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 resultobj = PyInt_FromLong((long)result);
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 int arg1 = (int) TRUE ;
24469 char *kwnames[] = {
24470 (char *) "doIt", NULL
24471 };
24472
24473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:Validator_SetBellOnError",kwnames,&arg1)) goto fail;
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 wxValidator::SetBellOnError(arg1);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 Py_INCREF(Py_None); resultobj = Py_None;
24482 return resultobj;
24483 fail:
24484 return NULL;
24485 }
24486
24487
24488 static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
24489 PyObject *obj;
24490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24491 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
24492 Py_INCREF(obj);
24493 return Py_BuildValue((char *)"");
24494 }
24495 static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxPyValidator *result;
24498 char *kwnames[] = {
24499 NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 result = (wxPyValidator *)new wxPyValidator();
24506
24507 wxPyEndAllowThreads(__tstate);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
24510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyValidator, 1);
24511 return resultobj;
24512 fail:
24513 return NULL;
24514 }
24515
24516
24517 static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj;
24519 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
24520 PyObject *arg2 = (PyObject *) 0 ;
24521 PyObject *arg3 = (PyObject *) 0 ;
24522 int arg4 = (int) TRUE ;
24523 PyObject * obj0 = 0 ;
24524 PyObject * obj1 = 0 ;
24525 PyObject * obj2 = 0 ;
24526 char *kwnames[] = {
24527 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24528 };
24529
24530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
24531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24532 arg2 = obj1;
24533 arg3 = obj2;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 Py_INCREF(Py_None); resultobj = Py_None;
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
24549 PyObject *obj;
24550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24551 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
24552 Py_INCREF(obj);
24553 return Py_BuildValue((char *)"");
24554 }
24555 static int _wrap_DefaultValidator_set(PyObject *_val) {
24556 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
24557 return 1;
24558 }
24559
24560
24561 static PyObject *_wrap_DefaultValidator_get() {
24562 PyObject *pyobj;
24563
24564 pyobj = SWIG_NewPointerObj((void *) &wxDefaultValidator, SWIGTYPE_p_wxValidator, 0);
24565 return pyobj;
24566 }
24567
24568
24569 static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxString const &arg1_defvalue = wxPyEmptyString ;
24572 wxString *arg1 = (wxString *) &arg1_defvalue ;
24573 long arg2 = (long) 0 ;
24574 wxMenu *result;
24575 bool temp1 = false ;
24576 PyObject * obj0 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "title",(char *) "style", NULL
24579 };
24580
24581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|Ol:new_Menu",kwnames,&obj0,&arg2)) goto fail;
24582 if (obj0) {
24583 {
24584 arg1 = wxString_in_helper(obj0);
24585 if (arg1 == NULL) SWIG_fail;
24586 temp1 = true;
24587 }
24588 }
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
24592
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 {
24597 resultobj = wxPyMake_wxObject(result);
24598 }
24599 {
24600 if (temp1)
24601 delete arg1;
24602 }
24603 return resultobj;
24604 fail:
24605 {
24606 if (temp1)
24607 delete arg1;
24608 }
24609 return NULL;
24610 }
24611
24612
24613 static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj;
24615 wxMenu *arg1 = (wxMenu *) 0 ;
24616 int arg2 ;
24617 wxString *arg3 = 0 ;
24618 wxString const &arg4_defvalue = wxPyEmptyString ;
24619 wxString *arg4 = (wxString *) &arg4_defvalue ;
24620 int arg5 = (int) wxITEM_NORMAL ;
24621 bool temp3 = false ;
24622 bool temp4 = false ;
24623 PyObject * obj0 = 0 ;
24624 PyObject * obj2 = 0 ;
24625 PyObject * obj3 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Append",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24632 {
24633 arg3 = wxString_in_helper(obj2);
24634 if (arg3 == NULL) SWIG_fail;
24635 temp3 = true;
24636 }
24637 if (obj3) {
24638 {
24639 arg4 = wxString_in_helper(obj3);
24640 if (arg4 == NULL) SWIG_fail;
24641 temp4 = true;
24642 }
24643 }
24644 {
24645 PyThreadState* __tstate = wxPyBeginAllowThreads();
24646 (arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
24647
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 Py_INCREF(Py_None); resultobj = Py_None;
24652 {
24653 if (temp3)
24654 delete arg3;
24655 }
24656 {
24657 if (temp4)
24658 delete arg4;
24659 }
24660 return resultobj;
24661 fail:
24662 {
24663 if (temp3)
24664 delete arg3;
24665 }
24666 {
24667 if (temp4)
24668 delete arg4;
24669 }
24670 return NULL;
24671 }
24672
24673
24674 static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxMenu *arg1 = (wxMenu *) 0 ;
24677 PyObject * obj0 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
24683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 (arg1)->AppendSeparator();
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 Py_INCREF(Py_None); resultobj = Py_None;
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj;
24700 wxMenu *arg1 = (wxMenu *) 0 ;
24701 int arg2 ;
24702 wxString *arg3 = 0 ;
24703 wxString const &arg4_defvalue = wxPyEmptyString ;
24704 wxString *arg4 = (wxString *) &arg4_defvalue ;
24705 bool temp3 = false ;
24706 bool temp4 = false ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj2 = 0 ;
24709 PyObject * obj3 = 0 ;
24710 char *kwnames[] = {
24711 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24712 };
24713
24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24716 {
24717 arg3 = wxString_in_helper(obj2);
24718 if (arg3 == NULL) SWIG_fail;
24719 temp3 = true;
24720 }
24721 if (obj3) {
24722 {
24723 arg4 = wxString_in_helper(obj3);
24724 if (arg4 == NULL) SWIG_fail;
24725 temp4 = true;
24726 }
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 (arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 Py_INCREF(Py_None); resultobj = Py_None;
24736 {
24737 if (temp3)
24738 delete arg3;
24739 }
24740 {
24741 if (temp4)
24742 delete arg4;
24743 }
24744 return resultobj;
24745 fail:
24746 {
24747 if (temp3)
24748 delete arg3;
24749 }
24750 {
24751 if (temp4)
24752 delete arg4;
24753 }
24754 return NULL;
24755 }
24756
24757
24758 static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24759 PyObject *resultobj;
24760 wxMenu *arg1 = (wxMenu *) 0 ;
24761 int arg2 ;
24762 wxString *arg3 = 0 ;
24763 wxString const &arg4_defvalue = wxPyEmptyString ;
24764 wxString *arg4 = (wxString *) &arg4_defvalue ;
24765 bool temp3 = false ;
24766 bool temp4 = false ;
24767 PyObject * obj0 = 0 ;
24768 PyObject * obj2 = 0 ;
24769 PyObject * obj3 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_AppendRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
24775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24776 {
24777 arg3 = wxString_in_helper(obj2);
24778 if (arg3 == NULL) SWIG_fail;
24779 temp3 = true;
24780 }
24781 if (obj3) {
24782 {
24783 arg4 = wxString_in_helper(obj3);
24784 if (arg4 == NULL) SWIG_fail;
24785 temp4 = true;
24786 }
24787 }
24788 {
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 (arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
24791
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 Py_INCREF(Py_None); resultobj = Py_None;
24796 {
24797 if (temp3)
24798 delete arg3;
24799 }
24800 {
24801 if (temp4)
24802 delete arg4;
24803 }
24804 return resultobj;
24805 fail:
24806 {
24807 if (temp3)
24808 delete arg3;
24809 }
24810 {
24811 if (temp4)
24812 delete arg4;
24813 }
24814 return NULL;
24815 }
24816
24817
24818 static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
24819 PyObject *resultobj;
24820 wxMenu *arg1 = (wxMenu *) 0 ;
24821 int arg2 ;
24822 wxString *arg3 = 0 ;
24823 wxMenu *arg4 = (wxMenu *) 0 ;
24824 wxString const &arg5_defvalue = wxPyEmptyString ;
24825 wxString *arg5 = (wxString *) &arg5_defvalue ;
24826 bool temp3 = false ;
24827 bool temp5 = false ;
24828 PyObject * obj0 = 0 ;
24829 PyObject * obj2 = 0 ;
24830 PyObject * obj3 = 0 ;
24831 PyObject * obj4 = 0 ;
24832 char *kwnames[] = {
24833 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24834 };
24835
24836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_AppendMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
24837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24838 {
24839 arg3 = wxString_in_helper(obj2);
24840 if (arg3 == NULL) SWIG_fail;
24841 temp3 = true;
24842 }
24843 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24844 if (obj4) {
24845 {
24846 arg5 = wxString_in_helper(obj4);
24847 if (arg5 == NULL) SWIG_fail;
24848 temp5 = true;
24849 }
24850 }
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 (arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 Py_INCREF(Py_None); resultobj = Py_None;
24859 {
24860 if (temp3)
24861 delete arg3;
24862 }
24863 {
24864 if (temp5)
24865 delete arg5;
24866 }
24867 return resultobj;
24868 fail:
24869 {
24870 if (temp3)
24871 delete arg3;
24872 }
24873 {
24874 if (temp5)
24875 delete arg5;
24876 }
24877 return NULL;
24878 }
24879
24880
24881 static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxMenu *arg1 = (wxMenu *) 0 ;
24884 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
24885 PyObject * obj0 = 0 ;
24886 PyObject * obj1 = 0 ;
24887 char *kwnames[] = {
24888 (char *) "self",(char *) "item", NULL
24889 };
24890
24891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
24892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24894 {
24895 PyThreadState* __tstate = wxPyBeginAllowThreads();
24896 (arg1)->Append(arg2);
24897
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 Py_INCREF(Py_None); resultobj = Py_None;
24902 return resultobj;
24903 fail:
24904 return NULL;
24905 }
24906
24907
24908 static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxMenu *arg1 = (wxMenu *) 0 ;
24911 PyObject * obj0 = 0 ;
24912 char *kwnames[] = {
24913 (char *) "self", NULL
24914 };
24915
24916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
24917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 (arg1)->Break();
24921
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 Py_INCREF(Py_None); resultobj = Py_None;
24926 return resultobj;
24927 fail:
24928 return NULL;
24929 }
24930
24931
24932 static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24933 PyObject *resultobj;
24934 wxMenu *arg1 = (wxMenu *) 0 ;
24935 size_t arg2 ;
24936 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
24937 bool result;
24938 PyObject * obj0 = 0 ;
24939 PyObject * obj1 = 0 ;
24940 PyObject * obj2 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "self",(char *) "pos",(char *) "item", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24947 arg2 = (size_t) PyInt_AsLong(obj1);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24950 {
24951 PyThreadState* __tstate = wxPyBeginAllowThreads();
24952 result = (bool)(arg1)->Insert(arg2,arg3);
24953
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 resultobj = PyInt_FromLong((long)result);
24958 return resultobj;
24959 fail:
24960 return NULL;
24961 }
24962
24963
24964 static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
24965 PyObject *resultobj;
24966 wxMenu *arg1 = (wxMenu *) 0 ;
24967 size_t arg2 ;
24968 int arg3 ;
24969 wxString *arg4 = 0 ;
24970 wxString const &arg5_defvalue = wxPyEmptyString ;
24971 wxString *arg5 = (wxString *) &arg5_defvalue ;
24972 int arg6 = (int) wxITEM_NORMAL ;
24973 bool temp4 = false ;
24974 bool temp5 = false ;
24975 PyObject * obj0 = 0 ;
24976 PyObject * obj1 = 0 ;
24977 PyObject * obj3 = 0 ;
24978 PyObject * obj4 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|Oi:Menu_Insert",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24985 arg2 = (size_t) PyInt_AsLong(obj1);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 {
24988 arg4 = wxString_in_helper(obj3);
24989 if (arg4 == NULL) SWIG_fail;
24990 temp4 = true;
24991 }
24992 if (obj4) {
24993 {
24994 arg5 = wxString_in_helper(obj4);
24995 if (arg5 == NULL) SWIG_fail;
24996 temp5 = true;
24997 }
24998 }
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 Py_INCREF(Py_None); resultobj = Py_None;
25007 {
25008 if (temp4)
25009 delete arg4;
25010 }
25011 {
25012 if (temp5)
25013 delete arg5;
25014 }
25015 return resultobj;
25016 fail:
25017 {
25018 if (temp4)
25019 delete arg4;
25020 }
25021 {
25022 if (temp5)
25023 delete arg5;
25024 }
25025 return NULL;
25026 }
25027
25028
25029 static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj;
25031 wxMenu *arg1 = (wxMenu *) 0 ;
25032 size_t arg2 ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "pos", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
25040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25041 arg2 = (size_t) PyInt_AsLong(obj1);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 (arg1)->InsertSeparator(arg2);
25046
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 Py_INCREF(Py_None); resultobj = Py_None;
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj;
25059 wxMenu *arg1 = (wxMenu *) 0 ;
25060 size_t arg2 ;
25061 int arg3 ;
25062 wxString *arg4 = 0 ;
25063 wxString const &arg5_defvalue = wxPyEmptyString ;
25064 wxString *arg5 = (wxString *) &arg5_defvalue ;
25065 bool temp4 = false ;
25066 bool temp5 = false ;
25067 PyObject * obj0 = 0 ;
25068 PyObject * obj1 = 0 ;
25069 PyObject * obj3 = 0 ;
25070 PyObject * obj4 = 0 ;
25071 char *kwnames[] = {
25072 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25073 };
25074
25075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25077 arg2 = (size_t) PyInt_AsLong(obj1);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 {
25080 arg4 = wxString_in_helper(obj3);
25081 if (arg4 == NULL) SWIG_fail;
25082 temp4 = true;
25083 }
25084 if (obj4) {
25085 {
25086 arg5 = wxString_in_helper(obj4);
25087 if (arg5 == NULL) SWIG_fail;
25088 temp5 = true;
25089 }
25090 }
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 (arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 Py_INCREF(Py_None); resultobj = Py_None;
25099 {
25100 if (temp4)
25101 delete arg4;
25102 }
25103 {
25104 if (temp5)
25105 delete arg5;
25106 }
25107 return resultobj;
25108 fail:
25109 {
25110 if (temp4)
25111 delete arg4;
25112 }
25113 {
25114 if (temp5)
25115 delete arg5;
25116 }
25117 return NULL;
25118 }
25119
25120
25121 static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25122 PyObject *resultobj;
25123 wxMenu *arg1 = (wxMenu *) 0 ;
25124 size_t arg2 ;
25125 int arg3 ;
25126 wxString *arg4 = 0 ;
25127 wxString const &arg5_defvalue = wxPyEmptyString ;
25128 wxString *arg5 = (wxString *) &arg5_defvalue ;
25129 bool temp4 = false ;
25130 bool temp5 = false ;
25131 PyObject * obj0 = 0 ;
25132 PyObject * obj1 = 0 ;
25133 PyObject * obj3 = 0 ;
25134 PyObject * obj4 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4)) goto fail;
25140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25141 arg2 = (size_t) PyInt_AsLong(obj1);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 {
25144 arg4 = wxString_in_helper(obj3);
25145 if (arg4 == NULL) SWIG_fail;
25146 temp4 = true;
25147 }
25148 if (obj4) {
25149 {
25150 arg5 = wxString_in_helper(obj4);
25151 if (arg5 == NULL) SWIG_fail;
25152 temp5 = true;
25153 }
25154 }
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 (arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 Py_INCREF(Py_None); resultobj = Py_None;
25163 {
25164 if (temp4)
25165 delete arg4;
25166 }
25167 {
25168 if (temp5)
25169 delete arg5;
25170 }
25171 return resultobj;
25172 fail:
25173 {
25174 if (temp4)
25175 delete arg4;
25176 }
25177 {
25178 if (temp5)
25179 delete arg5;
25180 }
25181 return NULL;
25182 }
25183
25184
25185 static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25186 PyObject *resultobj;
25187 wxMenu *arg1 = (wxMenu *) 0 ;
25188 size_t arg2 ;
25189 int arg3 ;
25190 wxString *arg4 = 0 ;
25191 wxMenu *arg5 = (wxMenu *) 0 ;
25192 wxString const &arg6_defvalue = wxPyEmptyString ;
25193 wxString *arg6 = (wxString *) &arg6_defvalue ;
25194 bool temp4 = false ;
25195 bool temp6 = false ;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 PyObject * obj3 = 0 ;
25199 PyObject * obj4 = 0 ;
25200 PyObject * obj5 = 0 ;
25201 char *kwnames[] = {
25202 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25203 };
25204
25205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5)) goto fail;
25206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25207 arg2 = (size_t) PyInt_AsLong(obj1);
25208 if (PyErr_Occurred()) SWIG_fail;
25209 {
25210 arg4 = wxString_in_helper(obj3);
25211 if (arg4 == NULL) SWIG_fail;
25212 temp4 = true;
25213 }
25214 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25215 if (obj5) {
25216 {
25217 arg6 = wxString_in_helper(obj5);
25218 if (arg6 == NULL) SWIG_fail;
25219 temp6 = true;
25220 }
25221 }
25222 {
25223 PyThreadState* __tstate = wxPyBeginAllowThreads();
25224 (arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
25225
25226 wxPyEndAllowThreads(__tstate);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 Py_INCREF(Py_None); resultobj = Py_None;
25230 {
25231 if (temp4)
25232 delete arg4;
25233 }
25234 {
25235 if (temp6)
25236 delete arg6;
25237 }
25238 return resultobj;
25239 fail:
25240 {
25241 if (temp4)
25242 delete arg4;
25243 }
25244 {
25245 if (temp6)
25246 delete arg6;
25247 }
25248 return NULL;
25249 }
25250
25251
25252 static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25253 PyObject *resultobj;
25254 wxMenu *arg1 = (wxMenu *) 0 ;
25255 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25256 PyObject * obj0 = 0 ;
25257 PyObject * obj1 = 0 ;
25258 char *kwnames[] = {
25259 (char *) "self",(char *) "item", NULL
25260 };
25261
25262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
25263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25265 {
25266 PyThreadState* __tstate = wxPyBeginAllowThreads();
25267 (arg1)->Prepend(arg2);
25268
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 Py_INCREF(Py_None); resultobj = Py_None;
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
25280 PyObject *resultobj;
25281 wxMenu *arg1 = (wxMenu *) 0 ;
25282 int arg2 ;
25283 wxString *arg3 = 0 ;
25284 wxString const &arg4_defvalue = wxPyEmptyString ;
25285 wxString *arg4 = (wxString *) &arg4_defvalue ;
25286 int arg5 = (int) wxITEM_NORMAL ;
25287 bool temp3 = false ;
25288 bool temp4 = false ;
25289 PyObject * obj0 = 0 ;
25290 PyObject * obj2 = 0 ;
25291 PyObject * obj3 = 0 ;
25292 char *kwnames[] = {
25293 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25294 };
25295
25296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|Oi:Menu_Prepend",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25298 {
25299 arg3 = wxString_in_helper(obj2);
25300 if (arg3 == NULL) SWIG_fail;
25301 temp3 = true;
25302 }
25303 if (obj3) {
25304 {
25305 arg4 = wxString_in_helper(obj3);
25306 if (arg4 == NULL) SWIG_fail;
25307 temp4 = true;
25308 }
25309 }
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 (arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 Py_INCREF(Py_None); resultobj = Py_None;
25318 {
25319 if (temp3)
25320 delete arg3;
25321 }
25322 {
25323 if (temp4)
25324 delete arg4;
25325 }
25326 return resultobj;
25327 fail:
25328 {
25329 if (temp3)
25330 delete arg3;
25331 }
25332 {
25333 if (temp4)
25334 delete arg4;
25335 }
25336 return NULL;
25337 }
25338
25339
25340 static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
25341 PyObject *resultobj;
25342 wxMenu *arg1 = (wxMenu *) 0 ;
25343 PyObject * obj0 = 0 ;
25344 char *kwnames[] = {
25345 (char *) "self", NULL
25346 };
25347
25348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
25349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 (arg1)->PrependSeparator();
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361 }
25362
25363
25364 static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25365 PyObject *resultobj;
25366 wxMenu *arg1 = (wxMenu *) 0 ;
25367 int arg2 ;
25368 wxString *arg3 = 0 ;
25369 wxString const &arg4_defvalue = wxPyEmptyString ;
25370 wxString *arg4 = (wxString *) &arg4_defvalue ;
25371 bool temp3 = false ;
25372 bool temp4 = false ;
25373 PyObject * obj0 = 0 ;
25374 PyObject * obj2 = 0 ;
25375 PyObject * obj3 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependCheckItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25382 {
25383 arg3 = wxString_in_helper(obj2);
25384 if (arg3 == NULL) SWIG_fail;
25385 temp3 = true;
25386 }
25387 if (obj3) {
25388 {
25389 arg4 = wxString_in_helper(obj3);
25390 if (arg4 == NULL) SWIG_fail;
25391 temp4 = true;
25392 }
25393 }
25394 {
25395 PyThreadState* __tstate = wxPyBeginAllowThreads();
25396 (arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25397
25398 wxPyEndAllowThreads(__tstate);
25399 if (PyErr_Occurred()) SWIG_fail;
25400 }
25401 Py_INCREF(Py_None); resultobj = Py_None;
25402 {
25403 if (temp3)
25404 delete arg3;
25405 }
25406 {
25407 if (temp4)
25408 delete arg4;
25409 }
25410 return resultobj;
25411 fail:
25412 {
25413 if (temp3)
25414 delete arg3;
25415 }
25416 {
25417 if (temp4)
25418 delete arg4;
25419 }
25420 return NULL;
25421 }
25422
25423
25424 static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25425 PyObject *resultobj;
25426 wxMenu *arg1 = (wxMenu *) 0 ;
25427 int arg2 ;
25428 wxString *arg3 = 0 ;
25429 wxString const &arg4_defvalue = wxPyEmptyString ;
25430 wxString *arg4 = (wxString *) &arg4_defvalue ;
25431 bool temp3 = false ;
25432 bool temp4 = false ;
25433 PyObject * obj0 = 0 ;
25434 PyObject * obj2 = 0 ;
25435 PyObject * obj3 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25438 };
25439
25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|O:Menu_PrependRadioItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
25441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25442 {
25443 arg3 = wxString_in_helper(obj2);
25444 if (arg3 == NULL) SWIG_fail;
25445 temp3 = true;
25446 }
25447 if (obj3) {
25448 {
25449 arg4 = wxString_in_helper(obj3);
25450 if (arg4 == NULL) SWIG_fail;
25451 temp4 = true;
25452 }
25453 }
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 (arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
25457
25458 wxPyEndAllowThreads(__tstate);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 }
25461 Py_INCREF(Py_None); resultobj = Py_None;
25462 {
25463 if (temp3)
25464 delete arg3;
25465 }
25466 {
25467 if (temp4)
25468 delete arg4;
25469 }
25470 return resultobj;
25471 fail:
25472 {
25473 if (temp3)
25474 delete arg3;
25475 }
25476 {
25477 if (temp4)
25478 delete arg4;
25479 }
25480 return NULL;
25481 }
25482
25483
25484 static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25485 PyObject *resultobj;
25486 wxMenu *arg1 = (wxMenu *) 0 ;
25487 int arg2 ;
25488 wxString *arg3 = 0 ;
25489 wxMenu *arg4 = (wxMenu *) 0 ;
25490 wxString const &arg5_defvalue = wxPyEmptyString ;
25491 wxString *arg5 = (wxString *) &arg5_defvalue ;
25492 bool temp3 = false ;
25493 bool temp5 = false ;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj2 = 0 ;
25496 PyObject * obj3 = 0 ;
25497 PyObject * obj4 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|O:Menu_PrependMenu",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4)) goto fail;
25503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25504 {
25505 arg3 = wxString_in_helper(obj2);
25506 if (arg3 == NULL) SWIG_fail;
25507 temp3 = true;
25508 }
25509 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25510 if (obj4) {
25511 {
25512 arg5 = wxString_in_helper(obj4);
25513 if (arg5 == NULL) SWIG_fail;
25514 temp5 = true;
25515 }
25516 }
25517 {
25518 PyThreadState* __tstate = wxPyBeginAllowThreads();
25519 (arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
25520
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 Py_INCREF(Py_None); resultobj = Py_None;
25525 {
25526 if (temp3)
25527 delete arg3;
25528 }
25529 {
25530 if (temp5)
25531 delete arg5;
25532 }
25533 return resultobj;
25534 fail:
25535 {
25536 if (temp3)
25537 delete arg3;
25538 }
25539 {
25540 if (temp5)
25541 delete arg5;
25542 }
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxMenu *arg1 = (wxMenu *) 0 ;
25550 int arg2 ;
25551 wxMenuItem *result;
25552 PyObject * obj0 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self",(char *) "itemid", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Remove",kwnames,&obj0,&arg2)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (wxMenuItem *)(arg1)->Remove(arg2);
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 {
25567 resultobj = wxPyMake_wxObject(result);
25568 }
25569 return resultobj;
25570 fail:
25571 return NULL;
25572 }
25573
25574
25575 static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25576 PyObject *resultobj;
25577 wxMenu *arg1 = (wxMenu *) 0 ;
25578 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25579 wxMenuItem *result;
25580 PyObject * obj0 = 0 ;
25581 PyObject * obj1 = 0 ;
25582 char *kwnames[] = {
25583 (char *) "self",(char *) "item", NULL
25584 };
25585
25586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
25587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25589 {
25590 PyThreadState* __tstate = wxPyBeginAllowThreads();
25591 result = (wxMenuItem *)(arg1)->Remove(arg2);
25592
25593 wxPyEndAllowThreads(__tstate);
25594 if (PyErr_Occurred()) SWIG_fail;
25595 }
25596 {
25597 resultobj = wxPyMake_wxObject(result);
25598 }
25599 return resultobj;
25600 fail:
25601 return NULL;
25602 }
25603
25604
25605 static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25606 PyObject *resultobj;
25607 wxMenu *arg1 = (wxMenu *) 0 ;
25608 int arg2 ;
25609 bool result;
25610 PyObject * obj0 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self",(char *) "itemid", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_Delete",kwnames,&obj0,&arg2)) goto fail;
25616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 result = (bool)(arg1)->Delete(arg2);
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 resultobj = PyInt_FromLong((long)result);
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj;
25633 wxMenu *arg1 = (wxMenu *) 0 ;
25634 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25635 bool result;
25636 PyObject * obj0 = 0 ;
25637 PyObject * obj1 = 0 ;
25638 char *kwnames[] = {
25639 (char *) "self",(char *) "item", NULL
25640 };
25641
25642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 result = (bool)(arg1)->Delete(arg2);
25648
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 resultobj = PyInt_FromLong((long)result);
25653 return resultobj;
25654 fail:
25655 return NULL;
25656 }
25657
25658
25659 static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25660 PyObject *resultobj;
25661 wxMenu *arg1 = (wxMenu *) 0 ;
25662 PyObject * obj0 = 0 ;
25663 char *kwnames[] = {
25664 (char *) "self", NULL
25665 };
25666
25667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
25668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25669 {
25670 PyThreadState* __tstate = wxPyBeginAllowThreads();
25671 wxMenu_Destroy(arg1);
25672
25673 wxPyEndAllowThreads(__tstate);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 }
25676 Py_INCREF(Py_None); resultobj = Py_None;
25677 return resultobj;
25678 fail:
25679 return NULL;
25680 }
25681
25682
25683 static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
25684 PyObject *resultobj;
25685 wxMenu *arg1 = (wxMenu *) 0 ;
25686 int arg2 ;
25687 bool result;
25688 PyObject * obj0 = 0 ;
25689 char *kwnames[] = {
25690 (char *) "self",(char *) "itemid", NULL
25691 };
25692
25693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_DestroyId",kwnames,&obj0,&arg2)) goto fail;
25694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 result = (bool)(arg1)->Destroy(arg2);
25698
25699 wxPyEndAllowThreads(__tstate);
25700 if (PyErr_Occurred()) SWIG_fail;
25701 }
25702 resultobj = PyInt_FromLong((long)result);
25703 return resultobj;
25704 fail:
25705 return NULL;
25706 }
25707
25708
25709 static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25710 PyObject *resultobj;
25711 wxMenu *arg1 = (wxMenu *) 0 ;
25712 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
25713 bool result;
25714 PyObject * obj0 = 0 ;
25715 PyObject * obj1 = 0 ;
25716 char *kwnames[] = {
25717 (char *) "self",(char *) "item", NULL
25718 };
25719
25720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
25721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25723 {
25724 PyThreadState* __tstate = wxPyBeginAllowThreads();
25725 result = (bool)(arg1)->Destroy(arg2);
25726
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 resultobj = PyInt_FromLong((long)result);
25731 return resultobj;
25732 fail:
25733 return NULL;
25734 }
25735
25736
25737 static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25738 PyObject *resultobj;
25739 wxMenu *arg1 = (wxMenu *) 0 ;
25740 size_t result;
25741 PyObject * obj0 = 0 ;
25742 char *kwnames[] = {
25743 (char *) "self", NULL
25744 };
25745
25746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
25747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
25751
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 resultobj = PyInt_FromLong((long)result);
25756 return resultobj;
25757 fail:
25758 return NULL;
25759 }
25760
25761
25762 static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25763 PyObject *resultobj;
25764 wxMenu *arg1 = (wxMenu *) 0 ;
25765 PyObject *result;
25766 PyObject * obj0 = 0 ;
25767 char *kwnames[] = {
25768 (char *) "self", NULL
25769 };
25770
25771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
25772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25773 {
25774 PyThreadState* __tstate = wxPyBeginAllowThreads();
25775 result = (PyObject *)wxMenu_GetMenuItems(arg1);
25776
25777 wxPyEndAllowThreads(__tstate);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 }
25780 resultobj = result;
25781 return resultobj;
25782 fail:
25783 return NULL;
25784 }
25785
25786
25787 static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25788 PyObject *resultobj;
25789 wxMenu *arg1 = (wxMenu *) 0 ;
25790 wxString *arg2 = 0 ;
25791 int result;
25792 bool temp2 = false ;
25793 PyObject * obj0 = 0 ;
25794 PyObject * obj1 = 0 ;
25795 char *kwnames[] = {
25796 (char *) "self",(char *) "item", NULL
25797 };
25798
25799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
25800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25801 {
25802 arg2 = wxString_in_helper(obj1);
25803 if (arg2 == NULL) SWIG_fail;
25804 temp2 = true;
25805 }
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 resultobj = PyInt_FromLong((long)result);
25814 {
25815 if (temp2)
25816 delete arg2;
25817 }
25818 return resultobj;
25819 fail:
25820 {
25821 if (temp2)
25822 delete arg2;
25823 }
25824 return NULL;
25825 }
25826
25827
25828 static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
25829 PyObject *resultobj;
25830 wxMenu *arg1 = (wxMenu *) 0 ;
25831 int arg2 ;
25832 wxMenuItem *result;
25833 PyObject * obj0 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self",(char *) "itemid", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_FindItemById",kwnames,&obj0,&arg2)) goto fail;
25839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
25843
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 {
25848 resultobj = wxPyMake_wxObject(result);
25849 }
25850 return resultobj;
25851 fail:
25852 return NULL;
25853 }
25854
25855
25856 static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj;
25858 wxMenu *arg1 = (wxMenu *) 0 ;
25859 size_t arg2 ;
25860 wxMenuItem *result;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 char *kwnames[] = {
25864 (char *) "self",(char *) "position", NULL
25865 };
25866
25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
25868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25869 arg2 = (size_t) PyInt_AsLong(obj1);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
25874
25875 wxPyEndAllowThreads(__tstate);
25876 if (PyErr_Occurred()) SWIG_fail;
25877 }
25878 {
25879 resultobj = wxPyMake_wxObject(result);
25880 }
25881 return resultobj;
25882 fail:
25883 return NULL;
25884 }
25885
25886
25887 static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
25888 PyObject *resultobj;
25889 wxMenu *arg1 = (wxMenu *) 0 ;
25890 int arg2 ;
25891 bool arg3 ;
25892 PyObject * obj0 = 0 ;
25893 PyObject * obj2 = 0 ;
25894 char *kwnames[] = {
25895 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25896 };
25897
25898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
25899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25900 arg3 = PyInt_AsLong(obj2) ? true : false;
25901 if (PyErr_Occurred()) SWIG_fail;
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 (arg1)->Enable(arg2,arg3);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 Py_INCREF(Py_None); resultobj = Py_None;
25910 return resultobj;
25911 fail:
25912 return NULL;
25913 }
25914
25915
25916 static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
25917 PyObject *resultobj;
25918 wxMenu *arg1 = (wxMenu *) 0 ;
25919 int arg2 ;
25920 bool result;
25921 PyObject * obj0 = 0 ;
25922 char *kwnames[] = {
25923 (char *) "self",(char *) "itemid", NULL
25924 };
25925
25926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
25927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = PyInt_FromLong((long)result);
25936 return resultobj;
25937 fail:
25938 return NULL;
25939 }
25940
25941
25942 static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
25943 PyObject *resultobj;
25944 wxMenu *arg1 = (wxMenu *) 0 ;
25945 int arg2 ;
25946 bool arg3 ;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj2 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self",(char *) "itemid",(char *) "check", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
25954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25955 arg3 = PyInt_AsLong(obj2) ? true : false;
25956 if (PyErr_Occurred()) SWIG_fail;
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 (arg1)->Check(arg2,arg3);
25960
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 Py_INCREF(Py_None); resultobj = Py_None;
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
25972 PyObject *resultobj;
25973 wxMenu *arg1 = (wxMenu *) 0 ;
25974 int arg2 ;
25975 bool result;
25976 PyObject * obj0 = 0 ;
25977 char *kwnames[] = {
25978 (char *) "self",(char *) "itemid", NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_IsChecked",kwnames,&obj0,&arg2)) goto fail;
25982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25983 {
25984 PyThreadState* __tstate = wxPyBeginAllowThreads();
25985 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
25986
25987 wxPyEndAllowThreads(__tstate);
25988 if (PyErr_Occurred()) SWIG_fail;
25989 }
25990 resultobj = PyInt_FromLong((long)result);
25991 return resultobj;
25992 fail:
25993 return NULL;
25994 }
25995
25996
25997 static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25998 PyObject *resultobj;
25999 wxMenu *arg1 = (wxMenu *) 0 ;
26000 int arg2 ;
26001 wxString *arg3 = 0 ;
26002 bool temp3 = false ;
26003 PyObject * obj0 = 0 ;
26004 PyObject * obj2 = 0 ;
26005 char *kwnames[] = {
26006 (char *) "self",(char *) "itemid",(char *) "label", NULL
26007 };
26008
26009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
26010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26011 {
26012 arg3 = wxString_in_helper(obj2);
26013 if (arg3 == NULL) SWIG_fail;
26014 temp3 = true;
26015 }
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 Py_INCREF(Py_None); resultobj = Py_None;
26024 {
26025 if (temp3)
26026 delete arg3;
26027 }
26028 return resultobj;
26029 fail:
26030 {
26031 if (temp3)
26032 delete arg3;
26033 }
26034 return NULL;
26035 }
26036
26037
26038 static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26039 PyObject *resultobj;
26040 wxMenu *arg1 = (wxMenu *) 0 ;
26041 int arg2 ;
26042 wxString result;
26043 PyObject * obj0 = 0 ;
26044 char *kwnames[] = {
26045 (char *) "self",(char *) "itemid", NULL
26046 };
26047
26048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetLabel",kwnames,&obj0,&arg2)) goto fail;
26049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = ((wxMenu const *)arg1)->GetLabel(arg2);
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 {
26058 #if wxUSE_UNICODE
26059 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26060 #else
26061 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26062 #endif
26063 }
26064 return resultobj;
26065 fail:
26066 return NULL;
26067 }
26068
26069
26070 static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj;
26072 wxMenu *arg1 = (wxMenu *) 0 ;
26073 int arg2 ;
26074 wxString *arg3 = 0 ;
26075 bool temp3 = false ;
26076 PyObject * obj0 = 0 ;
26077 PyObject * obj2 = 0 ;
26078 char *kwnames[] = {
26079 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26080 };
26081
26082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Menu_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
26083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26084 {
26085 arg3 = wxString_in_helper(obj2);
26086 if (arg3 == NULL) SWIG_fail;
26087 temp3 = true;
26088 }
26089 {
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
26092
26093 wxPyEndAllowThreads(__tstate);
26094 if (PyErr_Occurred()) SWIG_fail;
26095 }
26096 Py_INCREF(Py_None); resultobj = Py_None;
26097 {
26098 if (temp3)
26099 delete arg3;
26100 }
26101 return resultobj;
26102 fail:
26103 {
26104 if (temp3)
26105 delete arg3;
26106 }
26107 return NULL;
26108 }
26109
26110
26111 static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
26112 PyObject *resultobj;
26113 wxMenu *arg1 = (wxMenu *) 0 ;
26114 int arg2 ;
26115 wxString result;
26116 PyObject * obj0 = 0 ;
26117 char *kwnames[] = {
26118 (char *) "self",(char *) "itemid", NULL
26119 };
26120
26121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Menu_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
26122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
26130 {
26131 #if wxUSE_UNICODE
26132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26133 #else
26134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26135 #endif
26136 }
26137 return resultobj;
26138 fail:
26139 return NULL;
26140 }
26141
26142
26143 static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxMenu *arg1 = (wxMenu *) 0 ;
26146 wxString *arg2 = 0 ;
26147 bool temp2 = false ;
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 char *kwnames[] = {
26151 (char *) "self",(char *) "title", NULL
26152 };
26153
26154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
26155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26156 {
26157 arg2 = wxString_in_helper(obj1);
26158 if (arg2 == NULL) SWIG_fail;
26159 temp2 = true;
26160 }
26161 {
26162 PyThreadState* __tstate = wxPyBeginAllowThreads();
26163 (arg1)->SetTitle((wxString const &)*arg2);
26164
26165 wxPyEndAllowThreads(__tstate);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 }
26168 Py_INCREF(Py_None); resultobj = Py_None;
26169 {
26170 if (temp2)
26171 delete arg2;
26172 }
26173 return resultobj;
26174 fail:
26175 {
26176 if (temp2)
26177 delete arg2;
26178 }
26179 return NULL;
26180 }
26181
26182
26183 static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxMenu *arg1 = (wxMenu *) 0 ;
26186 wxString result;
26187 PyObject * obj0 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self", NULL
26190 };
26191
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
26193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 result = ((wxMenu const *)arg1)->GetTitle();
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 {
26202 #if wxUSE_UNICODE
26203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26204 #else
26205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26206 #endif
26207 }
26208 return resultobj;
26209 fail:
26210 return NULL;
26211 }
26212
26213
26214 static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26215 PyObject *resultobj;
26216 wxMenu *arg1 = (wxMenu *) 0 ;
26217 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
26218 PyObject * obj0 = 0 ;
26219 PyObject * obj1 = 0 ;
26220 char *kwnames[] = {
26221 (char *) "self",(char *) "handler", NULL
26222 };
26223
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
26225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
26229 (arg1)->SetEventHandler(arg2);
26230
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 Py_INCREF(Py_None); resultobj = Py_None;
26235 return resultobj;
26236 fail:
26237 return NULL;
26238 }
26239
26240
26241 static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxMenu *arg1 = (wxMenu *) 0 ;
26244 wxEvtHandler *result;
26245 PyObject * obj0 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
26251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
26255
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 {
26260 resultobj = wxPyMake_wxObject(result);
26261 }
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxMenu *arg1 = (wxMenu *) 0 ;
26271 wxWindow *arg2 = (wxWindow *) 0 ;
26272 PyObject * obj0 = 0 ;
26273 PyObject * obj1 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self",(char *) "win", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
26279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 (arg1)->SetInvokingWindow(arg2);
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 Py_INCREF(Py_None); resultobj = Py_None;
26289 return resultobj;
26290 fail:
26291 return NULL;
26292 }
26293
26294
26295 static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxMenu *arg1 = (wxMenu *) 0 ;
26298 wxWindow *result;
26299 PyObject * obj0 = 0 ;
26300 char *kwnames[] = {
26301 (char *) "self", NULL
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
26305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
26309
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 {
26314 resultobj = wxPyMake_wxObject(result);
26315 }
26316 return resultobj;
26317 fail:
26318 return NULL;
26319 }
26320
26321
26322 static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
26323 PyObject *resultobj;
26324 wxMenu *arg1 = (wxMenu *) 0 ;
26325 long result;
26326 PyObject * obj0 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
26332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 result = (long)((wxMenu const *)arg1)->GetStyle();
26336
26337 wxPyEndAllowThreads(__tstate);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 }
26340 resultobj = PyInt_FromLong((long)result);
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26348 PyObject *resultobj;
26349 wxMenu *arg1 = (wxMenu *) 0 ;
26350 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
26351 PyObject * obj0 = 0 ;
26352 PyObject * obj1 = 0 ;
26353 char *kwnames[] = {
26354 (char *) "self",(char *) "source", NULL
26355 };
26356
26357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
26358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26359 if (obj1) {
26360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26361 }
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 (arg1)->UpdateUI(arg2);
26365
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 Py_INCREF(Py_None); resultobj = Py_None;
26370 return resultobj;
26371 fail:
26372 return NULL;
26373 }
26374
26375
26376 static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26377 PyObject *resultobj;
26378 wxMenu *arg1 = (wxMenu *) 0 ;
26379 wxMenuBar *result;
26380 PyObject * obj0 = 0 ;
26381 char *kwnames[] = {
26382 (char *) "self", NULL
26383 };
26384
26385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
26386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
26390
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
26394 {
26395 resultobj = wxPyMake_wxObject(result);
26396 }
26397 return resultobj;
26398 fail:
26399 return NULL;
26400 }
26401
26402
26403 static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxMenu *arg1 = (wxMenu *) 0 ;
26406 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
26407 PyObject * obj0 = 0 ;
26408 PyObject * obj1 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "self",(char *) "menubar", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
26414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 (arg1)->Attach(arg2);
26419
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
26423 Py_INCREF(Py_None); resultobj = Py_None;
26424 return resultobj;
26425 fail:
26426 return NULL;
26427 }
26428
26429
26430 static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj;
26432 wxMenu *arg1 = (wxMenu *) 0 ;
26433 PyObject * obj0 = 0 ;
26434 char *kwnames[] = {
26435 (char *) "self", NULL
26436 };
26437
26438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
26439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 (arg1)->Detach();
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 Py_INCREF(Py_None); resultobj = Py_None;
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxMenu *arg1 = (wxMenu *) 0 ;
26457 bool result;
26458 PyObject * obj0 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
26464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 result = (bool)((wxMenu const *)arg1)->IsAttached();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 resultobj = PyInt_FromLong((long)result);
26473 return resultobj;
26474 fail:
26475 return NULL;
26476 }
26477
26478
26479 static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj;
26481 wxMenu *arg1 = (wxMenu *) 0 ;
26482 wxMenu *arg2 = (wxMenu *) 0 ;
26483 PyObject * obj0 = 0 ;
26484 PyObject * obj1 = 0 ;
26485 char *kwnames[] = {
26486 (char *) "self",(char *) "parent", NULL
26487 };
26488
26489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
26490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 (arg1)->SetParent(arg2);
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 Py_INCREF(Py_None); resultobj = Py_None;
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxMenu *arg1 = (wxMenu *) 0 ;
26509 wxMenu *result;
26510 PyObject * obj0 = 0 ;
26511 char *kwnames[] = {
26512 (char *) "self", NULL
26513 };
26514
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
26516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 {
26525 resultobj = wxPyMake_wxObject(result);
26526 }
26527 return resultobj;
26528 fail:
26529 return NULL;
26530 }
26531
26532
26533 static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
26534 PyObject *obj;
26535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26536 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
26537 Py_INCREF(obj);
26538 return Py_BuildValue((char *)"");
26539 }
26540 static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
26541 PyObject *resultobj;
26542 long arg1 = (long) 0 ;
26543 wxMenuBar *result;
26544 char *kwnames[] = {
26545 (char *) "style", NULL
26546 };
26547
26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|l:new_MenuBar",kwnames,&arg1)) goto fail;
26549 {
26550 PyThreadState* __tstate = wxPyBeginAllowThreads();
26551 result = (wxMenuBar *)new wxMenuBar(arg1);
26552
26553 wxPyEndAllowThreads(__tstate);
26554 if (PyErr_Occurred()) SWIG_fail;
26555 }
26556 {
26557 resultobj = wxPyMake_wxObject(result);
26558 }
26559 return resultobj;
26560 fail:
26561 return NULL;
26562 }
26563
26564
26565 static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
26566 PyObject *resultobj;
26567 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26568 wxMenu *arg2 = (wxMenu *) 0 ;
26569 wxString *arg3 = 0 ;
26570 bool result;
26571 bool temp3 = false ;
26572 PyObject * obj0 = 0 ;
26573 PyObject * obj1 = 0 ;
26574 PyObject * obj2 = 0 ;
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "menu",(char *) "title", NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
26580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26582 {
26583 arg3 = wxString_in_helper(obj2);
26584 if (arg3 == NULL) SWIG_fail;
26585 temp3 = true;
26586 }
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 resultobj = PyInt_FromLong((long)result);
26595 {
26596 if (temp3)
26597 delete arg3;
26598 }
26599 return resultobj;
26600 fail:
26601 {
26602 if (temp3)
26603 delete arg3;
26604 }
26605 return NULL;
26606 }
26607
26608
26609 static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
26610 PyObject *resultobj;
26611 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26612 size_t arg2 ;
26613 wxMenu *arg3 = (wxMenu *) 0 ;
26614 wxString *arg4 = 0 ;
26615 bool result;
26616 bool temp4 = false ;
26617 PyObject * obj0 = 0 ;
26618 PyObject * obj1 = 0 ;
26619 PyObject * obj2 = 0 ;
26620 PyObject * obj3 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26627 arg2 = (size_t) PyInt_AsLong(obj1);
26628 if (PyErr_Occurred()) SWIG_fail;
26629 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26630 {
26631 arg4 = wxString_in_helper(obj3);
26632 if (arg4 == NULL) SWIG_fail;
26633 temp4 = true;
26634 }
26635 {
26636 PyThreadState* __tstate = wxPyBeginAllowThreads();
26637 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
26638
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 resultobj = PyInt_FromLong((long)result);
26643 {
26644 if (temp4)
26645 delete arg4;
26646 }
26647 return resultobj;
26648 fail:
26649 {
26650 if (temp4)
26651 delete arg4;
26652 }
26653 return NULL;
26654 }
26655
26656
26657 static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj;
26659 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26660 size_t result;
26661 PyObject * obj0 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
26667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
26671
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 resultobj = PyInt_FromLong((long)result);
26676 return resultobj;
26677 fail:
26678 return NULL;
26679 }
26680
26681
26682 static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj;
26684 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26685 size_t arg2 ;
26686 wxMenu *result;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "pos", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26695 arg2 = (size_t) PyInt_AsLong(obj1);
26696 if (PyErr_Occurred()) SWIG_fail;
26697 {
26698 PyThreadState* __tstate = wxPyBeginAllowThreads();
26699 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
26700
26701 wxPyEndAllowThreads(__tstate);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 }
26704 {
26705 resultobj = wxPyMake_wxObject(result);
26706 }
26707 return resultobj;
26708 fail:
26709 return NULL;
26710 }
26711
26712
26713 static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj;
26715 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26716 size_t arg2 ;
26717 wxMenu *arg3 = (wxMenu *) 0 ;
26718 wxString *arg4 = 0 ;
26719 wxMenu *result;
26720 bool temp4 = false ;
26721 PyObject * obj0 = 0 ;
26722 PyObject * obj1 = 0 ;
26723 PyObject * obj2 = 0 ;
26724 PyObject * obj3 = 0 ;
26725 char *kwnames[] = {
26726 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26727 };
26728
26729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26731 arg2 = (size_t) PyInt_AsLong(obj1);
26732 if (PyErr_Occurred()) SWIG_fail;
26733 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26734 {
26735 arg4 = wxString_in_helper(obj3);
26736 if (arg4 == NULL) SWIG_fail;
26737 temp4 = true;
26738 }
26739 {
26740 PyThreadState* __tstate = wxPyBeginAllowThreads();
26741 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
26742
26743 wxPyEndAllowThreads(__tstate);
26744 if (PyErr_Occurred()) SWIG_fail;
26745 }
26746 {
26747 resultobj = wxPyMake_wxObject(result);
26748 }
26749 {
26750 if (temp4)
26751 delete arg4;
26752 }
26753 return resultobj;
26754 fail:
26755 {
26756 if (temp4)
26757 delete arg4;
26758 }
26759 return NULL;
26760 }
26761
26762
26763 static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
26764 PyObject *resultobj;
26765 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26766 size_t arg2 ;
26767 wxMenu *result;
26768 PyObject * obj0 = 0 ;
26769 PyObject * obj1 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "pos", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
26775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26776 arg2 = (size_t) PyInt_AsLong(obj1);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 result = (wxMenu *)(arg1)->Remove(arg2);
26781
26782 wxPyEndAllowThreads(__tstate);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 }
26785 {
26786 resultobj = wxPyMake_wxObject(result);
26787 }
26788 return resultobj;
26789 fail:
26790 return NULL;
26791 }
26792
26793
26794 static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26795 PyObject *resultobj;
26796 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26797 size_t arg2 ;
26798 bool arg3 ;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 PyObject * obj2 = 0 ;
26802 char *kwnames[] = {
26803 (char *) "self",(char *) "pos",(char *) "enable", NULL
26804 };
26805
26806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26808 arg2 = (size_t) PyInt_AsLong(obj1);
26809 if (PyErr_Occurred()) SWIG_fail;
26810 arg3 = PyInt_AsLong(obj2) ? true : false;
26811 if (PyErr_Occurred()) SWIG_fail;
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 (arg1)->EnableTop(arg2,arg3);
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 Py_INCREF(Py_None); resultobj = Py_None;
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj;
26828 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26829 size_t arg2 ;
26830 bool result;
26831 PyObject * obj0 = 0 ;
26832 PyObject * obj1 = 0 ;
26833 char *kwnames[] = {
26834 (char *) "self",(char *) "pos", NULL
26835 };
26836
26837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
26838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26839 arg2 = (size_t) PyInt_AsLong(obj1);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 {
26842 PyThreadState* __tstate = wxPyBeginAllowThreads();
26843 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
26844
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 resultobj = PyInt_FromLong((long)result);
26849 return resultobj;
26850 fail:
26851 return NULL;
26852 }
26853
26854
26855 static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj;
26857 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26858 size_t arg2 ;
26859 wxString *arg3 = 0 ;
26860 bool temp3 = false ;
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 PyObject * obj2 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self",(char *) "pos",(char *) "label", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26870 arg2 = (size_t) PyInt_AsLong(obj1);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 {
26873 arg3 = wxString_in_helper(obj2);
26874 if (arg3 == NULL) SWIG_fail;
26875 temp3 = true;
26876 }
26877 {
26878 PyThreadState* __tstate = wxPyBeginAllowThreads();
26879 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
26880
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 Py_INCREF(Py_None); resultobj = Py_None;
26885 {
26886 if (temp3)
26887 delete arg3;
26888 }
26889 return resultobj;
26890 fail:
26891 {
26892 if (temp3)
26893 delete arg3;
26894 }
26895 return NULL;
26896 }
26897
26898
26899 static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
26900 PyObject *resultobj;
26901 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26902 size_t arg2 ;
26903 wxString result;
26904 PyObject * obj0 = 0 ;
26905 PyObject * obj1 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self",(char *) "pos", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
26911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26912 arg2 = (size_t) PyInt_AsLong(obj1);
26913 if (PyErr_Occurred()) SWIG_fail;
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
26917
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 {
26922 #if wxUSE_UNICODE
26923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26924 #else
26925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26926 #endif
26927 }
26928 return resultobj;
26929 fail:
26930 return NULL;
26931 }
26932
26933
26934 static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26935 PyObject *resultobj;
26936 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26937 wxString *arg2 = 0 ;
26938 wxString *arg3 = 0 ;
26939 int result;
26940 bool temp2 = false ;
26941 bool temp3 = false ;
26942 PyObject * obj0 = 0 ;
26943 PyObject * obj1 = 0 ;
26944 PyObject * obj2 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self",(char *) "menu",(char *) "item", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26951 {
26952 arg2 = wxString_in_helper(obj1);
26953 if (arg2 == NULL) SWIG_fail;
26954 temp2 = true;
26955 }
26956 {
26957 arg3 = wxString_in_helper(obj2);
26958 if (arg3 == NULL) SWIG_fail;
26959 temp3 = true;
26960 }
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
26964
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 resultobj = PyInt_FromLong((long)result);
26969 {
26970 if (temp2)
26971 delete arg2;
26972 }
26973 {
26974 if (temp3)
26975 delete arg3;
26976 }
26977 return resultobj;
26978 fail:
26979 {
26980 if (temp2)
26981 delete arg2;
26982 }
26983 {
26984 if (temp3)
26985 delete arg3;
26986 }
26987 return NULL;
26988 }
26989
26990
26991 static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
26992 PyObject *resultobj;
26993 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
26994 int arg2 ;
26995 wxMenuItem *result;
26996 PyObject * obj0 = 0 ;
26997 char *kwnames[] = {
26998 (char *) "self",(char *) "itemid", NULL
26999 };
27000
27001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_FindItemById",kwnames,&obj0,&arg2)) goto fail;
27002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(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_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27022 wxString *arg2 = 0 ;
27023 int result;
27024 bool temp2 = false ;
27025 PyObject * obj0 = 0 ;
27026 PyObject * obj1 = 0 ;
27027 char *kwnames[] = {
27028 (char *) "self",(char *) "title", NULL
27029 };
27030
27031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
27032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27033 {
27034 arg2 = wxString_in_helper(obj1);
27035 if (arg2 == NULL) SWIG_fail;
27036 temp2 = true;
27037 }
27038 {
27039 PyThreadState* __tstate = wxPyBeginAllowThreads();
27040 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
27041
27042 wxPyEndAllowThreads(__tstate);
27043 if (PyErr_Occurred()) SWIG_fail;
27044 }
27045 resultobj = PyInt_FromLong((long)result);
27046 {
27047 if (temp2)
27048 delete arg2;
27049 }
27050 return resultobj;
27051 fail:
27052 {
27053 if (temp2)
27054 delete arg2;
27055 }
27056 return NULL;
27057 }
27058
27059
27060 static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27061 PyObject *resultobj;
27062 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27063 int arg2 ;
27064 bool arg3 ;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj2 = 0 ;
27067 char *kwnames[] = {
27068 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Enable",kwnames,&obj0,&arg2,&obj2)) goto fail;
27072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27073 arg3 = PyInt_AsLong(obj2) ? true : false;
27074 if (PyErr_Occurred()) SWIG_fail;
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 (arg1)->Enable(arg2,arg3);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 Py_INCREF(Py_None); resultobj = Py_None;
27083 return resultobj;
27084 fail:
27085 return NULL;
27086 }
27087
27088
27089 static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27090 PyObject *resultobj;
27091 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27092 int arg2 ;
27093 bool arg3 ;
27094 PyObject * obj0 = 0 ;
27095 PyObject * obj2 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self",(char *) "itemid",(char *) "check", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_Check",kwnames,&obj0,&arg2,&obj2)) goto fail;
27101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27102 arg3 = PyInt_AsLong(obj2) ? true : false;
27103 if (PyErr_Occurred()) SWIG_fail;
27104 {
27105 PyThreadState* __tstate = wxPyBeginAllowThreads();
27106 (arg1)->Check(arg2,arg3);
27107
27108 wxPyEndAllowThreads(__tstate);
27109 if (PyErr_Occurred()) SWIG_fail;
27110 }
27111 Py_INCREF(Py_None); resultobj = Py_None;
27112 return resultobj;
27113 fail:
27114 return NULL;
27115 }
27116
27117
27118 static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
27119 PyObject *resultobj;
27120 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27121 int arg2 ;
27122 bool result;
27123 PyObject * obj0 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "self",(char *) "itemid", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsChecked",kwnames,&obj0,&arg2)) goto fail;
27129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
27132 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
27133
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 resultobj = PyInt_FromLong((long)result);
27138 return resultobj;
27139 fail:
27140 return NULL;
27141 }
27142
27143
27144 static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27145 PyObject *resultobj;
27146 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27147 int arg2 ;
27148 bool result;
27149 PyObject * obj0 = 0 ;
27150 char *kwnames[] = {
27151 (char *) "self",(char *) "itemid", NULL
27152 };
27153
27154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_IsEnabled",kwnames,&obj0,&arg2)) goto fail;
27155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
27158 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = PyInt_FromLong((long)result);
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27173 int arg2 ;
27174 wxString *arg3 = 0 ;
27175 bool temp3 = false ;
27176 PyObject * obj0 = 0 ;
27177 PyObject * obj2 = 0 ;
27178 char *kwnames[] = {
27179 (char *) "self",(char *) "itemid",(char *) "label", NULL
27180 };
27181
27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetLabel",kwnames,&obj0,&arg2,&obj2)) goto fail;
27183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27184 {
27185 arg3 = wxString_in_helper(obj2);
27186 if (arg3 == NULL) SWIG_fail;
27187 temp3 = true;
27188 }
27189 {
27190 PyThreadState* __tstate = wxPyBeginAllowThreads();
27191 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
27192
27193 wxPyEndAllowThreads(__tstate);
27194 if (PyErr_Occurred()) SWIG_fail;
27195 }
27196 Py_INCREF(Py_None); resultobj = Py_None;
27197 {
27198 if (temp3)
27199 delete arg3;
27200 }
27201 return resultobj;
27202 fail:
27203 {
27204 if (temp3)
27205 delete arg3;
27206 }
27207 return NULL;
27208 }
27209
27210
27211 static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27212 PyObject *resultobj;
27213 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27214 int arg2 ;
27215 wxString result;
27216 PyObject * obj0 = 0 ;
27217 char *kwnames[] = {
27218 (char *) "self",(char *) "itemid", NULL
27219 };
27220
27221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetLabel",kwnames,&obj0,&arg2)) goto fail;
27222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27223 {
27224 PyThreadState* __tstate = wxPyBeginAllowThreads();
27225 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
27226
27227 wxPyEndAllowThreads(__tstate);
27228 if (PyErr_Occurred()) SWIG_fail;
27229 }
27230 {
27231 #if wxUSE_UNICODE
27232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27233 #else
27234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27235 #endif
27236 }
27237 return resultobj;
27238 fail:
27239 return NULL;
27240 }
27241
27242
27243 static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj;
27245 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27246 int arg2 ;
27247 wxString *arg3 = 0 ;
27248 bool temp3 = false ;
27249 PyObject * obj0 = 0 ;
27250 PyObject * obj2 = 0 ;
27251 char *kwnames[] = {
27252 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27253 };
27254
27255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:MenuBar_SetHelpString",kwnames,&obj0,&arg2,&obj2)) goto fail;
27256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27257 {
27258 arg3 = wxString_in_helper(obj2);
27259 if (arg3 == NULL) SWIG_fail;
27260 temp3 = true;
27261 }
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
27265
27266 wxPyEndAllowThreads(__tstate);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
27269 Py_INCREF(Py_None); resultobj = Py_None;
27270 {
27271 if (temp3)
27272 delete arg3;
27273 }
27274 return resultobj;
27275 fail:
27276 {
27277 if (temp3)
27278 delete arg3;
27279 }
27280 return NULL;
27281 }
27282
27283
27284 static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
27285 PyObject *resultobj;
27286 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27287 int arg2 ;
27288 wxString result;
27289 PyObject * obj0 = 0 ;
27290 char *kwnames[] = {
27291 (char *) "self",(char *) "itemid", NULL
27292 };
27293
27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuBar_GetHelpString",kwnames,&obj0,&arg2)) goto fail;
27295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27296 {
27297 PyThreadState* __tstate = wxPyBeginAllowThreads();
27298 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
27299
27300 wxPyEndAllowThreads(__tstate);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 }
27303 {
27304 #if wxUSE_UNICODE
27305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27306 #else
27307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27308 #endif
27309 }
27310 return resultobj;
27311 fail:
27312 return NULL;
27313 }
27314
27315
27316 static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
27317 PyObject *resultobj;
27318 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27319 wxFrame *result;
27320 PyObject * obj0 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
27326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27327 {
27328 PyThreadState* __tstate = wxPyBeginAllowThreads();
27329 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
27330
27331 wxPyEndAllowThreads(__tstate);
27332 if (PyErr_Occurred()) SWIG_fail;
27333 }
27334 {
27335 resultobj = wxPyMake_wxObject(result);
27336 }
27337 return resultobj;
27338 fail:
27339 return NULL;
27340 }
27341
27342
27343 static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27346 bool result;
27347 PyObject * obj0 = 0 ;
27348 char *kwnames[] = {
27349 (char *) "self", NULL
27350 };
27351
27352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
27353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 resultobj = PyInt_FromLong((long)result);
27362 return resultobj;
27363 fail:
27364 return NULL;
27365 }
27366
27367
27368 static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj;
27370 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27371 wxFrame *arg2 = (wxFrame *) 0 ;
27372 PyObject * obj0 = 0 ;
27373 PyObject * obj1 = 0 ;
27374 char *kwnames[] = {
27375 (char *) "self",(char *) "frame", NULL
27376 };
27377
27378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
27379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27381 {
27382 PyThreadState* __tstate = wxPyBeginAllowThreads();
27383 (arg1)->Attach(arg2);
27384
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 Py_INCREF(Py_None); resultobj = Py_None;
27389 return resultobj;
27390 fail:
27391 return NULL;
27392 }
27393
27394
27395 static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
27396 PyObject *resultobj;
27397 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
27398 PyObject * obj0 = 0 ;
27399 char *kwnames[] = {
27400 (char *) "self", NULL
27401 };
27402
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
27404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 (arg1)->Detach();
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 Py_INCREF(Py_None); resultobj = Py_None;
27413 return resultobj;
27414 fail:
27415 return NULL;
27416 }
27417
27418
27419 static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
27420 PyObject *obj;
27421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27422 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
27423 Py_INCREF(obj);
27424 return Py_BuildValue((char *)"");
27425 }
27426 static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27427 PyObject *resultobj;
27428 wxMenu *arg1 = (wxMenu *) NULL ;
27429 int arg2 = (int) wxID_SEPARATOR ;
27430 wxString const &arg3_defvalue = wxPyEmptyString ;
27431 wxString *arg3 = (wxString *) &arg3_defvalue ;
27432 wxString const &arg4_defvalue = wxPyEmptyString ;
27433 wxString *arg4 = (wxString *) &arg4_defvalue ;
27434 int arg5 = (int) wxITEM_NORMAL ;
27435 wxMenu *arg6 = (wxMenu *) NULL ;
27436 wxMenuItem *result;
27437 bool temp3 = false ;
27438 bool temp4 = false ;
27439 PyObject * obj0 = 0 ;
27440 PyObject * obj2 = 0 ;
27441 PyObject * obj3 = 0 ;
27442 PyObject * obj5 = 0 ;
27443 char *kwnames[] = {
27444 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27445 };
27446
27447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOOiO:new_MenuItem",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
27448 if (obj0) {
27449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27450 }
27451 if (obj2) {
27452 {
27453 arg3 = wxString_in_helper(obj2);
27454 if (arg3 == NULL) SWIG_fail;
27455 temp3 = true;
27456 }
27457 }
27458 if (obj3) {
27459 {
27460 arg4 = wxString_in_helper(obj3);
27461 if (arg4 == NULL) SWIG_fail;
27462 temp4 = true;
27463 }
27464 }
27465 if (obj5) {
27466 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27467 }
27468 {
27469 PyThreadState* __tstate = wxPyBeginAllowThreads();
27470 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
27471
27472 wxPyEndAllowThreads(__tstate);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 {
27476 resultobj = wxPyMake_wxObject(result);
27477 }
27478 {
27479 if (temp3)
27480 delete arg3;
27481 }
27482 {
27483 if (temp4)
27484 delete arg4;
27485 }
27486 return resultobj;
27487 fail:
27488 {
27489 if (temp3)
27490 delete arg3;
27491 }
27492 {
27493 if (temp4)
27494 delete arg4;
27495 }
27496 return NULL;
27497 }
27498
27499
27500 static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27501 PyObject *resultobj;
27502 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27503 wxMenu *result;
27504 PyObject * obj0 = 0 ;
27505 char *kwnames[] = {
27506 (char *) "self", NULL
27507 };
27508
27509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
27510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27511 {
27512 PyThreadState* __tstate = wxPyBeginAllowThreads();
27513 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
27514
27515 wxPyEndAllowThreads(__tstate);
27516 if (PyErr_Occurred()) SWIG_fail;
27517 }
27518 {
27519 resultobj = wxPyMake_wxObject(result);
27520 }
27521 return resultobj;
27522 fail:
27523 return NULL;
27524 }
27525
27526
27527 static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27528 PyObject *resultobj;
27529 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27530 wxMenu *arg2 = (wxMenu *) 0 ;
27531 PyObject * obj0 = 0 ;
27532 PyObject * obj1 = 0 ;
27533 char *kwnames[] = {
27534 (char *) "self",(char *) "menu", NULL
27535 };
27536
27537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
27538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 (arg1)->SetMenu(arg2);
27543
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 Py_INCREF(Py_None); resultobj = Py_None;
27548 return resultobj;
27549 fail:
27550 return NULL;
27551 }
27552
27553
27554 static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27555 PyObject *resultobj;
27556 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27557 int arg2 ;
27558 PyObject * obj0 = 0 ;
27559 char *kwnames[] = {
27560 (char *) "self",(char *) "itemid", NULL
27561 };
27562
27563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:MenuItem_SetId",kwnames,&obj0,&arg2)) goto fail;
27564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->SetId(arg2);
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 Py_INCREF(Py_None); resultobj = Py_None;
27573 return resultobj;
27574 fail:
27575 return NULL;
27576 }
27577
27578
27579 static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
27580 PyObject *resultobj;
27581 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27582 int result;
27583 PyObject * obj0 = 0 ;
27584 char *kwnames[] = {
27585 (char *) "self", NULL
27586 };
27587
27588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
27589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27590 {
27591 PyThreadState* __tstate = wxPyBeginAllowThreads();
27592 result = (int)((wxMenuItem const *)arg1)->GetId();
27593
27594 wxPyEndAllowThreads(__tstate);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 }
27597 resultobj = PyInt_FromLong((long)result);
27598 return resultobj;
27599 fail:
27600 return NULL;
27601 }
27602
27603
27604 static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27605 PyObject *resultobj;
27606 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27607 bool result;
27608 PyObject * obj0 = 0 ;
27609 char *kwnames[] = {
27610 (char *) "self", NULL
27611 };
27612
27613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
27614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27615 {
27616 PyThreadState* __tstate = wxPyBeginAllowThreads();
27617 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
27618
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 resultobj = PyInt_FromLong((long)result);
27623 return resultobj;
27624 fail:
27625 return NULL;
27626 }
27627
27628
27629 static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27630 PyObject *resultobj;
27631 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27632 wxString *arg2 = 0 ;
27633 bool temp2 = false ;
27634 PyObject * obj0 = 0 ;
27635 PyObject * obj1 = 0 ;
27636 char *kwnames[] = {
27637 (char *) "self",(char *) "str", NULL
27638 };
27639
27640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
27641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27642 {
27643 arg2 = wxString_in_helper(obj1);
27644 if (arg2 == NULL) SWIG_fail;
27645 temp2 = true;
27646 }
27647 {
27648 PyThreadState* __tstate = wxPyBeginAllowThreads();
27649 (arg1)->SetText((wxString const &)*arg2);
27650
27651 wxPyEndAllowThreads(__tstate);
27652 if (PyErr_Occurred()) SWIG_fail;
27653 }
27654 Py_INCREF(Py_None); resultobj = Py_None;
27655 {
27656 if (temp2)
27657 delete arg2;
27658 }
27659 return resultobj;
27660 fail:
27661 {
27662 if (temp2)
27663 delete arg2;
27664 }
27665 return NULL;
27666 }
27667
27668
27669 static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27670 PyObject *resultobj;
27671 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27672 wxString result;
27673 PyObject * obj0 = 0 ;
27674 char *kwnames[] = {
27675 (char *) "self", NULL
27676 };
27677
27678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
27679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27680 {
27681 PyThreadState* __tstate = wxPyBeginAllowThreads();
27682 result = ((wxMenuItem const *)arg1)->GetLabel();
27683
27684 wxPyEndAllowThreads(__tstate);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 }
27687 {
27688 #if wxUSE_UNICODE
27689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27690 #else
27691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27692 #endif
27693 }
27694 return resultobj;
27695 fail:
27696 return NULL;
27697 }
27698
27699
27700 static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
27701 PyObject *resultobj;
27702 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27703 wxString *result;
27704 PyObject * obj0 = 0 ;
27705 char *kwnames[] = {
27706 (char *) "self", NULL
27707 };
27708
27709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
27710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 {
27714 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
27715 result = (wxString *) &_result_ref;
27716 }
27717
27718 wxPyEndAllowThreads(__tstate);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
27721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
27722 return resultobj;
27723 fail:
27724 return NULL;
27725 }
27726
27727
27728 static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
27729 PyObject *resultobj;
27730 wxString *arg1 = 0 ;
27731 wxString result;
27732 bool temp1 = false ;
27733 PyObject * obj0 = 0 ;
27734 char *kwnames[] = {
27735 (char *) "text", NULL
27736 };
27737
27738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
27739 {
27740 arg1 = wxString_in_helper(obj0);
27741 if (arg1 == NULL) SWIG_fail;
27742 temp1 = true;
27743 }
27744 {
27745 PyThreadState* __tstate = wxPyBeginAllowThreads();
27746 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
27747
27748 wxPyEndAllowThreads(__tstate);
27749 if (PyErr_Occurred()) SWIG_fail;
27750 }
27751 {
27752 #if wxUSE_UNICODE
27753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27754 #else
27755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27756 #endif
27757 }
27758 {
27759 if (temp1)
27760 delete arg1;
27761 }
27762 return resultobj;
27763 fail:
27764 {
27765 if (temp1)
27766 delete arg1;
27767 }
27768 return NULL;
27769 }
27770
27771
27772 static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
27773 PyObject *resultobj;
27774 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27775 int result;
27776 PyObject * obj0 = 0 ;
27777 char *kwnames[] = {
27778 (char *) "self", NULL
27779 };
27780
27781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
27782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27783 {
27784 PyThreadState* __tstate = wxPyBeginAllowThreads();
27785 result = (int)((wxMenuItem const *)arg1)->GetKind();
27786
27787 wxPyEndAllowThreads(__tstate);
27788 if (PyErr_Occurred()) SWIG_fail;
27789 }
27790 resultobj = PyInt_FromLong((long)result);
27791 return resultobj;
27792 fail:
27793 return NULL;
27794 }
27795
27796
27797 static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27798 PyObject *resultobj;
27799 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27800 bool arg2 ;
27801 PyObject * obj0 = 0 ;
27802 PyObject * obj1 = 0 ;
27803 char *kwnames[] = {
27804 (char *) "self",(char *) "checkable", NULL
27805 };
27806
27807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
27808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27809 arg2 = PyInt_AsLong(obj1) ? true : false;
27810 if (PyErr_Occurred()) SWIG_fail;
27811 {
27812 PyThreadState* __tstate = wxPyBeginAllowThreads();
27813 (arg1)->SetCheckable(arg2);
27814
27815 wxPyEndAllowThreads(__tstate);
27816 if (PyErr_Occurred()) SWIG_fail;
27817 }
27818 Py_INCREF(Py_None); resultobj = Py_None;
27819 return resultobj;
27820 fail:
27821 return NULL;
27822 }
27823
27824
27825 static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
27826 PyObject *resultobj;
27827 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27828 bool result;
27829 PyObject * obj0 = 0 ;
27830 char *kwnames[] = {
27831 (char *) "self", NULL
27832 };
27833
27834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
27835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27836 {
27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
27838 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
27839
27840 wxPyEndAllowThreads(__tstate);
27841 if (PyErr_Occurred()) SWIG_fail;
27842 }
27843 resultobj = PyInt_FromLong((long)result);
27844 return resultobj;
27845 fail:
27846 return NULL;
27847 }
27848
27849
27850 static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27851 PyObject *resultobj;
27852 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27853 bool result;
27854 PyObject * obj0 = 0 ;
27855 char *kwnames[] = {
27856 (char *) "self", NULL
27857 };
27858
27859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
27860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27861 {
27862 PyThreadState* __tstate = wxPyBeginAllowThreads();
27863 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
27864
27865 wxPyEndAllowThreads(__tstate);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 resultobj = PyInt_FromLong((long)result);
27869 return resultobj;
27870 fail:
27871 return NULL;
27872 }
27873
27874
27875 static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27876 PyObject *resultobj;
27877 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27878 wxMenu *arg2 = (wxMenu *) 0 ;
27879 PyObject * obj0 = 0 ;
27880 PyObject * obj1 = 0 ;
27881 char *kwnames[] = {
27882 (char *) "self",(char *) "menu", NULL
27883 };
27884
27885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
27886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 (arg1)->SetSubMenu(arg2);
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 Py_INCREF(Py_None); resultobj = Py_None;
27896 return resultobj;
27897 fail:
27898 return NULL;
27899 }
27900
27901
27902 static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27905 wxMenu *result;
27906 PyObject * obj0 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
27912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27913 {
27914 PyThreadState* __tstate = wxPyBeginAllowThreads();
27915 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
27916
27917 wxPyEndAllowThreads(__tstate);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 {
27921 resultobj = wxPyMake_wxObject(result);
27922 }
27923 return resultobj;
27924 fail:
27925 return NULL;
27926 }
27927
27928
27929 static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj;
27931 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27932 bool arg2 = (bool) TRUE ;
27933 PyObject * obj0 = 0 ;
27934 PyObject * obj1 = 0 ;
27935 char *kwnames[] = {
27936 (char *) "self",(char *) "enable", NULL
27937 };
27938
27939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
27940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27941 if (obj1) {
27942 arg2 = PyInt_AsLong(obj1) ? true : false;
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 {
27946 PyThreadState* __tstate = wxPyBeginAllowThreads();
27947 (arg1)->Enable(arg2);
27948
27949 wxPyEndAllowThreads(__tstate);
27950 if (PyErr_Occurred()) SWIG_fail;
27951 }
27952 Py_INCREF(Py_None); resultobj = Py_None;
27953 return resultobj;
27954 fail:
27955 return NULL;
27956 }
27957
27958
27959 static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
27960 PyObject *resultobj;
27961 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27962 bool result;
27963 PyObject * obj0 = 0 ;
27964 char *kwnames[] = {
27965 (char *) "self", NULL
27966 };
27967
27968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
27969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27970 {
27971 PyThreadState* __tstate = wxPyBeginAllowThreads();
27972 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
27973
27974 wxPyEndAllowThreads(__tstate);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 resultobj = PyInt_FromLong((long)result);
27978 return resultobj;
27979 fail:
27980 return NULL;
27981 }
27982
27983
27984 static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
27985 PyObject *resultobj;
27986 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
27987 bool arg2 = (bool) TRUE ;
27988 PyObject * obj0 = 0 ;
27989 PyObject * obj1 = 0 ;
27990 char *kwnames[] = {
27991 (char *) "self",(char *) "check", NULL
27992 };
27993
27994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
27995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27996 if (obj1) {
27997 arg2 = PyInt_AsLong(obj1) ? true : false;
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 (arg1)->Check(arg2);
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 Py_INCREF(Py_None); resultobj = Py_None;
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj;
28016 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28017 bool result;
28018 PyObject * obj0 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
28024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
28028
28029 wxPyEndAllowThreads(__tstate);
28030 if (PyErr_Occurred()) SWIG_fail;
28031 }
28032 resultobj = PyInt_FromLong((long)result);
28033 return resultobj;
28034 fail:
28035 return NULL;
28036 }
28037
28038
28039 static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
28040 PyObject *resultobj;
28041 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28042 PyObject * obj0 = 0 ;
28043 char *kwnames[] = {
28044 (char *) "self", NULL
28045 };
28046
28047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
28048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28049 {
28050 PyThreadState* __tstate = wxPyBeginAllowThreads();
28051 (arg1)->Toggle();
28052
28053 wxPyEndAllowThreads(__tstate);
28054 if (PyErr_Occurred()) SWIG_fail;
28055 }
28056 Py_INCREF(Py_None); resultobj = Py_None;
28057 return resultobj;
28058 fail:
28059 return NULL;
28060 }
28061
28062
28063 static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28064 PyObject *resultobj;
28065 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28066 wxString *arg2 = 0 ;
28067 bool temp2 = false ;
28068 PyObject * obj0 = 0 ;
28069 PyObject * obj1 = 0 ;
28070 char *kwnames[] = {
28071 (char *) "self",(char *) "str", NULL
28072 };
28073
28074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
28075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28076 {
28077 arg2 = wxString_in_helper(obj1);
28078 if (arg2 == NULL) SWIG_fail;
28079 temp2 = true;
28080 }
28081 {
28082 PyThreadState* __tstate = wxPyBeginAllowThreads();
28083 (arg1)->SetHelp((wxString const &)*arg2);
28084
28085 wxPyEndAllowThreads(__tstate);
28086 if (PyErr_Occurred()) SWIG_fail;
28087 }
28088 Py_INCREF(Py_None); resultobj = Py_None;
28089 {
28090 if (temp2)
28091 delete arg2;
28092 }
28093 return resultobj;
28094 fail:
28095 {
28096 if (temp2)
28097 delete arg2;
28098 }
28099 return NULL;
28100 }
28101
28102
28103 static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28104 PyObject *resultobj;
28105 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28106 wxString *result;
28107 PyObject * obj0 = 0 ;
28108 char *kwnames[] = {
28109 (char *) "self", NULL
28110 };
28111
28112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
28113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 {
28117 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
28118 result = (wxString *) &_result_ref;
28119 }
28120
28121 wxPyEndAllowThreads(__tstate);
28122 if (PyErr_Occurred()) SWIG_fail;
28123 }
28124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
28125 return resultobj;
28126 fail:
28127 return NULL;
28128 }
28129
28130
28131 static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28132 PyObject *resultobj;
28133 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28134 wxAcceleratorEntry *result;
28135 PyObject * obj0 = 0 ;
28136 char *kwnames[] = {
28137 (char *) "self", NULL
28138 };
28139
28140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
28141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
28145
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
28150 return resultobj;
28151 fail:
28152 return NULL;
28153 }
28154
28155
28156 static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
28157 PyObject *resultobj;
28158 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28159 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
28160 PyObject * obj0 = 0 ;
28161 PyObject * obj1 = 0 ;
28162 char *kwnames[] = {
28163 (char *) "self",(char *) "accel", NULL
28164 };
28165
28166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
28167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28169 {
28170 PyThreadState* __tstate = wxPyBeginAllowThreads();
28171 (arg1)->SetAccel(arg2);
28172
28173 wxPyEndAllowThreads(__tstate);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 }
28176 Py_INCREF(Py_None); resultobj = Py_None;
28177 return resultobj;
28178 fail:
28179 return NULL;
28180 }
28181
28182
28183 static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj;
28185 int result;
28186 char *kwnames[] = {
28187 NULL
28188 };
28189
28190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
28191 {
28192 PyThreadState* __tstate = wxPyBeginAllowThreads();
28193 result = (int)MenuItem_GetDefaultMarginWidth();
28194
28195 wxPyEndAllowThreads(__tstate);
28196 if (PyErr_Occurred()) SWIG_fail;
28197 }
28198 resultobj = PyInt_FromLong((long)result);
28199 return resultobj;
28200 fail:
28201 return NULL;
28202 }
28203
28204
28205 static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28206 PyObject *resultobj;
28207 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28208 wxBitmap *arg2 = 0 ;
28209 PyObject * obj0 = 0 ;
28210 PyObject * obj1 = 0 ;
28211 char *kwnames[] = {
28212 (char *) "self",(char *) "bitmap", NULL
28213 };
28214
28215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
28216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28218 if (arg2 == NULL) {
28219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28220 }
28221 {
28222 PyThreadState* __tstate = wxPyBeginAllowThreads();
28223 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28224
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
28228 Py_INCREF(Py_None); resultobj = Py_None;
28229 return resultobj;
28230 fail:
28231 return NULL;
28232 }
28233
28234
28235 static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28236 PyObject *resultobj;
28237 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
28238 wxBitmap *result;
28239 PyObject * obj0 = 0 ;
28240 char *kwnames[] = {
28241 (char *) "self", NULL
28242 };
28243
28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
28245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28246 {
28247 PyThreadState* __tstate = wxPyBeginAllowThreads();
28248 {
28249 wxBitmap const &_result_ref = (arg1)->GetBitmap();
28250 result = (wxBitmap *) &_result_ref;
28251 }
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
28257 return resultobj;
28258 fail:
28259 return NULL;
28260 }
28261
28262
28263 static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
28264 PyObject *obj;
28265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28266 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
28267 Py_INCREF(obj);
28268 return Py_BuildValue((char *)"");
28269 }
28270 static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
28271 PyObject *resultobj;
28272 wxWindow *arg1 = (wxWindow *) 0 ;
28273 wxWindowID arg2 ;
28274 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28275 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28276 wxSize const &arg4_defvalue = wxDefaultSize ;
28277 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28278 long arg5 = (long) 0 ;
28279 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28280 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28281 wxString const &arg7_defvalue = wxPyControlNameStr ;
28282 wxString *arg7 = (wxString *) &arg7_defvalue ;
28283 wxControl *result;
28284 wxPoint temp3 ;
28285 wxSize temp4 ;
28286 bool temp7 = false ;
28287 PyObject * obj0 = 0 ;
28288 PyObject * obj2 = 0 ;
28289 PyObject * obj3 = 0 ;
28290 PyObject * obj5 = 0 ;
28291 PyObject * obj6 = 0 ;
28292 char *kwnames[] = {
28293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28294 };
28295
28296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_Control",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
28297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28298 if (obj2) {
28299 {
28300 arg3 = &temp3;
28301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28302 }
28303 }
28304 if (obj3) {
28305 {
28306 arg4 = &temp4;
28307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28308 }
28309 }
28310 if (obj5) {
28311 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28312 if (arg6 == NULL) {
28313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28314 }
28315 }
28316 if (obj6) {
28317 {
28318 arg7 = wxString_in_helper(obj6);
28319 if (arg7 == NULL) SWIG_fail;
28320 temp7 = true;
28321 }
28322 }
28323 {
28324 PyThreadState* __tstate = wxPyBeginAllowThreads();
28325 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28326
28327 wxPyEndAllowThreads(__tstate);
28328 if (PyErr_Occurred()) SWIG_fail;
28329 }
28330 {
28331 resultobj = wxPyMake_wxObject(result);
28332 }
28333 {
28334 if (temp7)
28335 delete arg7;
28336 }
28337 return resultobj;
28338 fail:
28339 {
28340 if (temp7)
28341 delete arg7;
28342 }
28343 return NULL;
28344 }
28345
28346
28347 static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28348 PyObject *resultobj;
28349 wxControl *result;
28350 char *kwnames[] = {
28351 NULL
28352 };
28353
28354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 result = (wxControl *)new wxControl();
28358
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 {
28363 resultobj = wxPyMake_wxObject(result);
28364 }
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28372 PyObject *resultobj;
28373 wxControl *arg1 = (wxControl *) 0 ;
28374 wxWindow *arg2 = (wxWindow *) 0 ;
28375 wxWindowID arg3 ;
28376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28378 wxSize const &arg5_defvalue = wxDefaultSize ;
28379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28380 long arg6 = (long) 0 ;
28381 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28382 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28383 wxString const &arg8_defvalue = wxPyControlNameStr ;
28384 wxString *arg8 = (wxString *) &arg8_defvalue ;
28385 bool result;
28386 wxPoint temp4 ;
28387 wxSize temp5 ;
28388 bool temp8 = false ;
28389 PyObject * obj0 = 0 ;
28390 PyObject * obj1 = 0 ;
28391 PyObject * obj3 = 0 ;
28392 PyObject * obj4 = 0 ;
28393 PyObject * obj6 = 0 ;
28394 PyObject * obj7 = 0 ;
28395 char *kwnames[] = {
28396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28397 };
28398
28399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlOO:Control_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
28400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28402 if (obj3) {
28403 {
28404 arg4 = &temp4;
28405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28406 }
28407 }
28408 if (obj4) {
28409 {
28410 arg5 = &temp5;
28411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28412 }
28413 }
28414 if (obj6) {
28415 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28416 if (arg7 == NULL) {
28417 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28418 }
28419 }
28420 if (obj7) {
28421 {
28422 arg8 = wxString_in_helper(obj7);
28423 if (arg8 == NULL) SWIG_fail;
28424 temp8 = true;
28425 }
28426 }
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 resultobj = PyInt_FromLong((long)result);
28435 {
28436 if (temp8)
28437 delete arg8;
28438 }
28439 return resultobj;
28440 fail:
28441 {
28442 if (temp8)
28443 delete arg8;
28444 }
28445 return NULL;
28446 }
28447
28448
28449 static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
28450 PyObject *resultobj;
28451 wxControl *arg1 = (wxControl *) 0 ;
28452 wxCommandEvent *arg2 = 0 ;
28453 PyObject * obj0 = 0 ;
28454 PyObject * obj1 = 0 ;
28455 char *kwnames[] = {
28456 (char *) "self",(char *) "event", NULL
28457 };
28458
28459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
28460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCommandEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28462 if (arg2 == NULL) {
28463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28464 }
28465 {
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
28467 (arg1)->Command(*arg2);
28468
28469 wxPyEndAllowThreads(__tstate);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
28472 Py_INCREF(Py_None); resultobj = Py_None;
28473 return resultobj;
28474 fail:
28475 return NULL;
28476 }
28477
28478
28479 static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28480 PyObject *resultobj;
28481 wxControl *arg1 = (wxControl *) 0 ;
28482 wxString result;
28483 PyObject * obj0 = 0 ;
28484 char *kwnames[] = {
28485 (char *) "self", NULL
28486 };
28487
28488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
28489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 result = (arg1)->GetLabel();
28493
28494 wxPyEndAllowThreads(__tstate);
28495 if (PyErr_Occurred()) SWIG_fail;
28496 }
28497 {
28498 #if wxUSE_UNICODE
28499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28500 #else
28501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28502 #endif
28503 }
28504 return resultobj;
28505 fail:
28506 return NULL;
28507 }
28508
28509
28510 static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28511 PyObject *resultobj;
28512 wxControl *arg1 = (wxControl *) 0 ;
28513 wxString *arg2 = 0 ;
28514 bool temp2 = false ;
28515 PyObject * obj0 = 0 ;
28516 PyObject * obj1 = 0 ;
28517 char *kwnames[] = {
28518 (char *) "self",(char *) "label", NULL
28519 };
28520
28521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
28522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28523 {
28524 arg2 = wxString_in_helper(obj1);
28525 if (arg2 == NULL) SWIG_fail;
28526 temp2 = true;
28527 }
28528 {
28529 PyThreadState* __tstate = wxPyBeginAllowThreads();
28530 (arg1)->SetLabel((wxString const &)*arg2);
28531
28532 wxPyEndAllowThreads(__tstate);
28533 if (PyErr_Occurred()) SWIG_fail;
28534 }
28535 Py_INCREF(Py_None); resultobj = Py_None;
28536 {
28537 if (temp2)
28538 delete arg2;
28539 }
28540 return resultobj;
28541 fail:
28542 {
28543 if (temp2)
28544 delete arg2;
28545 }
28546 return NULL;
28547 }
28548
28549
28550 static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
28551 PyObject *obj;
28552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28553 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
28554 Py_INCREF(obj);
28555 return Py_BuildValue((char *)"");
28556 }
28557 static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28558 PyObject *resultobj;
28559 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28560 wxString *arg2 = 0 ;
28561 PyObject *arg3 = (PyObject *) NULL ;
28562 int result;
28563 bool temp2 = false ;
28564 PyObject * obj0 = 0 ;
28565 PyObject * obj1 = 0 ;
28566 PyObject * obj2 = 0 ;
28567 char *kwnames[] = {
28568 (char *) "self",(char *) "item",(char *) "clientData", NULL
28569 };
28570
28571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
28572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28573 {
28574 arg2 = wxString_in_helper(obj1);
28575 if (arg2 == NULL) SWIG_fail;
28576 temp2 = true;
28577 }
28578 if (obj2) {
28579 arg3 = obj2;
28580 }
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
28584
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 resultobj = PyInt_FromLong((long)result);
28589 {
28590 if (temp2)
28591 delete arg2;
28592 }
28593 return resultobj;
28594 fail:
28595 {
28596 if (temp2)
28597 delete arg2;
28598 }
28599 return NULL;
28600 }
28601
28602
28603 static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28604 PyObject *resultobj;
28605 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28606 wxArrayString *arg2 = 0 ;
28607 PyObject * obj0 = 0 ;
28608 PyObject * obj1 = 0 ;
28609 char *kwnames[] = {
28610 (char *) "self",(char *) "strings", NULL
28611 };
28612
28613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
28614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28615 {
28616 if (! PySequence_Check(obj1)) {
28617 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
28618 SWIG_fail;
28619 }
28620 arg2 = new wxArrayString;
28621 int i, len=PySequence_Length(obj1);
28622 for (i=0; i<len; i++) {
28623 PyObject* item = PySequence_GetItem(obj1, i);
28624 #if wxUSE_UNICODE
28625 PyObject* str = PyObject_Unicode(item);
28626 #else
28627 PyObject* str = PyObject_Str(item);
28628 #endif
28629 arg2->Add(Py2wxString(str));
28630 Py_DECREF(item);
28631 Py_DECREF(str);
28632 }
28633 }
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 (arg1)->Append((wxArrayString const &)*arg2);
28637
28638 wxPyEndAllowThreads(__tstate);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 }
28641 Py_INCREF(Py_None); resultobj = Py_None;
28642 {
28643 if (arg2) delete arg2;
28644 }
28645 return resultobj;
28646 fail:
28647 {
28648 if (arg2) delete arg2;
28649 }
28650 return NULL;
28651 }
28652
28653
28654 static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28655 PyObject *resultobj;
28656 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28657 wxString *arg2 = 0 ;
28658 int arg3 ;
28659 PyObject *arg4 = (PyObject *) NULL ;
28660 int result;
28661 bool temp2 = false ;
28662 PyObject * obj0 = 0 ;
28663 PyObject * obj1 = 0 ;
28664 PyObject * obj3 = 0 ;
28665 char *kwnames[] = {
28666 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28667 };
28668
28669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
28670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28671 {
28672 arg2 = wxString_in_helper(obj1);
28673 if (arg2 == NULL) SWIG_fail;
28674 temp2 = true;
28675 }
28676 if (obj3) {
28677 arg4 = obj3;
28678 }
28679 {
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
28682
28683 wxPyEndAllowThreads(__tstate);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
28686 resultobj = PyInt_FromLong((long)result);
28687 {
28688 if (temp2)
28689 delete arg2;
28690 }
28691 return resultobj;
28692 fail:
28693 {
28694 if (temp2)
28695 delete arg2;
28696 }
28697 return NULL;
28698 }
28699
28700
28701 static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
28702 PyObject *resultobj;
28703 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28704 PyObject * obj0 = 0 ;
28705 char *kwnames[] = {
28706 (char *) "self", NULL
28707 };
28708
28709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
28710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28711 {
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 (arg1)->Clear();
28714
28715 wxPyEndAllowThreads(__tstate);
28716 if (PyErr_Occurred()) SWIG_fail;
28717 }
28718 Py_INCREF(Py_None); resultobj = Py_None;
28719 return resultobj;
28720 fail:
28721 return NULL;
28722 }
28723
28724
28725 static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj;
28727 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28728 int arg2 ;
28729 PyObject * obj0 = 0 ;
28730 char *kwnames[] = {
28731 (char *) "self",(char *) "n", NULL
28732 };
28733
28734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Delete",kwnames,&obj0,&arg2)) goto fail;
28735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28736 {
28737 PyThreadState* __tstate = wxPyBeginAllowThreads();
28738 (arg1)->Delete(arg2);
28739
28740 wxPyEndAllowThreads(__tstate);
28741 if (PyErr_Occurred()) SWIG_fail;
28742 }
28743 Py_INCREF(Py_None); resultobj = Py_None;
28744 return resultobj;
28745 fail:
28746 return NULL;
28747 }
28748
28749
28750 static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28751 PyObject *resultobj;
28752 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28753 int result;
28754 PyObject * obj0 = 0 ;
28755 char *kwnames[] = {
28756 (char *) "self", NULL
28757 };
28758
28759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
28760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28761 {
28762 PyThreadState* __tstate = wxPyBeginAllowThreads();
28763 result = (int)((wxItemContainer const *)arg1)->GetCount();
28764
28765 wxPyEndAllowThreads(__tstate);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 resultobj = PyInt_FromLong((long)result);
28769 return resultobj;
28770 fail:
28771 return NULL;
28772 }
28773
28774
28775 static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
28776 PyObject *resultobj;
28777 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28778 bool result;
28779 PyObject * obj0 = 0 ;
28780 char *kwnames[] = {
28781 (char *) "self", NULL
28782 };
28783
28784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
28785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
28789
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 resultobj = PyInt_FromLong((long)result);
28794 return resultobj;
28795 fail:
28796 return NULL;
28797 }
28798
28799
28800 static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28801 PyObject *resultobj;
28802 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28803 int arg2 ;
28804 wxString result;
28805 PyObject * obj0 = 0 ;
28806 char *kwnames[] = {
28807 (char *) "self",(char *) "n", NULL
28808 };
28809
28810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetString",kwnames,&obj0,&arg2)) goto fail;
28811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = ((wxItemContainer const *)arg1)->GetString(arg2);
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 {
28820 #if wxUSE_UNICODE
28821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28822 #else
28823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28824 #endif
28825 }
28826 return resultobj;
28827 fail:
28828 return NULL;
28829 }
28830
28831
28832 static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj;
28834 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28835 wxArrayString result;
28836 PyObject * obj0 = 0 ;
28837 char *kwnames[] = {
28838 (char *) "self", NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
28842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
28845 result = ((wxItemContainer const *)arg1)->GetStrings();
28846
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
28850 {
28851 resultobj = wxArrayString2PyList_helper(result);
28852 }
28853 return resultobj;
28854 fail:
28855 return NULL;
28856 }
28857
28858
28859 static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
28860 PyObject *resultobj;
28861 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28862 int arg2 ;
28863 wxString *arg3 = 0 ;
28864 bool temp3 = false ;
28865 PyObject * obj0 = 0 ;
28866 PyObject * obj2 = 0 ;
28867 char *kwnames[] = {
28868 (char *) "self",(char *) "n",(char *) "s", NULL
28869 };
28870
28871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
28872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28873 {
28874 arg3 = wxString_in_helper(obj2);
28875 if (arg3 == NULL) SWIG_fail;
28876 temp3 = true;
28877 }
28878 {
28879 PyThreadState* __tstate = wxPyBeginAllowThreads();
28880 (arg1)->SetString(arg2,(wxString const &)*arg3);
28881
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 Py_INCREF(Py_None); resultobj = Py_None;
28886 {
28887 if (temp3)
28888 delete arg3;
28889 }
28890 return resultobj;
28891 fail:
28892 {
28893 if (temp3)
28894 delete arg3;
28895 }
28896 return NULL;
28897 }
28898
28899
28900 static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
28901 PyObject *resultobj;
28902 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28903 wxString *arg2 = 0 ;
28904 int result;
28905 bool temp2 = false ;
28906 PyObject * obj0 = 0 ;
28907 PyObject * obj1 = 0 ;
28908 char *kwnames[] = {
28909 (char *) "self",(char *) "s", NULL
28910 };
28911
28912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
28913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28914 {
28915 arg2 = wxString_in_helper(obj1);
28916 if (arg2 == NULL) SWIG_fail;
28917 temp2 = true;
28918 }
28919 {
28920 PyThreadState* __tstate = wxPyBeginAllowThreads();
28921 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
28922
28923 wxPyEndAllowThreads(__tstate);
28924 if (PyErr_Occurred()) SWIG_fail;
28925 }
28926 resultobj = PyInt_FromLong((long)result);
28927 {
28928 if (temp2)
28929 delete arg2;
28930 }
28931 return resultobj;
28932 fail:
28933 {
28934 if (temp2)
28935 delete arg2;
28936 }
28937 return NULL;
28938 }
28939
28940
28941 static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
28942 PyObject *resultobj;
28943 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28944 int arg2 ;
28945 PyObject * obj0 = 0 ;
28946 char *kwnames[] = {
28947 (char *) "self",(char *) "n", NULL
28948 };
28949
28950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_Select",kwnames,&obj0,&arg2)) goto fail;
28951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28952 {
28953 PyThreadState* __tstate = wxPyBeginAllowThreads();
28954 (arg1)->Select(arg2);
28955
28956 wxPyEndAllowThreads(__tstate);
28957 if (PyErr_Occurred()) SWIG_fail;
28958 }
28959 Py_INCREF(Py_None); resultobj = Py_None;
28960 return resultobj;
28961 fail:
28962 return NULL;
28963 }
28964
28965
28966 static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28967 PyObject *resultobj;
28968 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28969 int result;
28970 PyObject * obj0 = 0 ;
28971 char *kwnames[] = {
28972 (char *) "self", NULL
28973 };
28974
28975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
28976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28977 {
28978 PyThreadState* __tstate = wxPyBeginAllowThreads();
28979 result = (int)((wxItemContainer const *)arg1)->GetSelection();
28980
28981 wxPyEndAllowThreads(__tstate);
28982 if (PyErr_Occurred()) SWIG_fail;
28983 }
28984 resultobj = PyInt_FromLong((long)result);
28985 return resultobj;
28986 fail:
28987 return NULL;
28988 }
28989
28990
28991 static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
28992 PyObject *resultobj;
28993 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
28994 wxString result;
28995 PyObject * obj0 = 0 ;
28996 char *kwnames[] = {
28997 (char *) "self", NULL
28998 };
28999
29000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
29001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 result = ((wxItemContainer const *)arg1)->GetStringSelection();
29005
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 {
29010 #if wxUSE_UNICODE
29011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29012 #else
29013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29014 #endif
29015 }
29016 return resultobj;
29017 fail:
29018 return NULL;
29019 }
29020
29021
29022 static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29023 PyObject *resultobj;
29024 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29025 int arg2 ;
29026 PyObject *result;
29027 PyObject * obj0 = 0 ;
29028 char *kwnames[] = {
29029 (char *) "self",(char *) "n", NULL
29030 };
29031
29032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ItemContainer_GetClientData",kwnames,&obj0,&arg2)) goto fail;
29033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29034 {
29035 PyThreadState* __tstate = wxPyBeginAllowThreads();
29036 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
29037
29038 wxPyEndAllowThreads(__tstate);
29039 if (PyErr_Occurred()) SWIG_fail;
29040 }
29041 resultobj = result;
29042 return resultobj;
29043 fail:
29044 return NULL;
29045 }
29046
29047
29048 static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
29049 PyObject *resultobj;
29050 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
29051 int arg2 ;
29052 PyObject *arg3 = (PyObject *) 0 ;
29053 PyObject * obj0 = 0 ;
29054 PyObject * obj2 = 0 ;
29055 char *kwnames[] = {
29056 (char *) "self",(char *) "n",(char *) "clientData", NULL
29057 };
29058
29059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ItemContainer_SetClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
29060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxItemContainer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29061 arg3 = obj2;
29062 {
29063 PyThreadState* __tstate = wxPyBeginAllowThreads();
29064 wxItemContainer_SetClientData(arg1,arg2,arg3);
29065
29066 wxPyEndAllowThreads(__tstate);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 }
29069 Py_INCREF(Py_None); resultobj = Py_None;
29070 return resultobj;
29071 fail:
29072 return NULL;
29073 }
29074
29075
29076 static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
29077 PyObject *obj;
29078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29079 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
29080 Py_INCREF(obj);
29081 return Py_BuildValue((char *)"");
29082 }
29083 static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
29084 PyObject *obj;
29085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29086 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
29087 Py_INCREF(obj);
29088 return Py_BuildValue((char *)"");
29089 }
29090 static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29091 PyObject *resultobj;
29092 wxSizerItem *result;
29093 char *kwnames[] = {
29094 NULL
29095 };
29096
29097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
29098 {
29099 PyThreadState* __tstate = wxPyBeginAllowThreads();
29100 result = (wxSizerItem *)new wxSizerItem();
29101
29102 wxPyEndAllowThreads(__tstate);
29103 if (PyErr_Occurred()) SWIG_fail;
29104 }
29105 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29106 return resultobj;
29107 fail:
29108 return NULL;
29109 }
29110
29111
29112 static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29113 PyObject *resultobj;
29114 int arg1 ;
29115 int arg2 ;
29116 int arg3 ;
29117 int arg4 ;
29118 int arg5 ;
29119 wxObject *arg6 = (wxObject *) 0 ;
29120 wxSizerItem *result;
29121 PyObject * obj5 = 0 ;
29122 char *kwnames[] = {
29123 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29124 };
29125
29126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiiiiO:new_SizerItemSpacer",kwnames,&arg1,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
29127 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
29131
29132 wxPyEndAllowThreads(__tstate);
29133 if (PyErr_Occurred()) SWIG_fail;
29134 }
29135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29136 return resultobj;
29137 fail:
29138 return NULL;
29139 }
29140
29141
29142 static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29143 PyObject *resultobj;
29144 wxWindow *arg1 = (wxWindow *) 0 ;
29145 int arg2 ;
29146 int arg3 ;
29147 int arg4 ;
29148 wxObject *arg5 = (wxObject *) 0 ;
29149 wxSizerItem *result;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj4 = 0 ;
29152 char *kwnames[] = {
29153 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29154 };
29155
29156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29158 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29159 {
29160 PyThreadState* __tstate = wxPyBeginAllowThreads();
29161 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29162
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29167 return resultobj;
29168 fail:
29169 return NULL;
29170 }
29171
29172
29173 static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29174 PyObject *resultobj;
29175 wxSizer *arg1 = (wxSizer *) 0 ;
29176 int arg2 ;
29177 int arg3 ;
29178 int arg4 ;
29179 wxObject *arg5 = (wxObject *) 0 ;
29180 wxSizerItem *result;
29181 PyObject * obj0 = 0 ;
29182 PyObject * obj4 = 0 ;
29183 char *kwnames[] = {
29184 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29185 };
29186
29187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiiO:new_SizerItemSizer",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
29188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29189 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
29193
29194 wxPyEndAllowThreads(__tstate);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
29197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSizerItem, 1);
29198 return resultobj;
29199 fail:
29200 return NULL;
29201 }
29202
29203
29204 static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
29205 PyObject *resultobj;
29206 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29207 PyObject * obj0 = 0 ;
29208 char *kwnames[] = {
29209 (char *) "self", NULL
29210 };
29211
29212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
29213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29214 {
29215 PyThreadState* __tstate = wxPyBeginAllowThreads();
29216 (arg1)->DeleteWindows();
29217
29218 wxPyEndAllowThreads(__tstate);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 }
29221 Py_INCREF(Py_None); resultobj = Py_None;
29222 return resultobj;
29223 fail:
29224 return NULL;
29225 }
29226
29227
29228 static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29229 PyObject *resultobj;
29230 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29231 PyObject * obj0 = 0 ;
29232 char *kwnames[] = {
29233 (char *) "self", NULL
29234 };
29235
29236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
29237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 (arg1)->DetachSizer();
29241
29242 wxPyEndAllowThreads(__tstate);
29243 if (PyErr_Occurred()) SWIG_fail;
29244 }
29245 Py_INCREF(Py_None); resultobj = Py_None;
29246 return resultobj;
29247 fail:
29248 return NULL;
29249 }
29250
29251
29252 static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29253 PyObject *resultobj;
29254 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29255 wxSize result;
29256 PyObject * obj0 = 0 ;
29257 char *kwnames[] = {
29258 (char *) "self", NULL
29259 };
29260
29261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
29262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29263 {
29264 PyThreadState* __tstate = wxPyBeginAllowThreads();
29265 result = (arg1)->GetSize();
29266
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 {
29271 wxSize * resultptr;
29272 resultptr = new wxSize((wxSize &) result);
29273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29274 }
29275 return resultobj;
29276 fail:
29277 return NULL;
29278 }
29279
29280
29281 static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
29282 PyObject *resultobj;
29283 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29284 wxSize result;
29285 PyObject * obj0 = 0 ;
29286 char *kwnames[] = {
29287 (char *) "self", NULL
29288 };
29289
29290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
29291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29292 {
29293 PyThreadState* __tstate = wxPyBeginAllowThreads();
29294 result = (arg1)->CalcMin();
29295
29296 wxPyEndAllowThreads(__tstate);
29297 if (PyErr_Occurred()) SWIG_fail;
29298 }
29299 {
29300 wxSize * resultptr;
29301 resultptr = new wxSize((wxSize &) result);
29302 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29303 }
29304 return resultobj;
29305 fail:
29306 return NULL;
29307 }
29308
29309
29310 static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
29311 PyObject *resultobj;
29312 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29313 wxPoint arg2 ;
29314 wxSize arg3 ;
29315 wxPoint *argp2 ;
29316 wxSize *argp3 ;
29317 PyObject * obj0 = 0 ;
29318 PyObject * obj1 = 0 ;
29319 PyObject * obj2 = 0 ;
29320 char *kwnames[] = {
29321 (char *) "self",(char *) "pos",(char *) "size", NULL
29322 };
29323
29324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
29325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29326 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29327 arg2 = *argp2;
29328 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29329 arg3 = *argp3;
29330 {
29331 PyThreadState* __tstate = wxPyBeginAllowThreads();
29332 (arg1)->SetDimension(arg2,arg3);
29333
29334 wxPyEndAllowThreads(__tstate);
29335 if (PyErr_Occurred()) SWIG_fail;
29336 }
29337 Py_INCREF(Py_None); resultobj = Py_None;
29338 return resultobj;
29339 fail:
29340 return NULL;
29341 }
29342
29343
29344 static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29345 PyObject *resultobj;
29346 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29347 wxSize result;
29348 PyObject * obj0 = 0 ;
29349 char *kwnames[] = {
29350 (char *) "self", NULL
29351 };
29352
29353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
29354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 result = (arg1)->GetMinSize();
29358
29359 wxPyEndAllowThreads(__tstate);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 {
29363 wxSize * resultptr;
29364 resultptr = new wxSize((wxSize &) result);
29365 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
29366 }
29367 return resultobj;
29368 fail:
29369 return NULL;
29370 }
29371
29372
29373 static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29374 PyObject *resultobj;
29375 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29376 int arg2 ;
29377 int arg3 ;
29378 PyObject * obj0 = 0 ;
29379 char *kwnames[] = {
29380 (char *) "self",(char *) "x",(char *) "y", NULL
29381 };
29382
29383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetInitSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
29384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29385 {
29386 PyThreadState* __tstate = wxPyBeginAllowThreads();
29387 (arg1)->SetInitSize(arg2,arg3);
29388
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 Py_INCREF(Py_None); resultobj = Py_None;
29393 return resultobj;
29394 fail:
29395 return NULL;
29396 }
29397
29398
29399 static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
29400 PyObject *resultobj;
29401 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29402 int arg2 ;
29403 int arg3 ;
29404 PyObject * obj0 = 0 ;
29405 char *kwnames[] = {
29406 (char *) "self",(char *) "width",(char *) "height", NULL
29407 };
29408
29409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SizerItem_SetRatioWH",kwnames,&obj0,&arg2,&arg3)) goto fail;
29410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29411 {
29412 PyThreadState* __tstate = wxPyBeginAllowThreads();
29413 (arg1)->SetRatio(arg2,arg3);
29414
29415 wxPyEndAllowThreads(__tstate);
29416 if (PyErr_Occurred()) SWIG_fail;
29417 }
29418 Py_INCREF(Py_None); resultobj = Py_None;
29419 return resultobj;
29420 fail:
29421 return NULL;
29422 }
29423
29424
29425 static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29426 PyObject *resultobj;
29427 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29428 wxSize arg2 ;
29429 wxSize *argp2 ;
29430 PyObject * obj0 = 0 ;
29431 PyObject * obj1 = 0 ;
29432 char *kwnames[] = {
29433 (char *) "self",(char *) "size", NULL
29434 };
29435
29436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
29437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29438 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
29439 arg2 = *argp2;
29440 {
29441 PyThreadState* __tstate = wxPyBeginAllowThreads();
29442 (arg1)->SetRatio(arg2);
29443
29444 wxPyEndAllowThreads(__tstate);
29445 if (PyErr_Occurred()) SWIG_fail;
29446 }
29447 Py_INCREF(Py_None); resultobj = Py_None;
29448 return resultobj;
29449 fail:
29450 return NULL;
29451 }
29452
29453
29454 static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29455 PyObject *resultobj;
29456 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29457 float arg2 ;
29458 PyObject * obj0 = 0 ;
29459 char *kwnames[] = {
29460 (char *) "self",(char *) "ratio", NULL
29461 };
29462
29463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Of:SizerItem_SetRatio",kwnames,&obj0,&arg2)) goto fail;
29464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29465 {
29466 PyThreadState* __tstate = wxPyBeginAllowThreads();
29467 (arg1)->SetRatio(arg2);
29468
29469 wxPyEndAllowThreads(__tstate);
29470 if (PyErr_Occurred()) SWIG_fail;
29471 }
29472 Py_INCREF(Py_None); resultobj = Py_None;
29473 return resultobj;
29474 fail:
29475 return NULL;
29476 }
29477
29478
29479 static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
29480 PyObject *resultobj;
29481 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29482 float result;
29483 PyObject * obj0 = 0 ;
29484 char *kwnames[] = {
29485 (char *) "self", NULL
29486 };
29487
29488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
29489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29490 {
29491 PyThreadState* __tstate = wxPyBeginAllowThreads();
29492 result = (float)(arg1)->GetRatio();
29493
29494 wxPyEndAllowThreads(__tstate);
29495 if (PyErr_Occurred()) SWIG_fail;
29496 }
29497 resultobj = PyFloat_FromDouble(result);
29498 return resultobj;
29499 fail:
29500 return NULL;
29501 }
29502
29503
29504 static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29505 PyObject *resultobj;
29506 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29507 bool result;
29508 PyObject * obj0 = 0 ;
29509 char *kwnames[] = {
29510 (char *) "self", NULL
29511 };
29512
29513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
29514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29515 {
29516 PyThreadState* __tstate = wxPyBeginAllowThreads();
29517 result = (bool)(arg1)->IsWindow();
29518
29519 wxPyEndAllowThreads(__tstate);
29520 if (PyErr_Occurred()) SWIG_fail;
29521 }
29522 resultobj = PyInt_FromLong((long)result);
29523 return resultobj;
29524 fail:
29525 return NULL;
29526 }
29527
29528
29529 static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29530 PyObject *resultobj;
29531 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29532 bool result;
29533 PyObject * obj0 = 0 ;
29534 char *kwnames[] = {
29535 (char *) "self", NULL
29536 };
29537
29538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
29539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29540 {
29541 PyThreadState* __tstate = wxPyBeginAllowThreads();
29542 result = (bool)(arg1)->IsSizer();
29543
29544 wxPyEndAllowThreads(__tstate);
29545 if (PyErr_Occurred()) SWIG_fail;
29546 }
29547 resultobj = PyInt_FromLong((long)result);
29548 return resultobj;
29549 fail:
29550 return NULL;
29551 }
29552
29553
29554 static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29555 PyObject *resultobj;
29556 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29557 bool result;
29558 PyObject * obj0 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
29564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29565 {
29566 PyThreadState* __tstate = wxPyBeginAllowThreads();
29567 result = (bool)(arg1)->IsSpacer();
29568
29569 wxPyEndAllowThreads(__tstate);
29570 if (PyErr_Occurred()) SWIG_fail;
29571 }
29572 resultobj = PyInt_FromLong((long)result);
29573 return resultobj;
29574 fail:
29575 return NULL;
29576 }
29577
29578
29579 static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29580 PyObject *resultobj;
29581 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29582 int arg2 ;
29583 PyObject * obj0 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self",(char *) "proportion", NULL
29586 };
29587
29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetProportion",kwnames,&obj0,&arg2)) goto fail;
29589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 (arg1)->SetProportion(arg2);
29593
29594 wxPyEndAllowThreads(__tstate);
29595 if (PyErr_Occurred()) SWIG_fail;
29596 }
29597 Py_INCREF(Py_None); resultobj = Py_None;
29598 return resultobj;
29599 fail:
29600 return NULL;
29601 }
29602
29603
29604 static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
29605 PyObject *resultobj;
29606 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29607 int result;
29608 PyObject * obj0 = 0 ;
29609 char *kwnames[] = {
29610 (char *) "self", NULL
29611 };
29612
29613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
29614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29615 {
29616 PyThreadState* __tstate = wxPyBeginAllowThreads();
29617 result = (int)(arg1)->GetProportion();
29618
29619 wxPyEndAllowThreads(__tstate);
29620 if (PyErr_Occurred()) SWIG_fail;
29621 }
29622 resultobj = PyInt_FromLong((long)result);
29623 return resultobj;
29624 fail:
29625 return NULL;
29626 }
29627
29628
29629 static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29630 PyObject *resultobj;
29631 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29632 int arg2 ;
29633 PyObject * obj0 = 0 ;
29634 char *kwnames[] = {
29635 (char *) "self",(char *) "flag", NULL
29636 };
29637
29638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetFlag",kwnames,&obj0,&arg2)) goto fail;
29639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29640 {
29641 PyThreadState* __tstate = wxPyBeginAllowThreads();
29642 (arg1)->SetFlag(arg2);
29643
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 Py_INCREF(Py_None); resultobj = Py_None;
29648 return resultobj;
29649 fail:
29650 return NULL;
29651 }
29652
29653
29654 static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
29655 PyObject *resultobj;
29656 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29657 int result;
29658 PyObject * obj0 = 0 ;
29659 char *kwnames[] = {
29660 (char *) "self", NULL
29661 };
29662
29663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
29664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29665 {
29666 PyThreadState* __tstate = wxPyBeginAllowThreads();
29667 result = (int)(arg1)->GetFlag();
29668
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 resultobj = PyInt_FromLong((long)result);
29673 return resultobj;
29674 fail:
29675 return NULL;
29676 }
29677
29678
29679 static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29680 PyObject *resultobj;
29681 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29682 int arg2 ;
29683 PyObject * obj0 = 0 ;
29684 char *kwnames[] = {
29685 (char *) "self",(char *) "border", NULL
29686 };
29687
29688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SizerItem_SetBorder",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)->SetBorder(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_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
29705 PyObject *resultobj;
29706 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29707 int result;
29708 PyObject * obj0 = 0 ;
29709 char *kwnames[] = {
29710 (char *) "self", NULL
29711 };
29712
29713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",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 = (int)(arg1)->GetBorder();
29718
29719 wxPyEndAllowThreads(__tstate);
29720 if (PyErr_Occurred()) SWIG_fail;
29721 }
29722 resultobj = PyInt_FromLong((long)result);
29723 return resultobj;
29724 fail:
29725 return NULL;
29726 }
29727
29728
29729 static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29730 PyObject *resultobj;
29731 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29732 wxWindow *result;
29733 PyObject * obj0 = 0 ;
29734 char *kwnames[] = {
29735 (char *) "self", NULL
29736 };
29737
29738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",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 = (wxWindow *)(arg1)->GetWindow();
29743
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 {
29748 resultobj = wxPyMake_wxObject(result);
29749 }
29750 return resultobj;
29751 fail:
29752 return NULL;
29753 }
29754
29755
29756 static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29757 PyObject *resultobj;
29758 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29759 wxWindow *arg2 = (wxWindow *) 0 ;
29760 PyObject * obj0 = 0 ;
29761 PyObject * obj1 = 0 ;
29762 char *kwnames[] = {
29763 (char *) "self",(char *) "window", NULL
29764 };
29765
29766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
29767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29769 {
29770 PyThreadState* __tstate = wxPyBeginAllowThreads();
29771 (arg1)->SetWindow(arg2);
29772
29773 wxPyEndAllowThreads(__tstate);
29774 if (PyErr_Occurred()) SWIG_fail;
29775 }
29776 Py_INCREF(Py_None); resultobj = Py_None;
29777 return resultobj;
29778 fail:
29779 return NULL;
29780 }
29781
29782
29783 static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29784 PyObject *resultobj;
29785 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29786 wxSizer *result;
29787 PyObject * obj0 = 0 ;
29788 char *kwnames[] = {
29789 (char *) "self", NULL
29790 };
29791
29792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
29793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29794 {
29795 PyThreadState* __tstate = wxPyBeginAllowThreads();
29796 result = (wxSizer *)(arg1)->GetSizer();
29797
29798 wxPyEndAllowThreads(__tstate);
29799 if (PyErr_Occurred()) SWIG_fail;
29800 }
29801 {
29802 resultobj = wxPyMake_wxSizer(result);
29803 }
29804 return resultobj;
29805 fail:
29806 return NULL;
29807 }
29808
29809
29810 static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
29811 PyObject *resultobj;
29812 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29813 wxSizer *arg2 = (wxSizer *) 0 ;
29814 PyObject * obj0 = 0 ;
29815 PyObject * obj1 = 0 ;
29816 char *kwnames[] = {
29817 (char *) "self",(char *) "sizer", NULL
29818 };
29819
29820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
29821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29823 {
29824 PyThreadState* __tstate = wxPyBeginAllowThreads();
29825 (arg1)->SetSizer(arg2);
29826
29827 wxPyEndAllowThreads(__tstate);
29828 if (PyErr_Occurred()) SWIG_fail;
29829 }
29830 Py_INCREF(Py_None); resultobj = Py_None;
29831 return resultobj;
29832 fail:
29833 return NULL;
29834 }
29835
29836
29837 static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29838 PyObject *resultobj;
29839 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29840 wxSize *result;
29841 PyObject * obj0 = 0 ;
29842 char *kwnames[] = {
29843 (char *) "self", NULL
29844 };
29845
29846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
29847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 {
29851 wxSize const &_result_ref = (arg1)->GetSpacer();
29852 result = (wxSize *) &_result_ref;
29853 }
29854
29855 wxPyEndAllowThreads(__tstate);
29856 if (PyErr_Occurred()) SWIG_fail;
29857 }
29858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
29859 return resultobj;
29860 fail:
29861 return NULL;
29862 }
29863
29864
29865 static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
29866 PyObject *resultobj;
29867 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29868 wxSize *arg2 = 0 ;
29869 wxSize temp2 ;
29870 PyObject * obj0 = 0 ;
29871 PyObject * obj1 = 0 ;
29872 char *kwnames[] = {
29873 (char *) "self",(char *) "size", NULL
29874 };
29875
29876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
29877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29878 {
29879 arg2 = &temp2;
29880 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29881 }
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 (arg1)->SetSpacer((wxSize const &)*arg2);
29885
29886 wxPyEndAllowThreads(__tstate);
29887 if (PyErr_Occurred()) SWIG_fail;
29888 }
29889 Py_INCREF(Py_None); resultobj = Py_None;
29890 return resultobj;
29891 fail:
29892 return NULL;
29893 }
29894
29895
29896 static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29897 PyObject *resultobj;
29898 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29899 bool arg2 ;
29900 PyObject * obj0 = 0 ;
29901 PyObject * obj1 = 0 ;
29902 char *kwnames[] = {
29903 (char *) "self",(char *) "show", NULL
29904 };
29905
29906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
29907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29908 arg2 = PyInt_AsLong(obj1) ? true : false;
29909 if (PyErr_Occurred()) SWIG_fail;
29910 {
29911 PyThreadState* __tstate = wxPyBeginAllowThreads();
29912 (arg1)->Show(arg2);
29913
29914 wxPyEndAllowThreads(__tstate);
29915 if (PyErr_Occurred()) SWIG_fail;
29916 }
29917 Py_INCREF(Py_None); resultobj = Py_None;
29918 return resultobj;
29919 fail:
29920 return NULL;
29921 }
29922
29923
29924 static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
29925 PyObject *resultobj;
29926 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29927 bool result;
29928 PyObject * obj0 = 0 ;
29929 char *kwnames[] = {
29930 (char *) "self", NULL
29931 };
29932
29933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
29934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29935 {
29936 PyThreadState* __tstate = wxPyBeginAllowThreads();
29937 result = (bool)(arg1)->IsShown();
29938
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 resultobj = PyInt_FromLong((long)result);
29943 return resultobj;
29944 fail:
29945 return NULL;
29946 }
29947
29948
29949 static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29950 PyObject *resultobj;
29951 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29952 wxPoint result;
29953 PyObject * obj0 = 0 ;
29954 char *kwnames[] = {
29955 (char *) "self", NULL
29956 };
29957
29958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
29959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29960 {
29961 PyThreadState* __tstate = wxPyBeginAllowThreads();
29962 result = (arg1)->GetPosition();
29963
29964 wxPyEndAllowThreads(__tstate);
29965 if (PyErr_Occurred()) SWIG_fail;
29966 }
29967 {
29968 wxPoint * resultptr;
29969 resultptr = new wxPoint((wxPoint &) result);
29970 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
29971 }
29972 return resultobj;
29973 fail:
29974 return NULL;
29975 }
29976
29977
29978 static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
29979 PyObject *resultobj;
29980 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
29981 PyObject *result;
29982 PyObject * obj0 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
29988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29989 {
29990 PyThreadState* __tstate = wxPyBeginAllowThreads();
29991 result = (PyObject *)wxSizerItem_GetUserData(arg1);
29992
29993 wxPyEndAllowThreads(__tstate);
29994 if (PyErr_Occurred()) SWIG_fail;
29995 }
29996 resultobj = result;
29997 return resultobj;
29998 fail:
29999 return NULL;
30000 }
30001
30002
30003 static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
30004 PyObject *obj;
30005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30006 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
30007 Py_INCREF(obj);
30008 return Py_BuildValue((char *)"");
30009 }
30010 static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30011 PyObject *resultobj;
30012 wxSizer *arg1 = (wxSizer *) 0 ;
30013 PyObject *arg2 = (PyObject *) 0 ;
30014 PyObject * obj0 = 0 ;
30015 PyObject * obj1 = 0 ;
30016 char *kwnames[] = {
30017 (char *) "self",(char *) "_self", NULL
30018 };
30019
30020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
30021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30022 arg2 = obj1;
30023 {
30024 PyThreadState* __tstate = wxPyBeginAllowThreads();
30025 wxSizer__setOORInfo(arg1,arg2);
30026
30027 wxPyEndAllowThreads(__tstate);
30028 if (PyErr_Occurred()) SWIG_fail;
30029 }
30030 Py_INCREF(Py_None); resultobj = Py_None;
30031 return resultobj;
30032 fail:
30033 return NULL;
30034 }
30035
30036
30037 static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
30038 PyObject *resultobj;
30039 wxSizer *arg1 = (wxSizer *) 0 ;
30040 PyObject *arg2 = (PyObject *) 0 ;
30041 int arg3 = (int) 0 ;
30042 int arg4 = (int) 0 ;
30043 int arg5 = (int) 0 ;
30044 PyObject *arg6 = (PyObject *) NULL ;
30045 PyObject * obj0 = 0 ;
30046 PyObject * obj1 = 0 ;
30047 PyObject * obj5 = 0 ;
30048 char *kwnames[] = {
30049 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30050 };
30051
30052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Add",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30054 arg2 = obj1;
30055 if (obj5) {
30056 arg6 = obj5;
30057 }
30058 {
30059 PyThreadState* __tstate = wxPyBeginAllowThreads();
30060 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
30061
30062 wxPyEndAllowThreads(__tstate);
30063 if (PyErr_Occurred()) SWIG_fail;
30064 }
30065 Py_INCREF(Py_None); resultobj = Py_None;
30066 return resultobj;
30067 fail:
30068 return NULL;
30069 }
30070
30071
30072 static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30073 PyObject *resultobj;
30074 wxSizer *arg1 = (wxSizer *) 0 ;
30075 int arg2 ;
30076 PyObject *arg3 = (PyObject *) 0 ;
30077 int arg4 = (int) 0 ;
30078 int arg5 = (int) 0 ;
30079 int arg6 = (int) 0 ;
30080 PyObject *arg7 = (PyObject *) NULL ;
30081 PyObject * obj0 = 0 ;
30082 PyObject * obj2 = 0 ;
30083 PyObject * obj6 = 0 ;
30084 char *kwnames[] = {
30085 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30086 };
30087
30088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|iiiO:Sizer_Insert",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6,&obj6)) goto fail;
30089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30090 arg3 = obj2;
30091 if (obj6) {
30092 arg7 = obj6;
30093 }
30094 {
30095 PyThreadState* __tstate = wxPyBeginAllowThreads();
30096 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
30097
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
30101 Py_INCREF(Py_None); resultobj = Py_None;
30102 return resultobj;
30103 fail:
30104 return NULL;
30105 }
30106
30107
30108 static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
30109 PyObject *resultobj;
30110 wxSizer *arg1 = (wxSizer *) 0 ;
30111 PyObject *arg2 = (PyObject *) 0 ;
30112 int arg3 = (int) 0 ;
30113 int arg4 = (int) 0 ;
30114 int arg5 = (int) 0 ;
30115 PyObject *arg6 = (PyObject *) NULL ;
30116 PyObject * obj0 = 0 ;
30117 PyObject * obj1 = 0 ;
30118 PyObject * obj5 = 0 ;
30119 char *kwnames[] = {
30120 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30121 };
30122
30123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiiO:Sizer_Prepend",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&obj5)) goto fail;
30124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30125 arg2 = obj1;
30126 if (obj5) {
30127 arg6 = obj5;
30128 }
30129 {
30130 PyThreadState* __tstate = wxPyBeginAllowThreads();
30131 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
30132
30133 wxPyEndAllowThreads(__tstate);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 Py_INCREF(Py_None); resultobj = Py_None;
30137 return resultobj;
30138 fail:
30139 return NULL;
30140 }
30141
30142
30143 static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30144 PyObject *resultobj;
30145 wxSizer *arg1 = (wxSizer *) 0 ;
30146 PyObject *arg2 = (PyObject *) 0 ;
30147 bool result;
30148 PyObject * obj0 = 0 ;
30149 PyObject * obj1 = 0 ;
30150 char *kwnames[] = {
30151 (char *) "self",(char *) "item", NULL
30152 };
30153
30154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
30155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30156 arg2 = obj1;
30157 {
30158 PyThreadState* __tstate = wxPyBeginAllowThreads();
30159 result = (bool)wxSizer_Remove(arg1,arg2);
30160
30161 wxPyEndAllowThreads(__tstate);
30162 if (PyErr_Occurred()) SWIG_fail;
30163 }
30164 resultobj = PyInt_FromLong((long)result);
30165 return resultobj;
30166 fail:
30167 return NULL;
30168 }
30169
30170
30171 static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj;
30173 wxSizer *arg1 = (wxSizer *) 0 ;
30174 PyObject *arg2 = (PyObject *) 0 ;
30175 wxSize arg3 ;
30176 wxSize *argp3 ;
30177 PyObject * obj0 = 0 ;
30178 PyObject * obj1 = 0 ;
30179 PyObject * obj2 = 0 ;
30180 char *kwnames[] = {
30181 (char *) "self",(char *) "item",(char *) "size", NULL
30182 };
30183
30184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
30185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30186 arg2 = obj1;
30187 if ((SWIG_ConvertPtr(obj2,(void **) &argp3, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30188 arg3 = *argp3;
30189 {
30190 PyThreadState* __tstate = wxPyBeginAllowThreads();
30191 wxSizer__SetItemMinSize(arg1,arg2,arg3);
30192
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 Py_INCREF(Py_None); resultobj = Py_None;
30197 return resultobj;
30198 fail:
30199 return NULL;
30200 }
30201
30202
30203 static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30204 PyObject *resultobj;
30205 wxSizer *arg1 = (wxSizer *) 0 ;
30206 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30207 PyObject * obj0 = 0 ;
30208 PyObject * obj1 = 0 ;
30209 char *kwnames[] = {
30210 (char *) "self",(char *) "item", NULL
30211 };
30212
30213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
30214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30216 {
30217 PyThreadState* __tstate = wxPyBeginAllowThreads();
30218 (arg1)->Add(arg2);
30219
30220 wxPyEndAllowThreads(__tstate);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
30223 Py_INCREF(Py_None); resultobj = Py_None;
30224 return resultobj;
30225 fail:
30226 return NULL;
30227 }
30228
30229
30230 static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30231 PyObject *resultobj;
30232 wxSizer *arg1 = (wxSizer *) 0 ;
30233 size_t arg2 ;
30234 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
30235 PyObject * obj0 = 0 ;
30236 PyObject * obj1 = 0 ;
30237 PyObject * obj2 = 0 ;
30238 char *kwnames[] = {
30239 (char *) "self",(char *) "index",(char *) "item", NULL
30240 };
30241
30242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30244 arg2 = (size_t) PyInt_AsLong(obj1);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30247 {
30248 PyThreadState* __tstate = wxPyBeginAllowThreads();
30249 (arg1)->Insert(arg2,arg3);
30250
30251 wxPyEndAllowThreads(__tstate);
30252 if (PyErr_Occurred()) SWIG_fail;
30253 }
30254 Py_INCREF(Py_None); resultobj = Py_None;
30255 return resultobj;
30256 fail:
30257 return NULL;
30258 }
30259
30260
30261 static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30262 PyObject *resultobj;
30263 wxSizer *arg1 = (wxSizer *) 0 ;
30264 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
30265 PyObject * obj0 = 0 ;
30266 PyObject * obj1 = 0 ;
30267 char *kwnames[] = {
30268 (char *) "self",(char *) "item", NULL
30269 };
30270
30271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30274 {
30275 PyThreadState* __tstate = wxPyBeginAllowThreads();
30276 (arg1)->Prepend(arg2);
30277
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
30281 Py_INCREF(Py_None); resultobj = Py_None;
30282 return resultobj;
30283 fail:
30284 return NULL;
30285 }
30286
30287
30288 static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
30289 PyObject *resultobj;
30290 wxSizer *arg1 = (wxSizer *) 0 ;
30291 int arg2 ;
30292 int arg3 ;
30293 int arg4 ;
30294 int arg5 ;
30295 PyObject * obj0 = 0 ;
30296 char *kwnames[] = {
30297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30298 };
30299
30300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:Sizer_SetDimension",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
30301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30302 {
30303 PyThreadState* __tstate = wxPyBeginAllowThreads();
30304 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
30305
30306 wxPyEndAllowThreads(__tstate);
30307 if (PyErr_Occurred()) SWIG_fail;
30308 }
30309 Py_INCREF(Py_None); resultobj = Py_None;
30310 return resultobj;
30311 fail:
30312 return NULL;
30313 }
30314
30315
30316 static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30317 PyObject *resultobj;
30318 wxSizer *arg1 = (wxSizer *) 0 ;
30319 wxSize arg2 ;
30320 wxSize *argp2 ;
30321 PyObject * obj0 = 0 ;
30322 PyObject * obj1 = 0 ;
30323 char *kwnames[] = {
30324 (char *) "self",(char *) "size", NULL
30325 };
30326
30327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
30328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30329 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxSize,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
30330 arg2 = *argp2;
30331 {
30332 PyThreadState* __tstate = wxPyBeginAllowThreads();
30333 (arg1)->SetMinSize(arg2);
30334
30335 wxPyEndAllowThreads(__tstate);
30336 if (PyErr_Occurred()) SWIG_fail;
30337 }
30338 Py_INCREF(Py_None); resultobj = Py_None;
30339 return resultobj;
30340 fail:
30341 return NULL;
30342 }
30343
30344
30345 static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30346 PyObject *resultobj;
30347 wxSizer *arg1 = (wxSizer *) 0 ;
30348 wxSize result;
30349 PyObject * obj0 = 0 ;
30350 char *kwnames[] = {
30351 (char *) "self", NULL
30352 };
30353
30354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
30355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30356 {
30357 PyThreadState* __tstate = wxPyBeginAllowThreads();
30358 result = (arg1)->GetSize();
30359
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 {
30364 wxSize * resultptr;
30365 resultptr = new wxSize((wxSize &) result);
30366 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30367 }
30368 return resultobj;
30369 fail:
30370 return NULL;
30371 }
30372
30373
30374 static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj;
30376 wxSizer *arg1 = (wxSizer *) 0 ;
30377 wxPoint result;
30378 PyObject * obj0 = 0 ;
30379 char *kwnames[] = {
30380 (char *) "self", NULL
30381 };
30382
30383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
30384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30385 {
30386 PyThreadState* __tstate = wxPyBeginAllowThreads();
30387 result = (arg1)->GetPosition();
30388
30389 wxPyEndAllowThreads(__tstate);
30390 if (PyErr_Occurred()) SWIG_fail;
30391 }
30392 {
30393 wxPoint * resultptr;
30394 resultptr = new wxPoint((wxPoint &) result);
30395 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
30396 }
30397 return resultobj;
30398 fail:
30399 return NULL;
30400 }
30401
30402
30403 static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
30404 PyObject *resultobj;
30405 wxSizer *arg1 = (wxSizer *) 0 ;
30406 wxSize result;
30407 PyObject * obj0 = 0 ;
30408 char *kwnames[] = {
30409 (char *) "self", NULL
30410 };
30411
30412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
30413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30414 {
30415 PyThreadState* __tstate = wxPyBeginAllowThreads();
30416 result = (arg1)->GetMinSize();
30417
30418 wxPyEndAllowThreads(__tstate);
30419 if (PyErr_Occurred()) SWIG_fail;
30420 }
30421 {
30422 wxSize * resultptr;
30423 resultptr = new wxSize((wxSize &) result);
30424 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30425 }
30426 return resultobj;
30427 fail:
30428 return NULL;
30429 }
30430
30431
30432 static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30433 PyObject *resultobj;
30434 wxSizer *arg1 = (wxSizer *) 0 ;
30435 PyObject * obj0 = 0 ;
30436 char *kwnames[] = {
30437 (char *) "self", NULL
30438 };
30439
30440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
30441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30442 {
30443 PyThreadState* __tstate = wxPyBeginAllowThreads();
30444 (arg1)->RecalcSizes();
30445
30446 wxPyEndAllowThreads(__tstate);
30447 if (PyErr_Occurred()) SWIG_fail;
30448 }
30449 Py_INCREF(Py_None); resultobj = Py_None;
30450 return resultobj;
30451 fail:
30452 return NULL;
30453 }
30454
30455
30456 static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30457 PyObject *resultobj;
30458 wxSizer *arg1 = (wxSizer *) 0 ;
30459 wxSize result;
30460 PyObject * obj0 = 0 ;
30461 char *kwnames[] = {
30462 (char *) "self", NULL
30463 };
30464
30465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
30466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30467 {
30468 PyThreadState* __tstate = wxPyBeginAllowThreads();
30469 result = (arg1)->CalcMin();
30470
30471 wxPyEndAllowThreads(__tstate);
30472 if (PyErr_Occurred()) SWIG_fail;
30473 }
30474 {
30475 wxSize * resultptr;
30476 resultptr = new wxSize((wxSize &) result);
30477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30478 }
30479 return resultobj;
30480 fail:
30481 return NULL;
30482 }
30483
30484
30485 static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
30486 PyObject *resultobj;
30487 wxSizer *arg1 = (wxSizer *) 0 ;
30488 PyObject * obj0 = 0 ;
30489 char *kwnames[] = {
30490 (char *) "self", NULL
30491 };
30492
30493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
30494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30495 {
30496 PyThreadState* __tstate = wxPyBeginAllowThreads();
30497 (arg1)->Layout();
30498
30499 wxPyEndAllowThreads(__tstate);
30500 if (PyErr_Occurred()) SWIG_fail;
30501 }
30502 Py_INCREF(Py_None); resultobj = Py_None;
30503 return resultobj;
30504 fail:
30505 return NULL;
30506 }
30507
30508
30509 static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
30510 PyObject *resultobj;
30511 wxSizer *arg1 = (wxSizer *) 0 ;
30512 wxWindow *arg2 = (wxWindow *) 0 ;
30513 wxSize result;
30514 PyObject * obj0 = 0 ;
30515 PyObject * obj1 = 0 ;
30516 char *kwnames[] = {
30517 (char *) "self",(char *) "window", NULL
30518 };
30519
30520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
30521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30523 {
30524 PyThreadState* __tstate = wxPyBeginAllowThreads();
30525 result = (arg1)->Fit(arg2);
30526
30527 wxPyEndAllowThreads(__tstate);
30528 if (PyErr_Occurred()) SWIG_fail;
30529 }
30530 {
30531 wxSize * resultptr;
30532 resultptr = new wxSize((wxSize &) result);
30533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
30534 }
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
30542 PyObject *resultobj;
30543 wxSizer *arg1 = (wxSizer *) 0 ;
30544 wxWindow *arg2 = (wxWindow *) 0 ;
30545 PyObject * obj0 = 0 ;
30546 PyObject * obj1 = 0 ;
30547 char *kwnames[] = {
30548 (char *) "self",(char *) "window", NULL
30549 };
30550
30551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
30552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30554 {
30555 PyThreadState* __tstate = wxPyBeginAllowThreads();
30556 (arg1)->FitInside(arg2);
30557
30558 wxPyEndAllowThreads(__tstate);
30559 if (PyErr_Occurred()) SWIG_fail;
30560 }
30561 Py_INCREF(Py_None); resultobj = Py_None;
30562 return resultobj;
30563 fail:
30564 return NULL;
30565 }
30566
30567
30568 static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30569 PyObject *resultobj;
30570 wxSizer *arg1 = (wxSizer *) 0 ;
30571 wxWindow *arg2 = (wxWindow *) 0 ;
30572 PyObject * obj0 = 0 ;
30573 PyObject * obj1 = 0 ;
30574 char *kwnames[] = {
30575 (char *) "self",(char *) "window", NULL
30576 };
30577
30578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
30579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30581 {
30582 PyThreadState* __tstate = wxPyBeginAllowThreads();
30583 (arg1)->SetSizeHints(arg2);
30584
30585 wxPyEndAllowThreads(__tstate);
30586 if (PyErr_Occurred()) SWIG_fail;
30587 }
30588 Py_INCREF(Py_None); resultobj = Py_None;
30589 return resultobj;
30590 fail:
30591 return NULL;
30592 }
30593
30594
30595 static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
30596 PyObject *resultobj;
30597 wxSizer *arg1 = (wxSizer *) 0 ;
30598 wxWindow *arg2 = (wxWindow *) 0 ;
30599 PyObject * obj0 = 0 ;
30600 PyObject * obj1 = 0 ;
30601 char *kwnames[] = {
30602 (char *) "self",(char *) "window", NULL
30603 };
30604
30605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
30606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 (arg1)->SetVirtualSizeHints(arg2);
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 Py_INCREF(Py_None); resultobj = Py_None;
30616 return resultobj;
30617 fail:
30618 return NULL;
30619 }
30620
30621
30622 static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
30623 PyObject *resultobj;
30624 wxSizer *arg1 = (wxSizer *) 0 ;
30625 bool arg2 = (bool) FALSE ;
30626 PyObject * obj0 = 0 ;
30627 PyObject * obj1 = 0 ;
30628 char *kwnames[] = {
30629 (char *) "self",(char *) "delete_windows", NULL
30630 };
30631
30632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
30633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30634 if (obj1) {
30635 arg2 = PyInt_AsLong(obj1) ? true : false;
30636 if (PyErr_Occurred()) SWIG_fail;
30637 }
30638 {
30639 PyThreadState* __tstate = wxPyBeginAllowThreads();
30640 (arg1)->Clear(arg2);
30641
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 Py_INCREF(Py_None); resultobj = Py_None;
30646 return resultobj;
30647 fail:
30648 return NULL;
30649 }
30650
30651
30652 static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
30653 PyObject *resultobj;
30654 wxSizer *arg1 = (wxSizer *) 0 ;
30655 PyObject * obj0 = 0 ;
30656 char *kwnames[] = {
30657 (char *) "self", NULL
30658 };
30659
30660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
30661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30662 {
30663 PyThreadState* __tstate = wxPyBeginAllowThreads();
30664 (arg1)->DeleteWindows();
30665
30666 wxPyEndAllowThreads(__tstate);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 }
30669 Py_INCREF(Py_None); resultobj = Py_None;
30670 return resultobj;
30671 fail:
30672 return NULL;
30673 }
30674
30675
30676 static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
30677 PyObject *resultobj;
30678 wxSizer *arg1 = (wxSizer *) 0 ;
30679 PyObject *result;
30680 PyObject * obj0 = 0 ;
30681 char *kwnames[] = {
30682 (char *) "self", NULL
30683 };
30684
30685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
30686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30687 {
30688 PyThreadState* __tstate = wxPyBeginAllowThreads();
30689 result = (PyObject *)wxSizer_GetChildren(arg1);
30690
30691 wxPyEndAllowThreads(__tstate);
30692 if (PyErr_Occurred()) SWIG_fail;
30693 }
30694 resultobj = result;
30695 return resultobj;
30696 fail:
30697 return NULL;
30698 }
30699
30700
30701 static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30702 PyObject *resultobj;
30703 wxSizer *arg1 = (wxSizer *) 0 ;
30704 PyObject *arg2 = (PyObject *) 0 ;
30705 bool arg3 = (bool) TRUE ;
30706 PyObject * obj0 = 0 ;
30707 PyObject * obj1 = 0 ;
30708 PyObject * obj2 = 0 ;
30709 char *kwnames[] = {
30710 (char *) "self",(char *) "item",(char *) "show", NULL
30711 };
30712
30713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
30714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30715 arg2 = obj1;
30716 if (obj2) {
30717 arg3 = PyInt_AsLong(obj2) ? true : false;
30718 if (PyErr_Occurred()) SWIG_fail;
30719 }
30720 {
30721 PyThreadState* __tstate = wxPyBeginAllowThreads();
30722 wxSizer_Show(arg1,arg2,arg3);
30723
30724 wxPyEndAllowThreads(__tstate);
30725 if (PyErr_Occurred()) SWIG_fail;
30726 }
30727 Py_INCREF(Py_None); resultobj = Py_None;
30728 return resultobj;
30729 fail:
30730 return NULL;
30731 }
30732
30733
30734 static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30735 PyObject *resultobj;
30736 wxSizer *arg1 = (wxSizer *) 0 ;
30737 PyObject *arg2 = (PyObject *) 0 ;
30738 PyObject * obj0 = 0 ;
30739 PyObject * obj1 = 0 ;
30740 char *kwnames[] = {
30741 (char *) "self",(char *) "item", NULL
30742 };
30743
30744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
30745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30746 arg2 = obj1;
30747 {
30748 PyThreadState* __tstate = wxPyBeginAllowThreads();
30749 wxSizer_Hide(arg1,arg2);
30750
30751 wxPyEndAllowThreads(__tstate);
30752 if (PyErr_Occurred()) SWIG_fail;
30753 }
30754 Py_INCREF(Py_None); resultobj = Py_None;
30755 return resultobj;
30756 fail:
30757 return NULL;
30758 }
30759
30760
30761 static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
30762 PyObject *resultobj;
30763 wxSizer *arg1 = (wxSizer *) 0 ;
30764 PyObject *arg2 = (PyObject *) 0 ;
30765 bool result;
30766 PyObject * obj0 = 0 ;
30767 PyObject * obj1 = 0 ;
30768 char *kwnames[] = {
30769 (char *) "self",(char *) "item", NULL
30770 };
30771
30772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
30773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30774 arg2 = obj1;
30775 {
30776 PyThreadState* __tstate = wxPyBeginAllowThreads();
30777 result = (bool)wxSizer_IsShown(arg1,arg2);
30778
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 resultobj = PyInt_FromLong((long)result);
30783 return resultobj;
30784 fail:
30785 return NULL;
30786 }
30787
30788
30789 static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30790 PyObject *resultobj;
30791 wxSizer *arg1 = (wxSizer *) 0 ;
30792 bool arg2 ;
30793 PyObject * obj0 = 0 ;
30794 PyObject * obj1 = 0 ;
30795 char *kwnames[] = {
30796 (char *) "self",(char *) "show", NULL
30797 };
30798
30799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
30800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30801 arg2 = PyInt_AsLong(obj1) ? true : false;
30802 if (PyErr_Occurred()) SWIG_fail;
30803 {
30804 PyThreadState* __tstate = wxPyBeginAllowThreads();
30805 (arg1)->ShowItems(arg2);
30806
30807 wxPyEndAllowThreads(__tstate);
30808 if (PyErr_Occurred()) SWIG_fail;
30809 }
30810 Py_INCREF(Py_None); resultobj = Py_None;
30811 return resultobj;
30812 fail:
30813 return NULL;
30814 }
30815
30816
30817 static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
30818 PyObject *obj;
30819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30820 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
30821 Py_INCREF(obj);
30822 return Py_BuildValue((char *)"");
30823 }
30824 static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30825 PyObject *resultobj;
30826 wxPySizer *result;
30827 char *kwnames[] = {
30828 NULL
30829 };
30830
30831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
30832 {
30833 PyThreadState* __tstate = wxPyBeginAllowThreads();
30834 result = (wxPySizer *)new wxPySizer();
30835
30836 wxPyEndAllowThreads(__tstate);
30837 if (PyErr_Occurred()) SWIG_fail;
30838 }
30839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPySizer, 1);
30840 return resultobj;
30841 fail:
30842 return NULL;
30843 }
30844
30845
30846 static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
30847 PyObject *resultobj;
30848 wxPySizer *arg1 = (wxPySizer *) 0 ;
30849 PyObject *arg2 = (PyObject *) 0 ;
30850 PyObject *arg3 = (PyObject *) 0 ;
30851 PyObject * obj0 = 0 ;
30852 PyObject * obj1 = 0 ;
30853 PyObject * obj2 = 0 ;
30854 char *kwnames[] = {
30855 (char *) "self",(char *) "self",(char *) "_class", NULL
30856 };
30857
30858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
30859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPySizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30860 arg2 = obj1;
30861 arg3 = obj2;
30862 {
30863 PyThreadState* __tstate = wxPyBeginAllowThreads();
30864 (arg1)->_setCallbackInfo(arg2,arg3);
30865
30866 wxPyEndAllowThreads(__tstate);
30867 if (PyErr_Occurred()) SWIG_fail;
30868 }
30869 Py_INCREF(Py_None); resultobj = Py_None;
30870 return resultobj;
30871 fail:
30872 return NULL;
30873 }
30874
30875
30876 static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
30877 PyObject *obj;
30878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30879 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
30880 Py_INCREF(obj);
30881 return Py_BuildValue((char *)"");
30882 }
30883 static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
30884 PyObject *resultobj;
30885 int arg1 = (int) wxHORIZONTAL ;
30886 wxBoxSizer *result;
30887 char *kwnames[] = {
30888 (char *) "orient", NULL
30889 };
30890
30891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_BoxSizer",kwnames,&arg1)) goto fail;
30892 {
30893 PyThreadState* __tstate = wxPyBeginAllowThreads();
30894 result = (wxBoxSizer *)new wxBoxSizer(arg1);
30895
30896 wxPyEndAllowThreads(__tstate);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 }
30899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBoxSizer, 1);
30900 return resultobj;
30901 fail:
30902 return NULL;
30903 }
30904
30905
30906 static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30907 PyObject *resultobj;
30908 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30909 int result;
30910 PyObject * obj0 = 0 ;
30911 char *kwnames[] = {
30912 (char *) "self", NULL
30913 };
30914
30915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
30916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30917 {
30918 PyThreadState* __tstate = wxPyBeginAllowThreads();
30919 result = (int)(arg1)->GetOrientation();
30920
30921 wxPyEndAllowThreads(__tstate);
30922 if (PyErr_Occurred()) SWIG_fail;
30923 }
30924 resultobj = PyInt_FromLong((long)result);
30925 return resultobj;
30926 fail:
30927 return NULL;
30928 }
30929
30930
30931 static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
30932 PyObject *resultobj;
30933 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30934 int arg2 ;
30935 PyObject * obj0 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "self",(char *) "orient", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BoxSizer_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
30941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 (arg1)->SetOrientation(arg2);
30945
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 Py_INCREF(Py_None); resultobj = Py_None;
30950 return resultobj;
30951 fail:
30952 return NULL;
30953 }
30954
30955
30956 static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
30957 PyObject *resultobj;
30958 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30959 PyObject * obj0 = 0 ;
30960 char *kwnames[] = {
30961 (char *) "self", NULL
30962 };
30963
30964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
30965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30966 {
30967 PyThreadState* __tstate = wxPyBeginAllowThreads();
30968 (arg1)->RecalcSizes();
30969
30970 wxPyEndAllowThreads(__tstate);
30971 if (PyErr_Occurred()) SWIG_fail;
30972 }
30973 Py_INCREF(Py_None); resultobj = Py_None;
30974 return resultobj;
30975 fail:
30976 return NULL;
30977 }
30978
30979
30980 static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
30981 PyObject *resultobj;
30982 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
30983 wxSize result;
30984 PyObject * obj0 = 0 ;
30985 char *kwnames[] = {
30986 (char *) "self", NULL
30987 };
30988
30989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
30990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
30991 {
30992 PyThreadState* __tstate = wxPyBeginAllowThreads();
30993 result = (arg1)->CalcMin();
30994
30995 wxPyEndAllowThreads(__tstate);
30996 if (PyErr_Occurred()) SWIG_fail;
30997 }
30998 {
30999 wxSize * resultptr;
31000 resultptr = new wxSize((wxSize &) result);
31001 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31002 }
31003 return resultobj;
31004 fail:
31005 return NULL;
31006 }
31007
31008
31009 static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
31010 PyObject *obj;
31011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31012 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
31013 Py_INCREF(obj);
31014 return Py_BuildValue((char *)"");
31015 }
31016 static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31017 PyObject *resultobj;
31018 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
31019 int arg2 = (int) wxHORIZONTAL ;
31020 wxStaticBoxSizer *result;
31021 PyObject * obj0 = 0 ;
31022 char *kwnames[] = {
31023 (char *) "box",(char *) "orient", NULL
31024 };
31025
31026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_StaticBoxSizer",kwnames,&obj0,&arg2)) goto fail;
31027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31028 {
31029 PyThreadState* __tstate = wxPyBeginAllowThreads();
31030 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
31031
31032 wxPyEndAllowThreads(__tstate);
31033 if (PyErr_Occurred()) SWIG_fail;
31034 }
31035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBoxSizer, 1);
31036 return resultobj;
31037 fail:
31038 return NULL;
31039 }
31040
31041
31042 static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
31043 PyObject *resultobj;
31044 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31045 wxStaticBox *result;
31046 PyObject * obj0 = 0 ;
31047 char *kwnames[] = {
31048 (char *) "self", NULL
31049 };
31050
31051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
31052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31053 {
31054 PyThreadState* __tstate = wxPyBeginAllowThreads();
31055 result = (wxStaticBox *)(arg1)->GetStaticBox();
31056
31057 wxPyEndAllowThreads(__tstate);
31058 if (PyErr_Occurred()) SWIG_fail;
31059 }
31060 {
31061 resultobj = wxPyMake_wxObject(result);
31062 }
31063 return resultobj;
31064 fail:
31065 return NULL;
31066 }
31067
31068
31069 static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31070 PyObject *resultobj;
31071 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31072 PyObject * obj0 = 0 ;
31073 char *kwnames[] = {
31074 (char *) "self", NULL
31075 };
31076
31077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31079 {
31080 PyThreadState* __tstate = wxPyBeginAllowThreads();
31081 (arg1)->RecalcSizes();
31082
31083 wxPyEndAllowThreads(__tstate);
31084 if (PyErr_Occurred()) SWIG_fail;
31085 }
31086 Py_INCREF(Py_None); resultobj = Py_None;
31087 return resultobj;
31088 fail:
31089 return NULL;
31090 }
31091
31092
31093 static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31094 PyObject *resultobj;
31095 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
31096 wxSize result;
31097 PyObject * obj0 = 0 ;
31098 char *kwnames[] = {
31099 (char *) "self", NULL
31100 };
31101
31102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
31103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBoxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 result = (arg1)->CalcMin();
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
31111 {
31112 wxSize * resultptr;
31113 resultptr = new wxSize((wxSize &) result);
31114 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31115 }
31116 return resultobj;
31117 fail:
31118 return NULL;
31119 }
31120
31121
31122 static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
31123 PyObject *obj;
31124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31125 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
31126 Py_INCREF(obj);
31127 return Py_BuildValue((char *)"");
31128 }
31129 static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31130 PyObject *resultobj;
31131 int arg1 = (int) 1 ;
31132 int arg2 = (int) 0 ;
31133 int arg3 = (int) 0 ;
31134 int arg4 = (int) 0 ;
31135 wxGridSizer *result;
31136 char *kwnames[] = {
31137 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31138 };
31139
31140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_GridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31141 {
31142 PyThreadState* __tstate = wxPyBeginAllowThreads();
31143 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
31144
31145 wxPyEndAllowThreads(__tstate);
31146 if (PyErr_Occurred()) SWIG_fail;
31147 }
31148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridSizer, 1);
31149 return resultobj;
31150 fail:
31151 return NULL;
31152 }
31153
31154
31155 static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31156 PyObject *resultobj;
31157 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31158 PyObject * obj0 = 0 ;
31159 char *kwnames[] = {
31160 (char *) "self", NULL
31161 };
31162
31163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31165 {
31166 PyThreadState* __tstate = wxPyBeginAllowThreads();
31167 (arg1)->RecalcSizes();
31168
31169 wxPyEndAllowThreads(__tstate);
31170 if (PyErr_Occurred()) SWIG_fail;
31171 }
31172 Py_INCREF(Py_None); resultobj = Py_None;
31173 return resultobj;
31174 fail:
31175 return NULL;
31176 }
31177
31178
31179 static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31180 PyObject *resultobj;
31181 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31182 wxSize result;
31183 PyObject * obj0 = 0 ;
31184 char *kwnames[] = {
31185 (char *) "self", NULL
31186 };
31187
31188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
31189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31190 {
31191 PyThreadState* __tstate = wxPyBeginAllowThreads();
31192 result = (arg1)->CalcMin();
31193
31194 wxPyEndAllowThreads(__tstate);
31195 if (PyErr_Occurred()) SWIG_fail;
31196 }
31197 {
31198 wxSize * resultptr;
31199 resultptr = new wxSize((wxSize &) result);
31200 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31201 }
31202 return resultobj;
31203 fail:
31204 return NULL;
31205 }
31206
31207
31208 static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31209 PyObject *resultobj;
31210 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31211 int arg2 ;
31212 PyObject * obj0 = 0 ;
31213 char *kwnames[] = {
31214 (char *) "self",(char *) "cols", NULL
31215 };
31216
31217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetCols",kwnames,&obj0,&arg2)) goto fail;
31218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 (arg1)->SetCols(arg2);
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 Py_INCREF(Py_None); resultobj = Py_None;
31227 return resultobj;
31228 fail:
31229 return NULL;
31230 }
31231
31232
31233 static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31234 PyObject *resultobj;
31235 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31236 int arg2 ;
31237 PyObject * obj0 = 0 ;
31238 char *kwnames[] = {
31239 (char *) "self",(char *) "rows", NULL
31240 };
31241
31242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetRows",kwnames,&obj0,&arg2)) goto fail;
31243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31244 {
31245 PyThreadState* __tstate = wxPyBeginAllowThreads();
31246 (arg1)->SetRows(arg2);
31247
31248 wxPyEndAllowThreads(__tstate);
31249 if (PyErr_Occurred()) SWIG_fail;
31250 }
31251 Py_INCREF(Py_None); resultobj = Py_None;
31252 return resultobj;
31253 fail:
31254 return NULL;
31255 }
31256
31257
31258 static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31259 PyObject *resultobj;
31260 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31261 int arg2 ;
31262 PyObject * obj0 = 0 ;
31263 char *kwnames[] = {
31264 (char *) "self",(char *) "gap", NULL
31265 };
31266
31267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetVGap",kwnames,&obj0,&arg2)) goto fail;
31268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31269 {
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 (arg1)->SetVGap(arg2);
31272
31273 wxPyEndAllowThreads(__tstate);
31274 if (PyErr_Occurred()) SWIG_fail;
31275 }
31276 Py_INCREF(Py_None); resultobj = Py_None;
31277 return resultobj;
31278 fail:
31279 return NULL;
31280 }
31281
31282
31283 static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31284 PyObject *resultobj;
31285 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31286 int arg2 ;
31287 PyObject * obj0 = 0 ;
31288 char *kwnames[] = {
31289 (char *) "self",(char *) "gap", NULL
31290 };
31291
31292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GridSizer_SetHGap",kwnames,&obj0,&arg2)) goto fail;
31293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31294 {
31295 PyThreadState* __tstate = wxPyBeginAllowThreads();
31296 (arg1)->SetHGap(arg2);
31297
31298 wxPyEndAllowThreads(__tstate);
31299 if (PyErr_Occurred()) SWIG_fail;
31300 }
31301 Py_INCREF(Py_None); resultobj = Py_None;
31302 return resultobj;
31303 fail:
31304 return NULL;
31305 }
31306
31307
31308 static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
31309 PyObject *resultobj;
31310 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31311 int result;
31312 PyObject * obj0 = 0 ;
31313 char *kwnames[] = {
31314 (char *) "self", NULL
31315 };
31316
31317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
31318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31319 {
31320 PyThreadState* __tstate = wxPyBeginAllowThreads();
31321 result = (int)(arg1)->GetCols();
31322
31323 wxPyEndAllowThreads(__tstate);
31324 if (PyErr_Occurred()) SWIG_fail;
31325 }
31326 resultobj = PyInt_FromLong((long)result);
31327 return resultobj;
31328 fail:
31329 return NULL;
31330 }
31331
31332
31333 static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
31334 PyObject *resultobj;
31335 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31336 int result;
31337 PyObject * obj0 = 0 ;
31338 char *kwnames[] = {
31339 (char *) "self", NULL
31340 };
31341
31342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
31343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 result = (int)(arg1)->GetRows();
31347
31348 wxPyEndAllowThreads(__tstate);
31349 if (PyErr_Occurred()) SWIG_fail;
31350 }
31351 resultobj = PyInt_FromLong((long)result);
31352 return resultobj;
31353 fail:
31354 return NULL;
31355 }
31356
31357
31358 static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31359 PyObject *resultobj;
31360 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31361 int result;
31362 PyObject * obj0 = 0 ;
31363 char *kwnames[] = {
31364 (char *) "self", NULL
31365 };
31366
31367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
31368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (int)(arg1)->GetVGap();
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
31376 resultobj = PyInt_FromLong((long)result);
31377 return resultobj;
31378 fail:
31379 return NULL;
31380 }
31381
31382
31383 static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
31384 PyObject *resultobj;
31385 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
31386 int result;
31387 PyObject * obj0 = 0 ;
31388 char *kwnames[] = {
31389 (char *) "self", NULL
31390 };
31391
31392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",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 result = (int)(arg1)->GetHGap();
31397
31398 wxPyEndAllowThreads(__tstate);
31399 if (PyErr_Occurred()) SWIG_fail;
31400 }
31401 resultobj = PyInt_FromLong((long)result);
31402 return resultobj;
31403 fail:
31404 return NULL;
31405 }
31406
31407
31408 static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
31409 PyObject *obj;
31410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31411 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
31412 Py_INCREF(obj);
31413 return Py_BuildValue((char *)"");
31414 }
31415 static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
31416 PyObject *resultobj;
31417 int arg1 = (int) 1 ;
31418 int arg2 = (int) 0 ;
31419 int arg3 = (int) 0 ;
31420 int arg4 = (int) 0 ;
31421 wxFlexGridSizer *result;
31422 char *kwnames[] = {
31423 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31424 };
31425
31426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_FlexGridSizer",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
31427 {
31428 PyThreadState* __tstate = wxPyBeginAllowThreads();
31429 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
31430
31431 wxPyEndAllowThreads(__tstate);
31432 if (PyErr_Occurred()) SWIG_fail;
31433 }
31434 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFlexGridSizer, 1);
31435 return resultobj;
31436 fail:
31437 return NULL;
31438 }
31439
31440
31441 static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
31442 PyObject *resultobj;
31443 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31444 PyObject * obj0 = 0 ;
31445 char *kwnames[] = {
31446 (char *) "self", NULL
31447 };
31448
31449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
31450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31451 {
31452 PyThreadState* __tstate = wxPyBeginAllowThreads();
31453 (arg1)->RecalcSizes();
31454
31455 wxPyEndAllowThreads(__tstate);
31456 if (PyErr_Occurred()) SWIG_fail;
31457 }
31458 Py_INCREF(Py_None); resultobj = Py_None;
31459 return resultobj;
31460 fail:
31461 return NULL;
31462 }
31463
31464
31465 static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
31466 PyObject *resultobj;
31467 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31468 wxSize result;
31469 PyObject * obj0 = 0 ;
31470 char *kwnames[] = {
31471 (char *) "self", NULL
31472 };
31473
31474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
31475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31476 {
31477 PyThreadState* __tstate = wxPyBeginAllowThreads();
31478 result = (arg1)->CalcMin();
31479
31480 wxPyEndAllowThreads(__tstate);
31481 if (PyErr_Occurred()) SWIG_fail;
31482 }
31483 {
31484 wxSize * resultptr;
31485 resultptr = new wxSize((wxSize &) result);
31486 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
31487 }
31488 return resultobj;
31489 fail:
31490 return NULL;
31491 }
31492
31493
31494 static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31495 PyObject *resultobj;
31496 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31497 size_t arg2 ;
31498 int arg3 = (int) 0 ;
31499 PyObject * obj0 = 0 ;
31500 PyObject * obj1 = 0 ;
31501 char *kwnames[] = {
31502 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31503 };
31504
31505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&arg3)) goto fail;
31506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31507 arg2 = (size_t) PyInt_AsLong(obj1);
31508 if (PyErr_Occurred()) SWIG_fail;
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 (arg1)->AddGrowableRow(arg2,arg3);
31512
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 Py_INCREF(Py_None); resultobj = Py_None;
31517 return resultobj;
31518 fail:
31519 return NULL;
31520 }
31521
31522
31523 static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31524 PyObject *resultobj;
31525 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31526 size_t arg2 ;
31527 PyObject * obj0 = 0 ;
31528 PyObject * obj1 = 0 ;
31529 char *kwnames[] = {
31530 (char *) "self",(char *) "idx", NULL
31531 };
31532
31533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
31534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31535 arg2 = (size_t) PyInt_AsLong(obj1);
31536 if (PyErr_Occurred()) SWIG_fail;
31537 {
31538 PyThreadState* __tstate = wxPyBeginAllowThreads();
31539 (arg1)->RemoveGrowableRow(arg2);
31540
31541 wxPyEndAllowThreads(__tstate);
31542 if (PyErr_Occurred()) SWIG_fail;
31543 }
31544 Py_INCREF(Py_None); resultobj = Py_None;
31545 return resultobj;
31546 fail:
31547 return NULL;
31548 }
31549
31550
31551 static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31552 PyObject *resultobj;
31553 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31554 size_t arg2 ;
31555 int arg3 = (int) 0 ;
31556 PyObject * obj0 = 0 ;
31557 PyObject * obj1 = 0 ;
31558 char *kwnames[] = {
31559 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31560 };
31561
31562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&arg3)) goto fail;
31563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31564 arg2 = (size_t) PyInt_AsLong(obj1);
31565 if (PyErr_Occurred()) SWIG_fail;
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 (arg1)->AddGrowableCol(arg2,arg3);
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
31573 Py_INCREF(Py_None); resultobj = Py_None;
31574 return resultobj;
31575 fail:
31576 return NULL;
31577 }
31578
31579
31580 static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31581 PyObject *resultobj;
31582 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31583 size_t arg2 ;
31584 PyObject * obj0 = 0 ;
31585 PyObject * obj1 = 0 ;
31586 char *kwnames[] = {
31587 (char *) "self",(char *) "idx", NULL
31588 };
31589
31590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
31591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31592 arg2 = (size_t) PyInt_AsLong(obj1);
31593 if (PyErr_Occurred()) SWIG_fail;
31594 {
31595 PyThreadState* __tstate = wxPyBeginAllowThreads();
31596 (arg1)->RemoveGrowableCol(arg2);
31597
31598 wxPyEndAllowThreads(__tstate);
31599 if (PyErr_Occurred()) SWIG_fail;
31600 }
31601 Py_INCREF(Py_None); resultobj = Py_None;
31602 return resultobj;
31603 fail:
31604 return NULL;
31605 }
31606
31607
31608 static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31609 PyObject *resultobj;
31610 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31611 int arg2 ;
31612 PyObject * obj0 = 0 ;
31613 char *kwnames[] = {
31614 (char *) "self",(char *) "direction", NULL
31615 };
31616
31617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&arg2)) goto fail;
31618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31619 {
31620 PyThreadState* __tstate = wxPyBeginAllowThreads();
31621 (arg1)->SetFlexibleDirection(arg2);
31622
31623 wxPyEndAllowThreads(__tstate);
31624 if (PyErr_Occurred()) SWIG_fail;
31625 }
31626 Py_INCREF(Py_None); resultobj = Py_None;
31627 return resultobj;
31628 fail:
31629 return NULL;
31630 }
31631
31632
31633 static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
31634 PyObject *resultobj;
31635 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31636 int result;
31637 PyObject * obj0 = 0 ;
31638 char *kwnames[] = {
31639 (char *) "self", NULL
31640 };
31641
31642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
31643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31644 {
31645 PyThreadState* __tstate = wxPyBeginAllowThreads();
31646 result = (int)(arg1)->GetFlexibleDirection();
31647
31648 wxPyEndAllowThreads(__tstate);
31649 if (PyErr_Occurred()) SWIG_fail;
31650 }
31651 resultobj = PyInt_FromLong((long)result);
31652 return resultobj;
31653 fail:
31654 return NULL;
31655 }
31656
31657
31658 static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31659 PyObject *resultobj;
31660 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31661 int arg2 ;
31662 PyObject * obj0 = 0 ;
31663 char *kwnames[] = {
31664 (char *) "self",(char *) "mode", NULL
31665 };
31666
31667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&arg2)) goto fail;
31668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31669 {
31670 PyThreadState* __tstate = wxPyBeginAllowThreads();
31671 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
31672
31673 wxPyEndAllowThreads(__tstate);
31674 if (PyErr_Occurred()) SWIG_fail;
31675 }
31676 Py_INCREF(Py_None); resultobj = Py_None;
31677 return resultobj;
31678 fail:
31679 return NULL;
31680 }
31681
31682
31683 static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
31684 PyObject *resultobj;
31685 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
31686 int result;
31687 PyObject * obj0 = 0 ;
31688 char *kwnames[] = {
31689 (char *) "self", NULL
31690 };
31691
31692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
31693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFlexGridSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31694 {
31695 PyThreadState* __tstate = wxPyBeginAllowThreads();
31696 result = (int)(arg1)->GetNonFlexibleGrowMode();
31697
31698 wxPyEndAllowThreads(__tstate);
31699 if (PyErr_Occurred()) SWIG_fail;
31700 }
31701 resultobj = PyInt_FromLong((long)result);
31702 return resultobj;
31703 fail:
31704 return NULL;
31705 }
31706
31707
31708 static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
31709 PyObject *obj;
31710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31711 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
31712 Py_INCREF(obj);
31713 return Py_BuildValue((char *)"");
31714 }
31715 static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
31716 PyObject *resultobj;
31717 int arg1 = (int) 0 ;
31718 int arg2 = (int) 0 ;
31719 wxGBPosition *result;
31720 char *kwnames[] = {
31721 (char *) "row",(char *) "col", NULL
31722 };
31723
31724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBPosition",kwnames,&arg1,&arg2)) goto fail;
31725 {
31726 PyThreadState* __tstate = wxPyBeginAllowThreads();
31727 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
31728
31729 wxPyEndAllowThreads(__tstate);
31730 if (PyErr_Occurred()) SWIG_fail;
31731 }
31732 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBPosition, 1);
31733 return resultobj;
31734 fail:
31735 return NULL;
31736 }
31737
31738
31739 static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31740 PyObject *resultobj;
31741 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31742 int result;
31743 PyObject * obj0 = 0 ;
31744 char *kwnames[] = {
31745 (char *) "self", NULL
31746 };
31747
31748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
31749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31750 {
31751 PyThreadState* __tstate = wxPyBeginAllowThreads();
31752 result = (int)((wxGBPosition const *)arg1)->GetRow();
31753
31754 wxPyEndAllowThreads(__tstate);
31755 if (PyErr_Occurred()) SWIG_fail;
31756 }
31757 resultobj = PyInt_FromLong((long)result);
31758 return resultobj;
31759 fail:
31760 return NULL;
31761 }
31762
31763
31764 static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31765 PyObject *resultobj;
31766 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31767 int result;
31768 PyObject * obj0 = 0 ;
31769 char *kwnames[] = {
31770 (char *) "self", NULL
31771 };
31772
31773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
31774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31775 {
31776 PyThreadState* __tstate = wxPyBeginAllowThreads();
31777 result = (int)((wxGBPosition const *)arg1)->GetCol();
31778
31779 wxPyEndAllowThreads(__tstate);
31780 if (PyErr_Occurred()) SWIG_fail;
31781 }
31782 resultobj = PyInt_FromLong((long)result);
31783 return resultobj;
31784 fail:
31785 return NULL;
31786 }
31787
31788
31789 static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
31790 PyObject *resultobj;
31791 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31792 int arg2 ;
31793 PyObject * obj0 = 0 ;
31794 char *kwnames[] = {
31795 (char *) "self",(char *) "row", NULL
31796 };
31797
31798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetRow",kwnames,&obj0,&arg2)) goto fail;
31799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31800 {
31801 PyThreadState* __tstate = wxPyBeginAllowThreads();
31802 (arg1)->SetRow(arg2);
31803
31804 wxPyEndAllowThreads(__tstate);
31805 if (PyErr_Occurred()) SWIG_fail;
31806 }
31807 Py_INCREF(Py_None); resultobj = Py_None;
31808 return resultobj;
31809 fail:
31810 return NULL;
31811 }
31812
31813
31814 static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
31815 PyObject *resultobj;
31816 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31817 int arg2 ;
31818 PyObject * obj0 = 0 ;
31819 char *kwnames[] = {
31820 (char *) "self",(char *) "col", NULL
31821 };
31822
31823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBPosition_SetCol",kwnames,&obj0,&arg2)) goto fail;
31824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31825 {
31826 PyThreadState* __tstate = wxPyBeginAllowThreads();
31827 (arg1)->SetCol(arg2);
31828
31829 wxPyEndAllowThreads(__tstate);
31830 if (PyErr_Occurred()) SWIG_fail;
31831 }
31832 Py_INCREF(Py_None); resultobj = Py_None;
31833 return resultobj;
31834 fail:
31835 return NULL;
31836 }
31837
31838
31839 static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
31840 PyObject *resultobj;
31841 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31842 wxGBPosition *arg2 = 0 ;
31843 bool result;
31844 wxGBPosition temp2 ;
31845 PyObject * obj0 = 0 ;
31846 PyObject * obj1 = 0 ;
31847 char *kwnames[] = {
31848 (char *) "self",(char *) "p", NULL
31849 };
31850
31851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
31852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31853 {
31854 arg2 = &temp2;
31855 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31856 }
31857 {
31858 PyThreadState* __tstate = wxPyBeginAllowThreads();
31859 result = (bool)((wxGBPosition const *)arg1)->operator ==((wxGBPosition const &)*arg2);
31860
31861 wxPyEndAllowThreads(__tstate);
31862 if (PyErr_Occurred()) SWIG_fail;
31863 }
31864 resultobj = PyInt_FromLong((long)result);
31865 return resultobj;
31866 fail:
31867 return NULL;
31868 }
31869
31870
31871 static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
31872 PyObject *resultobj;
31873 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31874 wxGBPosition *arg2 = 0 ;
31875 bool result;
31876 wxGBPosition temp2 ;
31877 PyObject * obj0 = 0 ;
31878 PyObject * obj1 = 0 ;
31879 char *kwnames[] = {
31880 (char *) "self",(char *) "p", NULL
31881 };
31882
31883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
31884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31885 {
31886 arg2 = &temp2;
31887 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
31888 }
31889 {
31890 PyThreadState* __tstate = wxPyBeginAllowThreads();
31891 result = (bool)((wxGBPosition const *)arg1)->operator !=((wxGBPosition const &)*arg2);
31892
31893 wxPyEndAllowThreads(__tstate);
31894 if (PyErr_Occurred()) SWIG_fail;
31895 }
31896 resultobj = PyInt_FromLong((long)result);
31897 return resultobj;
31898 fail:
31899 return NULL;
31900 }
31901
31902
31903 static PyObject *_wrap_GBPosition_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
31904 PyObject *resultobj;
31905 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
31906 PyObject *result;
31907 PyObject * obj0 = 0 ;
31908 char *kwnames[] = {
31909 (char *) "self", NULL
31910 };
31911
31912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_asTuple",kwnames,&obj0)) goto fail;
31913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBPosition,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31914 {
31915 PyThreadState* __tstate = wxPyBeginAllowThreads();
31916 result = (PyObject *)wxGBPosition_asTuple(arg1);
31917
31918 wxPyEndAllowThreads(__tstate);
31919 if (PyErr_Occurred()) SWIG_fail;
31920 }
31921 resultobj = result;
31922 return resultobj;
31923 fail:
31924 return NULL;
31925 }
31926
31927
31928 static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
31929 PyObject *obj;
31930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31931 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
31932 Py_INCREF(obj);
31933 return Py_BuildValue((char *)"");
31934 }
31935 static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
31936 PyObject *resultobj;
31937 int arg1 = (int) 1 ;
31938 int arg2 = (int) 1 ;
31939 wxGBSpan *result;
31940 char *kwnames[] = {
31941 (char *) "rowspan",(char *) "colspan", NULL
31942 };
31943
31944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GBSpan",kwnames,&arg1,&arg2)) goto fail;
31945 {
31946 PyThreadState* __tstate = wxPyBeginAllowThreads();
31947 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
31948
31949 wxPyEndAllowThreads(__tstate);
31950 if (PyErr_Occurred()) SWIG_fail;
31951 }
31952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSpan, 1);
31953 return resultobj;
31954 fail:
31955 return NULL;
31956 }
31957
31958
31959 static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31960 PyObject *resultobj;
31961 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31962 int result;
31963 PyObject * obj0 = 0 ;
31964 char *kwnames[] = {
31965 (char *) "self", NULL
31966 };
31967
31968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
31969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31970 {
31971 PyThreadState* __tstate = wxPyBeginAllowThreads();
31972 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
31973
31974 wxPyEndAllowThreads(__tstate);
31975 if (PyErr_Occurred()) SWIG_fail;
31976 }
31977 resultobj = PyInt_FromLong((long)result);
31978 return resultobj;
31979 fail:
31980 return NULL;
31981 }
31982
31983
31984 static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
31985 PyObject *resultobj;
31986 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
31987 int result;
31988 PyObject * obj0 = 0 ;
31989 char *kwnames[] = {
31990 (char *) "self", NULL
31991 };
31992
31993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
31994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
31995 {
31996 PyThreadState* __tstate = wxPyBeginAllowThreads();
31997 result = (int)((wxGBSpan const *)arg1)->GetColspan();
31998
31999 wxPyEndAllowThreads(__tstate);
32000 if (PyErr_Occurred()) SWIG_fail;
32001 }
32002 resultobj = PyInt_FromLong((long)result);
32003 return resultobj;
32004 fail:
32005 return NULL;
32006 }
32007
32008
32009 static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32010 PyObject *resultobj;
32011 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32012 int arg2 ;
32013 PyObject * obj0 = 0 ;
32014 char *kwnames[] = {
32015 (char *) "self",(char *) "rowspan", NULL
32016 };
32017
32018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetRowspan",kwnames,&obj0,&arg2)) goto fail;
32019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32020 {
32021 PyThreadState* __tstate = wxPyBeginAllowThreads();
32022 (arg1)->SetRowspan(arg2);
32023
32024 wxPyEndAllowThreads(__tstate);
32025 if (PyErr_Occurred()) SWIG_fail;
32026 }
32027 Py_INCREF(Py_None); resultobj = Py_None;
32028 return resultobj;
32029 fail:
32030 return NULL;
32031 }
32032
32033
32034 static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
32035 PyObject *resultobj;
32036 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32037 int arg2 ;
32038 PyObject * obj0 = 0 ;
32039 char *kwnames[] = {
32040 (char *) "self",(char *) "colspan", NULL
32041 };
32042
32043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GBSpan_SetColspan",kwnames,&obj0,&arg2)) goto fail;
32044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32045 {
32046 PyThreadState* __tstate = wxPyBeginAllowThreads();
32047 (arg1)->SetColspan(arg2);
32048
32049 wxPyEndAllowThreads(__tstate);
32050 if (PyErr_Occurred()) SWIG_fail;
32051 }
32052 Py_INCREF(Py_None); resultobj = Py_None;
32053 return resultobj;
32054 fail:
32055 return NULL;
32056 }
32057
32058
32059 static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
32060 PyObject *resultobj;
32061 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32062 wxGBSpan *arg2 = 0 ;
32063 bool result;
32064 wxGBSpan temp2 ;
32065 PyObject * obj0 = 0 ;
32066 PyObject * obj1 = 0 ;
32067 char *kwnames[] = {
32068 (char *) "self",(char *) "o", NULL
32069 };
32070
32071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
32072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32073 {
32074 arg2 = &temp2;
32075 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32076 }
32077 {
32078 PyThreadState* __tstate = wxPyBeginAllowThreads();
32079 result = (bool)((wxGBSpan const *)arg1)->operator ==((wxGBSpan const &)*arg2);
32080
32081 wxPyEndAllowThreads(__tstate);
32082 if (PyErr_Occurred()) SWIG_fail;
32083 }
32084 resultobj = PyInt_FromLong((long)result);
32085 return resultobj;
32086 fail:
32087 return NULL;
32088 }
32089
32090
32091 static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
32092 PyObject *resultobj;
32093 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32094 wxGBSpan *arg2 = 0 ;
32095 bool result;
32096 wxGBSpan temp2 ;
32097 PyObject * obj0 = 0 ;
32098 PyObject * obj1 = 0 ;
32099 char *kwnames[] = {
32100 (char *) "self",(char *) "o", NULL
32101 };
32102
32103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
32104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32105 {
32106 arg2 = &temp2;
32107 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32108 }
32109 {
32110 PyThreadState* __tstate = wxPyBeginAllowThreads();
32111 result = (bool)((wxGBSpan const *)arg1)->operator !=((wxGBSpan const &)*arg2);
32112
32113 wxPyEndAllowThreads(__tstate);
32114 if (PyErr_Occurred()) SWIG_fail;
32115 }
32116 resultobj = PyInt_FromLong((long)result);
32117 return resultobj;
32118 fail:
32119 return NULL;
32120 }
32121
32122
32123 static PyObject *_wrap_GBSpan_asTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
32124 PyObject *resultobj;
32125 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
32126 PyObject *result;
32127 PyObject * obj0 = 0 ;
32128 char *kwnames[] = {
32129 (char *) "self", NULL
32130 };
32131
32132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_asTuple",kwnames,&obj0)) goto fail;
32133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32134 {
32135 PyThreadState* __tstate = wxPyBeginAllowThreads();
32136 result = (PyObject *)wxGBSpan_asTuple(arg1);
32137
32138 wxPyEndAllowThreads(__tstate);
32139 if (PyErr_Occurred()) SWIG_fail;
32140 }
32141 resultobj = result;
32142 return resultobj;
32143 fail:
32144 return NULL;
32145 }
32146
32147
32148 static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
32149 PyObject *obj;
32150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32151 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
32152 Py_INCREF(obj);
32153 return Py_BuildValue((char *)"");
32154 }
32155 static int _wrap_DefaultSpan_set(PyObject *_val) {
32156 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
32157 return 1;
32158 }
32159
32160
32161 static PyObject *_wrap_DefaultSpan_get() {
32162 PyObject *pyobj;
32163
32164 pyobj = SWIG_NewPointerObj((void *) &wxDefaultSpan, SWIGTYPE_p_wxGBSpan, 0);
32165 return pyobj;
32166 }
32167
32168
32169 static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32170 PyObject *resultobj;
32171 wxGBSizerItem *result;
32172 char *kwnames[] = {
32173 NULL
32174 };
32175
32176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
32177 {
32178 PyThreadState* __tstate = wxPyBeginAllowThreads();
32179 result = (wxGBSizerItem *)new wxGBSizerItem();
32180
32181 wxPyEndAllowThreads(__tstate);
32182 if (PyErr_Occurred()) SWIG_fail;
32183 }
32184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32185 return resultobj;
32186 fail:
32187 return NULL;
32188 }
32189
32190
32191 static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32192 PyObject *resultobj;
32193 wxWindow *arg1 = (wxWindow *) 0 ;
32194 wxGBPosition *arg2 = 0 ;
32195 wxGBSpan *arg3 = 0 ;
32196 int arg4 ;
32197 int arg5 ;
32198 wxObject *arg6 = (wxObject *) 0 ;
32199 wxGBSizerItem *result;
32200 wxGBPosition temp2 ;
32201 wxGBSpan temp3 ;
32202 PyObject * obj0 = 0 ;
32203 PyObject * obj1 = 0 ;
32204 PyObject * obj2 = 0 ;
32205 PyObject * obj5 = 0 ;
32206 char *kwnames[] = {
32207 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32208 };
32209
32210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32212 {
32213 arg2 = &temp2;
32214 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32215 }
32216 {
32217 arg3 = &temp3;
32218 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32219 }
32220 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32221 {
32222 PyThreadState* __tstate = wxPyBeginAllowThreads();
32223 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32224
32225 wxPyEndAllowThreads(__tstate);
32226 if (PyErr_Occurred()) SWIG_fail;
32227 }
32228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32229 return resultobj;
32230 fail:
32231 return NULL;
32232 }
32233
32234
32235 static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32236 PyObject *resultobj;
32237 wxSizer *arg1 = (wxSizer *) 0 ;
32238 wxGBPosition *arg2 = 0 ;
32239 wxGBSpan *arg3 = 0 ;
32240 int arg4 ;
32241 int arg5 ;
32242 wxObject *arg6 = (wxObject *) 0 ;
32243 wxGBSizerItem *result;
32244 wxGBPosition temp2 ;
32245 wxGBSpan temp3 ;
32246 PyObject * obj0 = 0 ;
32247 PyObject * obj1 = 0 ;
32248 PyObject * obj2 = 0 ;
32249 PyObject * obj5 = 0 ;
32250 char *kwnames[] = {
32251 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32252 };
32253
32254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
32255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32256 {
32257 arg2 = &temp2;
32258 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32259 }
32260 {
32261 arg3 = &temp3;
32262 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32263 }
32264 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32265 {
32266 PyThreadState* __tstate = wxPyBeginAllowThreads();
32267 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
32268
32269 wxPyEndAllowThreads(__tstate);
32270 if (PyErr_Occurred()) SWIG_fail;
32271 }
32272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32273 return resultobj;
32274 fail:
32275 return NULL;
32276 }
32277
32278
32279 static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32280 PyObject *resultobj;
32281 int arg1 ;
32282 int arg2 ;
32283 wxGBPosition *arg3 = 0 ;
32284 wxGBSpan *arg4 = 0 ;
32285 int arg5 ;
32286 int arg6 ;
32287 wxObject *arg7 = (wxObject *) 0 ;
32288 wxGBSizerItem *result;
32289 wxGBPosition temp3 ;
32290 wxGBSpan temp4 ;
32291 PyObject * obj2 = 0 ;
32292 PyObject * obj3 = 0 ;
32293 PyObject * obj6 = 0 ;
32294 char *kwnames[] = {
32295 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32296 };
32297
32298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames,&arg1,&arg2,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32299 {
32300 arg3 = &temp3;
32301 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32302 }
32303 {
32304 arg4 = &temp4;
32305 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32306 }
32307 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32308 {
32309 PyThreadState* __tstate = wxPyBeginAllowThreads();
32310 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32311
32312 wxPyEndAllowThreads(__tstate);
32313 if (PyErr_Occurred()) SWIG_fail;
32314 }
32315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 1);
32316 return resultobj;
32317 fail:
32318 return NULL;
32319 }
32320
32321
32322 static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32323 PyObject *resultobj;
32324 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32325 wxGBPosition result;
32326 PyObject * obj0 = 0 ;
32327 char *kwnames[] = {
32328 (char *) "self", NULL
32329 };
32330
32331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
32332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32333 {
32334 PyThreadState* __tstate = wxPyBeginAllowThreads();
32335 result = ((wxGBSizerItem const *)arg1)->GetPos();
32336
32337 wxPyEndAllowThreads(__tstate);
32338 if (PyErr_Occurred()) SWIG_fail;
32339 }
32340 {
32341 wxGBPosition * resultptr;
32342 resultptr = new wxGBPosition((wxGBPosition &) result);
32343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32344 }
32345 return resultobj;
32346 fail:
32347 return NULL;
32348 }
32349
32350
32351 static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32352 PyObject *resultobj;
32353 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32354 wxGBSpan result;
32355 PyObject * obj0 = 0 ;
32356 char *kwnames[] = {
32357 (char *) "self", NULL
32358 };
32359
32360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
32361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32362 {
32363 PyThreadState* __tstate = wxPyBeginAllowThreads();
32364 result = ((wxGBSizerItem const *)arg1)->GetSpan();
32365
32366 wxPyEndAllowThreads(__tstate);
32367 if (PyErr_Occurred()) SWIG_fail;
32368 }
32369 {
32370 wxGBSpan * resultptr;
32371 resultptr = new wxGBSpan((wxGBSpan &) result);
32372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
32373 }
32374 return resultobj;
32375 fail:
32376 return NULL;
32377 }
32378
32379
32380 static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32381 PyObject *resultobj;
32382 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32383 wxGBPosition *arg2 = 0 ;
32384 bool result;
32385 wxGBPosition temp2 ;
32386 PyObject * obj0 = 0 ;
32387 PyObject * obj1 = 0 ;
32388 char *kwnames[] = {
32389 (char *) "self",(char *) "pos", NULL
32390 };
32391
32392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
32393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32394 {
32395 arg2 = &temp2;
32396 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32397 }
32398 {
32399 PyThreadState* __tstate = wxPyBeginAllowThreads();
32400 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
32401
32402 wxPyEndAllowThreads(__tstate);
32403 if (PyErr_Occurred()) SWIG_fail;
32404 }
32405 resultobj = PyInt_FromLong((long)result);
32406 return resultobj;
32407 fail:
32408 return NULL;
32409 }
32410
32411
32412 static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
32413 PyObject *resultobj;
32414 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32415 wxGBSpan *arg2 = 0 ;
32416 bool result;
32417 wxGBSpan temp2 ;
32418 PyObject * obj0 = 0 ;
32419 PyObject * obj1 = 0 ;
32420 char *kwnames[] = {
32421 (char *) "self",(char *) "span", NULL
32422 };
32423
32424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
32425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32426 {
32427 arg2 = &temp2;
32428 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
32429 }
32430 {
32431 PyThreadState* __tstate = wxPyBeginAllowThreads();
32432 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
32433
32434 wxPyEndAllowThreads(__tstate);
32435 if (PyErr_Occurred()) SWIG_fail;
32436 }
32437 resultobj = PyInt_FromLong((long)result);
32438 return resultobj;
32439 fail:
32440 return NULL;
32441 }
32442
32443
32444 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
32445 PyObject *resultobj;
32446 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32447 wxGBSizerItem *arg2 = 0 ;
32448 bool result;
32449 PyObject * obj0 = 0 ;
32450 PyObject * obj1 = 0 ;
32451
32452 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
32453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32455 if (arg2 == NULL) {
32456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32457 }
32458 {
32459 PyThreadState* __tstate = wxPyBeginAllowThreads();
32460 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
32461
32462 wxPyEndAllowThreads(__tstate);
32463 if (PyErr_Occurred()) SWIG_fail;
32464 }
32465 resultobj = PyInt_FromLong((long)result);
32466 return resultobj;
32467 fail:
32468 return NULL;
32469 }
32470
32471
32472 static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
32473 PyObject *resultobj;
32474 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32475 wxGBPosition *arg2 = 0 ;
32476 wxGBSpan *arg3 = 0 ;
32477 bool result;
32478 wxGBPosition temp2 ;
32479 wxGBSpan temp3 ;
32480 PyObject * obj0 = 0 ;
32481 PyObject * obj1 = 0 ;
32482 PyObject * obj2 = 0 ;
32483
32484 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
32485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32486 {
32487 arg2 = &temp2;
32488 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
32489 }
32490 {
32491 arg3 = &temp3;
32492 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
32493 }
32494 {
32495 PyThreadState* __tstate = wxPyBeginAllowThreads();
32496 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
32497
32498 wxPyEndAllowThreads(__tstate);
32499 if (PyErr_Occurred()) SWIG_fail;
32500 }
32501 resultobj = PyInt_FromLong((long)result);
32502 return resultobj;
32503 fail:
32504 return NULL;
32505 }
32506
32507
32508 static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
32509 int argc;
32510 PyObject *argv[4];
32511 int ii;
32512
32513 argc = PyObject_Length(args);
32514 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
32515 argv[ii] = PyTuple_GetItem(args,ii);
32516 }
32517 if (argc == 2) {
32518 int _v;
32519 {
32520 void *ptr;
32521 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32522 _v = 0;
32523 PyErr_Clear();
32524 } else {
32525 _v = 1;
32526 }
32527 }
32528 if (_v) {
32529 {
32530 void *ptr;
32531 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32532 _v = 0;
32533 PyErr_Clear();
32534 } else {
32535 _v = 1;
32536 }
32537 }
32538 if (_v) {
32539 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
32540 }
32541 }
32542 }
32543 if (argc == 3) {
32544 int _v;
32545 {
32546 void *ptr;
32547 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
32548 _v = 0;
32549 PyErr_Clear();
32550 } else {
32551 _v = 1;
32552 }
32553 }
32554 if (_v) {
32555 {
32556 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
32557 }
32558 if (_v) {
32559 {
32560 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
32561 }
32562 if (_v) {
32563 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
32564 }
32565 }
32566 }
32567 }
32568
32569 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
32570 return NULL;
32571 }
32572
32573
32574 static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
32575 PyObject *resultobj;
32576 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32577 int *arg2 = 0 ;
32578 int *arg3 = 0 ;
32579 PyObject * obj0 = 0 ;
32580 PyObject * obj1 = 0 ;
32581 PyObject * obj2 = 0 ;
32582 char *kwnames[] = {
32583 (char *) "self",(char *) "row",(char *) "col", NULL
32584 };
32585
32586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
32587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32589 if (arg2 == NULL) {
32590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32591 }
32592 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_int,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32593 if (arg3 == NULL) {
32594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
32595 }
32596 {
32597 PyThreadState* __tstate = wxPyBeginAllowThreads();
32598 (arg1)->GetEndPos(*arg2,*arg3);
32599
32600 wxPyEndAllowThreads(__tstate);
32601 if (PyErr_Occurred()) SWIG_fail;
32602 }
32603 Py_INCREF(Py_None); resultobj = Py_None;
32604 return resultobj;
32605 fail:
32606 return NULL;
32607 }
32608
32609
32610 static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32611 PyObject *resultobj;
32612 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32613 wxGridBagSizer *result;
32614 PyObject * obj0 = 0 ;
32615 char *kwnames[] = {
32616 (char *) "self", NULL
32617 };
32618
32619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
32620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32621 {
32622 PyThreadState* __tstate = wxPyBeginAllowThreads();
32623 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
32624
32625 wxPyEndAllowThreads(__tstate);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 }
32628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 0);
32629 return resultobj;
32630 fail:
32631 return NULL;
32632 }
32633
32634
32635 static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32636 PyObject *resultobj;
32637 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
32638 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
32639 PyObject * obj0 = 0 ;
32640 PyObject * obj1 = 0 ;
32641 char *kwnames[] = {
32642 (char *) "self",(char *) "sizer", NULL
32643 };
32644
32645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
32646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32648 {
32649 PyThreadState* __tstate = wxPyBeginAllowThreads();
32650 (arg1)->SetGBSizer(arg2);
32651
32652 wxPyEndAllowThreads(__tstate);
32653 if (PyErr_Occurred()) SWIG_fail;
32654 }
32655 Py_INCREF(Py_None); resultobj = Py_None;
32656 return resultobj;
32657 fail:
32658 return NULL;
32659 }
32660
32661
32662 static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
32663 PyObject *obj;
32664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32665 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
32666 Py_INCREF(obj);
32667 return Py_BuildValue((char *)"");
32668 }
32669 static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32670 PyObject *resultobj;
32671 int arg1 = (int) 0 ;
32672 int arg2 = (int) 0 ;
32673 wxGridBagSizer *result;
32674 char *kwnames[] = {
32675 (char *) "vgap",(char *) "hgap", NULL
32676 };
32677
32678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_GridBagSizer",kwnames,&arg1,&arg2)) goto fail;
32679 {
32680 PyThreadState* __tstate = wxPyBeginAllowThreads();
32681 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
32682
32683 wxPyEndAllowThreads(__tstate);
32684 if (PyErr_Occurred()) SWIG_fail;
32685 }
32686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGridBagSizer, 1);
32687 return resultobj;
32688 fail:
32689 return NULL;
32690 }
32691
32692
32693 static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
32694 PyObject *resultobj;
32695 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32696 PyObject *arg2 = (PyObject *) 0 ;
32697 wxGBPosition *arg3 = 0 ;
32698 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
32699 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
32700 int arg5 = (int) 0 ;
32701 int arg6 = (int) 0 ;
32702 PyObject *arg7 = (PyObject *) NULL ;
32703 bool result;
32704 wxGBPosition temp3 ;
32705 wxGBSpan temp4 ;
32706 PyObject * obj0 = 0 ;
32707 PyObject * obj1 = 0 ;
32708 PyObject * obj2 = 0 ;
32709 PyObject * obj3 = 0 ;
32710 PyObject * obj6 = 0 ;
32711 char *kwnames[] = {
32712 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32713 };
32714
32715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
32716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32717 arg2 = obj1;
32718 {
32719 arg3 = &temp3;
32720 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
32721 }
32722 if (obj3) {
32723 {
32724 arg4 = &temp4;
32725 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
32726 }
32727 }
32728 if (obj6) {
32729 arg7 = obj6;
32730 }
32731 {
32732 PyThreadState* __tstate = wxPyBeginAllowThreads();
32733 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
32734
32735 wxPyEndAllowThreads(__tstate);
32736 if (PyErr_Occurred()) SWIG_fail;
32737 }
32738 resultobj = PyInt_FromLong((long)result);
32739 return resultobj;
32740 fail:
32741 return NULL;
32742 }
32743
32744
32745 static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32746 PyObject *resultobj;
32747 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32748 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
32749 bool result;
32750 PyObject * obj0 = 0 ;
32751 PyObject * obj1 = 0 ;
32752 char *kwnames[] = {
32753 (char *) "self",(char *) "item", NULL
32754 };
32755
32756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
32757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32758 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32759 {
32760 PyThreadState* __tstate = wxPyBeginAllowThreads();
32761 result = (bool)(arg1)->Add(arg2);
32762
32763 wxPyEndAllowThreads(__tstate);
32764 if (PyErr_Occurred()) SWIG_fail;
32765 }
32766 resultobj = PyInt_FromLong((long)result);
32767 return resultobj;
32768 fail:
32769 return NULL;
32770 }
32771
32772
32773 static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32774 PyObject *resultobj;
32775 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32776 wxSize result;
32777 PyObject * obj0 = 0 ;
32778 char *kwnames[] = {
32779 (char *) "self", NULL
32780 };
32781
32782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
32783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32784 {
32785 PyThreadState* __tstate = wxPyBeginAllowThreads();
32786 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
32787
32788 wxPyEndAllowThreads(__tstate);
32789 if (PyErr_Occurred()) SWIG_fail;
32790 }
32791 {
32792 wxSize * resultptr;
32793 resultptr = new wxSize((wxSize &) result);
32794 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
32795 }
32796 return resultobj;
32797 fail:
32798 return NULL;
32799 }
32800
32801
32802 static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32803 PyObject *resultobj;
32804 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32805 wxSize *arg2 = 0 ;
32806 wxSize temp2 ;
32807 PyObject * obj0 = 0 ;
32808 PyObject * obj1 = 0 ;
32809 char *kwnames[] = {
32810 (char *) "self",(char *) "sz", NULL
32811 };
32812
32813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
32814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32815 {
32816 arg2 = &temp2;
32817 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32818 }
32819 {
32820 PyThreadState* __tstate = wxPyBeginAllowThreads();
32821 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
32822
32823 wxPyEndAllowThreads(__tstate);
32824 if (PyErr_Occurred()) SWIG_fail;
32825 }
32826 Py_INCREF(Py_None); resultobj = Py_None;
32827 return resultobj;
32828 fail:
32829 return NULL;
32830 }
32831
32832
32833 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
32834 PyObject *resultobj;
32835 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32836 wxWindow *arg2 = (wxWindow *) 0 ;
32837 wxGBPosition result;
32838 PyObject * obj0 = 0 ;
32839 PyObject * obj1 = 0 ;
32840
32841 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32844 {
32845 PyThreadState* __tstate = wxPyBeginAllowThreads();
32846 result = (arg1)->GetItemPosition(arg2);
32847
32848 wxPyEndAllowThreads(__tstate);
32849 if (PyErr_Occurred()) SWIG_fail;
32850 }
32851 {
32852 wxGBPosition * resultptr;
32853 resultptr = new wxGBPosition((wxGBPosition &) result);
32854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32855 }
32856 return resultobj;
32857 fail:
32858 return NULL;
32859 }
32860
32861
32862 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
32863 PyObject *resultobj;
32864 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32865 wxSizer *arg2 = (wxSizer *) 0 ;
32866 wxGBPosition result;
32867 PyObject * obj0 = 0 ;
32868 PyObject * obj1 = 0 ;
32869
32870 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32873 {
32874 PyThreadState* __tstate = wxPyBeginAllowThreads();
32875 result = (arg1)->GetItemPosition(arg2);
32876
32877 wxPyEndAllowThreads(__tstate);
32878 if (PyErr_Occurred()) SWIG_fail;
32879 }
32880 {
32881 wxGBPosition * resultptr;
32882 resultptr = new wxGBPosition((wxGBPosition &) result);
32883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32884 }
32885 return resultobj;
32886 fail:
32887 return NULL;
32888 }
32889
32890
32891 static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
32892 PyObject *resultobj;
32893 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
32894 size_t arg2 ;
32895 wxGBPosition result;
32896 PyObject * obj0 = 0 ;
32897 PyObject * obj1 = 0 ;
32898
32899 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
32900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
32901 arg2 = (size_t) PyInt_AsLong(obj1);
32902 if (PyErr_Occurred()) SWIG_fail;
32903 {
32904 PyThreadState* __tstate = wxPyBeginAllowThreads();
32905 result = (arg1)->GetItemPosition(arg2);
32906
32907 wxPyEndAllowThreads(__tstate);
32908 if (PyErr_Occurred()) SWIG_fail;
32909 }
32910 {
32911 wxGBPosition * resultptr;
32912 resultptr = new wxGBPosition((wxGBPosition &) result);
32913 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBPosition, 1);
32914 }
32915 return resultobj;
32916 fail:
32917 return NULL;
32918 }
32919
32920
32921 static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
32922 int argc;
32923 PyObject *argv[3];
32924 int ii;
32925
32926 argc = PyObject_Length(args);
32927 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
32928 argv[ii] = PyTuple_GetItem(args,ii);
32929 }
32930 if (argc == 2) {
32931 int _v;
32932 {
32933 void *ptr;
32934 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32935 _v = 0;
32936 PyErr_Clear();
32937 } else {
32938 _v = 1;
32939 }
32940 }
32941 if (_v) {
32942 {
32943 void *ptr;
32944 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
32945 _v = 0;
32946 PyErr_Clear();
32947 } else {
32948 _v = 1;
32949 }
32950 }
32951 if (_v) {
32952 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
32953 }
32954 }
32955 }
32956 if (argc == 2) {
32957 int _v;
32958 {
32959 void *ptr;
32960 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32961 _v = 0;
32962 PyErr_Clear();
32963 } else {
32964 _v = 1;
32965 }
32966 }
32967 if (_v) {
32968 {
32969 void *ptr;
32970 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
32971 _v = 0;
32972 PyErr_Clear();
32973 } else {
32974 _v = 1;
32975 }
32976 }
32977 if (_v) {
32978 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
32979 }
32980 }
32981 }
32982 if (argc == 2) {
32983 int _v;
32984 {
32985 void *ptr;
32986 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
32987 _v = 0;
32988 PyErr_Clear();
32989 } else {
32990 _v = 1;
32991 }
32992 }
32993 if (_v) {
32994 {
32995 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
32996 }
32997 if (_v) {
32998 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
32999 }
33000 }
33001 }
33002
33003 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33004 return NULL;
33005 }
33006
33007
33008 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
33009 PyObject *resultobj;
33010 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33011 wxWindow *arg2 = (wxWindow *) 0 ;
33012 wxGBPosition *arg3 = 0 ;
33013 bool result;
33014 wxGBPosition temp3 ;
33015 PyObject * obj0 = 0 ;
33016 PyObject * obj1 = 0 ;
33017 PyObject * obj2 = 0 ;
33018
33019 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33022 {
33023 arg3 = &temp3;
33024 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33025 }
33026 {
33027 PyThreadState* __tstate = wxPyBeginAllowThreads();
33028 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33029
33030 wxPyEndAllowThreads(__tstate);
33031 if (PyErr_Occurred()) SWIG_fail;
33032 }
33033 resultobj = PyInt_FromLong((long)result);
33034 return resultobj;
33035 fail:
33036 return NULL;
33037 }
33038
33039
33040 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
33041 PyObject *resultobj;
33042 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33043 wxSizer *arg2 = (wxSizer *) 0 ;
33044 wxGBPosition *arg3 = 0 ;
33045 bool result;
33046 wxGBPosition temp3 ;
33047 PyObject * obj0 = 0 ;
33048 PyObject * obj1 = 0 ;
33049 PyObject * obj2 = 0 ;
33050
33051 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33054 {
33055 arg3 = &temp3;
33056 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33057 }
33058 {
33059 PyThreadState* __tstate = wxPyBeginAllowThreads();
33060 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33061
33062 wxPyEndAllowThreads(__tstate);
33063 if (PyErr_Occurred()) SWIG_fail;
33064 }
33065 resultobj = PyInt_FromLong((long)result);
33066 return resultobj;
33067 fail:
33068 return NULL;
33069 }
33070
33071
33072 static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
33073 PyObject *resultobj;
33074 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33075 size_t arg2 ;
33076 wxGBPosition *arg3 = 0 ;
33077 bool result;
33078 wxGBPosition temp3 ;
33079 PyObject * obj0 = 0 ;
33080 PyObject * obj1 = 0 ;
33081 PyObject * obj2 = 0 ;
33082
33083 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
33084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33085 arg2 = (size_t) PyInt_AsLong(obj1);
33086 if (PyErr_Occurred()) SWIG_fail;
33087 {
33088 arg3 = &temp3;
33089 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
33090 }
33091 {
33092 PyThreadState* __tstate = wxPyBeginAllowThreads();
33093 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
33094
33095 wxPyEndAllowThreads(__tstate);
33096 if (PyErr_Occurred()) SWIG_fail;
33097 }
33098 resultobj = PyInt_FromLong((long)result);
33099 return resultobj;
33100 fail:
33101 return NULL;
33102 }
33103
33104
33105 static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
33106 int argc;
33107 PyObject *argv[4];
33108 int ii;
33109
33110 argc = PyObject_Length(args);
33111 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33112 argv[ii] = PyTuple_GetItem(args,ii);
33113 }
33114 if (argc == 3) {
33115 int _v;
33116 {
33117 void *ptr;
33118 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33119 _v = 0;
33120 PyErr_Clear();
33121 } else {
33122 _v = 1;
33123 }
33124 }
33125 if (_v) {
33126 {
33127 void *ptr;
33128 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33129 _v = 0;
33130 PyErr_Clear();
33131 } else {
33132 _v = 1;
33133 }
33134 }
33135 if (_v) {
33136 {
33137 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33138 }
33139 if (_v) {
33140 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
33141 }
33142 }
33143 }
33144 }
33145 if (argc == 3) {
33146 int _v;
33147 {
33148 void *ptr;
33149 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33150 _v = 0;
33151 PyErr_Clear();
33152 } else {
33153 _v = 1;
33154 }
33155 }
33156 if (_v) {
33157 {
33158 void *ptr;
33159 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33160 _v = 0;
33161 PyErr_Clear();
33162 } else {
33163 _v = 1;
33164 }
33165 }
33166 if (_v) {
33167 {
33168 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33169 }
33170 if (_v) {
33171 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
33172 }
33173 }
33174 }
33175 }
33176 if (argc == 3) {
33177 int _v;
33178 {
33179 void *ptr;
33180 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33181 _v = 0;
33182 PyErr_Clear();
33183 } else {
33184 _v = 1;
33185 }
33186 }
33187 if (_v) {
33188 {
33189 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33190 }
33191 if (_v) {
33192 {
33193 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
33194 }
33195 if (_v) {
33196 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
33197 }
33198 }
33199 }
33200 }
33201
33202 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33203 return NULL;
33204 }
33205
33206
33207 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33208 PyObject *resultobj;
33209 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33210 wxWindow *arg2 = (wxWindow *) 0 ;
33211 wxGBSpan result;
33212 PyObject * obj0 = 0 ;
33213 PyObject * obj1 = 0 ;
33214
33215 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33218 {
33219 PyThreadState* __tstate = wxPyBeginAllowThreads();
33220 result = (arg1)->GetItemSpan(arg2);
33221
33222 wxPyEndAllowThreads(__tstate);
33223 if (PyErr_Occurred()) SWIG_fail;
33224 }
33225 {
33226 wxGBSpan * resultptr;
33227 resultptr = new wxGBSpan((wxGBSpan &) result);
33228 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33229 }
33230 return resultobj;
33231 fail:
33232 return NULL;
33233 }
33234
33235
33236 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33237 PyObject *resultobj;
33238 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33239 wxSizer *arg2 = (wxSizer *) 0 ;
33240 wxGBSpan result;
33241 PyObject * obj0 = 0 ;
33242 PyObject * obj1 = 0 ;
33243
33244 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33247 {
33248 PyThreadState* __tstate = wxPyBeginAllowThreads();
33249 result = (arg1)->GetItemSpan(arg2);
33250
33251 wxPyEndAllowThreads(__tstate);
33252 if (PyErr_Occurred()) SWIG_fail;
33253 }
33254 {
33255 wxGBSpan * resultptr;
33256 resultptr = new wxGBSpan((wxGBSpan &) result);
33257 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33258 }
33259 return resultobj;
33260 fail:
33261 return NULL;
33262 }
33263
33264
33265 static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33266 PyObject *resultobj;
33267 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33268 size_t arg2 ;
33269 wxGBSpan result;
33270 PyObject * obj0 = 0 ;
33271 PyObject * obj1 = 0 ;
33272
33273 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
33274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33275 arg2 = (size_t) PyInt_AsLong(obj1);
33276 if (PyErr_Occurred()) SWIG_fail;
33277 {
33278 PyThreadState* __tstate = wxPyBeginAllowThreads();
33279 result = (arg1)->GetItemSpan(arg2);
33280
33281 wxPyEndAllowThreads(__tstate);
33282 if (PyErr_Occurred()) SWIG_fail;
33283 }
33284 {
33285 wxGBSpan * resultptr;
33286 resultptr = new wxGBSpan((wxGBSpan &) result);
33287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxGBSpan, 1);
33288 }
33289 return resultobj;
33290 fail:
33291 return NULL;
33292 }
33293
33294
33295 static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
33296 int argc;
33297 PyObject *argv[3];
33298 int ii;
33299
33300 argc = PyObject_Length(args);
33301 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33302 argv[ii] = PyTuple_GetItem(args,ii);
33303 }
33304 if (argc == 2) {
33305 int _v;
33306 {
33307 void *ptr;
33308 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33309 _v = 0;
33310 PyErr_Clear();
33311 } else {
33312 _v = 1;
33313 }
33314 }
33315 if (_v) {
33316 {
33317 void *ptr;
33318 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33319 _v = 0;
33320 PyErr_Clear();
33321 } else {
33322 _v = 1;
33323 }
33324 }
33325 if (_v) {
33326 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
33327 }
33328 }
33329 }
33330 if (argc == 2) {
33331 int _v;
33332 {
33333 void *ptr;
33334 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33335 _v = 0;
33336 PyErr_Clear();
33337 } else {
33338 _v = 1;
33339 }
33340 }
33341 if (_v) {
33342 {
33343 void *ptr;
33344 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33345 _v = 0;
33346 PyErr_Clear();
33347 } else {
33348 _v = 1;
33349 }
33350 }
33351 if (_v) {
33352 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
33353 }
33354 }
33355 }
33356 if (argc == 2) {
33357 int _v;
33358 {
33359 void *ptr;
33360 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33361 _v = 0;
33362 PyErr_Clear();
33363 } else {
33364 _v = 1;
33365 }
33366 }
33367 if (_v) {
33368 {
33369 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33370 }
33371 if (_v) {
33372 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
33373 }
33374 }
33375 }
33376
33377 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33378 return NULL;
33379 }
33380
33381
33382 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
33383 PyObject *resultobj;
33384 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33385 wxWindow *arg2 = (wxWindow *) 0 ;
33386 wxGBSpan *arg3 = 0 ;
33387 bool result;
33388 wxGBSpan temp3 ;
33389 PyObject * obj0 = 0 ;
33390 PyObject * obj1 = 0 ;
33391 PyObject * obj2 = 0 ;
33392
33393 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33396 {
33397 arg3 = &temp3;
33398 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33399 }
33400 {
33401 PyThreadState* __tstate = wxPyBeginAllowThreads();
33402 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33403
33404 wxPyEndAllowThreads(__tstate);
33405 if (PyErr_Occurred()) SWIG_fail;
33406 }
33407 resultobj = PyInt_FromLong((long)result);
33408 return resultobj;
33409 fail:
33410 return NULL;
33411 }
33412
33413
33414 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
33415 PyObject *resultobj;
33416 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33417 wxSizer *arg2 = (wxSizer *) 0 ;
33418 wxGBSpan *arg3 = 0 ;
33419 bool result;
33420 wxGBSpan temp3 ;
33421 PyObject * obj0 = 0 ;
33422 PyObject * obj1 = 0 ;
33423 PyObject * obj2 = 0 ;
33424
33425 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33428 {
33429 arg3 = &temp3;
33430 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33431 }
33432 {
33433 PyThreadState* __tstate = wxPyBeginAllowThreads();
33434 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33435
33436 wxPyEndAllowThreads(__tstate);
33437 if (PyErr_Occurred()) SWIG_fail;
33438 }
33439 resultobj = PyInt_FromLong((long)result);
33440 return resultobj;
33441 fail:
33442 return NULL;
33443 }
33444
33445
33446 static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
33447 PyObject *resultobj;
33448 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33449 size_t arg2 ;
33450 wxGBSpan *arg3 = 0 ;
33451 bool result;
33452 wxGBSpan temp3 ;
33453 PyObject * obj0 = 0 ;
33454 PyObject * obj1 = 0 ;
33455 PyObject * obj2 = 0 ;
33456
33457 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
33458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33459 arg2 = (size_t) PyInt_AsLong(obj1);
33460 if (PyErr_Occurred()) SWIG_fail;
33461 {
33462 arg3 = &temp3;
33463 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33464 }
33465 {
33466 PyThreadState* __tstate = wxPyBeginAllowThreads();
33467 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
33468
33469 wxPyEndAllowThreads(__tstate);
33470 if (PyErr_Occurred()) SWIG_fail;
33471 }
33472 resultobj = PyInt_FromLong((long)result);
33473 return resultobj;
33474 fail:
33475 return NULL;
33476 }
33477
33478
33479 static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
33480 int argc;
33481 PyObject *argv[4];
33482 int ii;
33483
33484 argc = PyObject_Length(args);
33485 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
33486 argv[ii] = PyTuple_GetItem(args,ii);
33487 }
33488 if (argc == 3) {
33489 int _v;
33490 {
33491 void *ptr;
33492 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33493 _v = 0;
33494 PyErr_Clear();
33495 } else {
33496 _v = 1;
33497 }
33498 }
33499 if (_v) {
33500 {
33501 void *ptr;
33502 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33503 _v = 0;
33504 PyErr_Clear();
33505 } else {
33506 _v = 1;
33507 }
33508 }
33509 if (_v) {
33510 {
33511 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33512 }
33513 if (_v) {
33514 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
33515 }
33516 }
33517 }
33518 }
33519 if (argc == 3) {
33520 int _v;
33521 {
33522 void *ptr;
33523 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33524 _v = 0;
33525 PyErr_Clear();
33526 } else {
33527 _v = 1;
33528 }
33529 }
33530 if (_v) {
33531 {
33532 void *ptr;
33533 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33534 _v = 0;
33535 PyErr_Clear();
33536 } else {
33537 _v = 1;
33538 }
33539 }
33540 if (_v) {
33541 {
33542 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33543 }
33544 if (_v) {
33545 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
33546 }
33547 }
33548 }
33549 }
33550 if (argc == 3) {
33551 int _v;
33552 {
33553 void *ptr;
33554 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33555 _v = 0;
33556 PyErr_Clear();
33557 } else {
33558 _v = 1;
33559 }
33560 }
33561 if (_v) {
33562 {
33563 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
33564 }
33565 if (_v) {
33566 {
33567 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33568 }
33569 if (_v) {
33570 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
33571 }
33572 }
33573 }
33574 }
33575
33576 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33577 return NULL;
33578 }
33579
33580
33581 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
33582 PyObject *resultobj;
33583 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33584 wxWindow *arg2 = (wxWindow *) 0 ;
33585 wxGBSizerItem *result;
33586 PyObject * obj0 = 0 ;
33587 PyObject * obj1 = 0 ;
33588
33589 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33592 {
33593 PyThreadState* __tstate = wxPyBeginAllowThreads();
33594 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33595
33596 wxPyEndAllowThreads(__tstate);
33597 if (PyErr_Occurred()) SWIG_fail;
33598 }
33599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33600 return resultobj;
33601 fail:
33602 return NULL;
33603 }
33604
33605
33606 static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
33607 PyObject *resultobj;
33608 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33609 wxSizer *arg2 = (wxSizer *) 0 ;
33610 wxGBSizerItem *result;
33611 PyObject * obj0 = 0 ;
33612 PyObject * obj1 = 0 ;
33613
33614 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
33615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33617 {
33618 PyThreadState* __tstate = wxPyBeginAllowThreads();
33619 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
33620
33621 wxPyEndAllowThreads(__tstate);
33622 if (PyErr_Occurred()) SWIG_fail;
33623 }
33624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33625 return resultobj;
33626 fail:
33627 return NULL;
33628 }
33629
33630
33631 static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
33632 int argc;
33633 PyObject *argv[3];
33634 int ii;
33635
33636 argc = PyObject_Length(args);
33637 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
33638 argv[ii] = PyTuple_GetItem(args,ii);
33639 }
33640 if (argc == 2) {
33641 int _v;
33642 {
33643 void *ptr;
33644 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33645 _v = 0;
33646 PyErr_Clear();
33647 } else {
33648 _v = 1;
33649 }
33650 }
33651 if (_v) {
33652 {
33653 void *ptr;
33654 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
33655 _v = 0;
33656 PyErr_Clear();
33657 } else {
33658 _v = 1;
33659 }
33660 }
33661 if (_v) {
33662 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
33663 }
33664 }
33665 }
33666 if (argc == 2) {
33667 int _v;
33668 {
33669 void *ptr;
33670 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33671 _v = 0;
33672 PyErr_Clear();
33673 } else {
33674 _v = 1;
33675 }
33676 }
33677 if (_v) {
33678 {
33679 void *ptr;
33680 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
33681 _v = 0;
33682 PyErr_Clear();
33683 } else {
33684 _v = 1;
33685 }
33686 }
33687 if (_v) {
33688 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
33689 }
33690 }
33691 }
33692
33693 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
33694 return NULL;
33695 }
33696
33697
33698 static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33699 PyObject *resultobj;
33700 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33701 wxGBPosition *arg2 = 0 ;
33702 wxGBSizerItem *result;
33703 wxGBPosition temp2 ;
33704 PyObject * obj0 = 0 ;
33705 PyObject * obj1 = 0 ;
33706 char *kwnames[] = {
33707 (char *) "self",(char *) "pos", NULL
33708 };
33709
33710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
33711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33712 {
33713 arg2 = &temp2;
33714 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33715 }
33716 {
33717 PyThreadState* __tstate = wxPyBeginAllowThreads();
33718 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
33719
33720 wxPyEndAllowThreads(__tstate);
33721 if (PyErr_Occurred()) SWIG_fail;
33722 }
33723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33724 return resultobj;
33725 fail:
33726 return NULL;
33727 }
33728
33729
33730 static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
33731 PyObject *resultobj;
33732 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33733 wxObject *arg2 = (wxObject *) 0 ;
33734 wxGBSizerItem *result;
33735 PyObject * obj0 = 0 ;
33736 PyObject * obj1 = 0 ;
33737 char *kwnames[] = {
33738 (char *) "self",(char *) "userData", NULL
33739 };
33740
33741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
33742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33744 {
33745 PyThreadState* __tstate = wxPyBeginAllowThreads();
33746 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
33747
33748 wxPyEndAllowThreads(__tstate);
33749 if (PyErr_Occurred()) SWIG_fail;
33750 }
33751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGBSizerItem, 0);
33752 return resultobj;
33753 fail:
33754 return NULL;
33755 }
33756
33757
33758 static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
33759 PyObject *resultobj;
33760 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33761 PyObject * obj0 = 0 ;
33762 char *kwnames[] = {
33763 (char *) "self", NULL
33764 };
33765
33766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
33767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33768 {
33769 PyThreadState* __tstate = wxPyBeginAllowThreads();
33770 (arg1)->RecalcSizes();
33771
33772 wxPyEndAllowThreads(__tstate);
33773 if (PyErr_Occurred()) SWIG_fail;
33774 }
33775 Py_INCREF(Py_None); resultobj = Py_None;
33776 return resultobj;
33777 fail:
33778 return NULL;
33779 }
33780
33781
33782 static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33783 PyObject *resultobj;
33784 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33785 wxSize result;
33786 PyObject * obj0 = 0 ;
33787 char *kwnames[] = {
33788 (char *) "self", NULL
33789 };
33790
33791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
33792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33793 {
33794 PyThreadState* __tstate = wxPyBeginAllowThreads();
33795 result = (arg1)->CalcMin();
33796
33797 wxPyEndAllowThreads(__tstate);
33798 if (PyErr_Occurred()) SWIG_fail;
33799 }
33800 {
33801 wxSize * resultptr;
33802 resultptr = new wxSize((wxSize &) result);
33803 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
33804 }
33805 return resultobj;
33806 fail:
33807 return NULL;
33808 }
33809
33810
33811 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
33812 PyObject *resultobj;
33813 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33814 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
33815 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
33816 bool result;
33817 PyObject * obj0 = 0 ;
33818 PyObject * obj1 = 0 ;
33819 PyObject * obj2 = 0 ;
33820
33821 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
33822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33824 if (obj2) {
33825 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33826 }
33827 {
33828 PyThreadState* __tstate = wxPyBeginAllowThreads();
33829 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
33830
33831 wxPyEndAllowThreads(__tstate);
33832 if (PyErr_Occurred()) SWIG_fail;
33833 }
33834 resultobj = PyInt_FromLong((long)result);
33835 return resultobj;
33836 fail:
33837 return NULL;
33838 }
33839
33840
33841 static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
33842 PyObject *resultobj;
33843 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
33844 wxGBPosition *arg2 = 0 ;
33845 wxGBSpan *arg3 = 0 ;
33846 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
33847 bool result;
33848 wxGBPosition temp2 ;
33849 wxGBSpan temp3 ;
33850 PyObject * obj0 = 0 ;
33851 PyObject * obj1 = 0 ;
33852 PyObject * obj2 = 0 ;
33853 PyObject * obj3 = 0 ;
33854
33855 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
33856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGridBagSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33857 {
33858 arg2 = &temp2;
33859 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
33860 }
33861 {
33862 arg3 = &temp3;
33863 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
33864 }
33865 if (obj3) {
33866 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGBSizerItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33867 }
33868 {
33869 PyThreadState* __tstate = wxPyBeginAllowThreads();
33870 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
33871
33872 wxPyEndAllowThreads(__tstate);
33873 if (PyErr_Occurred()) SWIG_fail;
33874 }
33875 resultobj = PyInt_FromLong((long)result);
33876 return resultobj;
33877 fail:
33878 return NULL;
33879 }
33880
33881
33882 static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
33883 int argc;
33884 PyObject *argv[5];
33885 int ii;
33886
33887 argc = PyObject_Length(args);
33888 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
33889 argv[ii] = PyTuple_GetItem(args,ii);
33890 }
33891 if ((argc >= 2) && (argc <= 3)) {
33892 int _v;
33893 {
33894 void *ptr;
33895 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33896 _v = 0;
33897 PyErr_Clear();
33898 } else {
33899 _v = 1;
33900 }
33901 }
33902 if (_v) {
33903 {
33904 void *ptr;
33905 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33906 _v = 0;
33907 PyErr_Clear();
33908 } else {
33909 _v = 1;
33910 }
33911 }
33912 if (_v) {
33913 if (argc <= 2) {
33914 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33915 }
33916 {
33917 void *ptr;
33918 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33919 _v = 0;
33920 PyErr_Clear();
33921 } else {
33922 _v = 1;
33923 }
33924 }
33925 if (_v) {
33926 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
33927 }
33928 }
33929 }
33930 }
33931 if ((argc >= 3) && (argc <= 4)) {
33932 int _v;
33933 {
33934 void *ptr;
33935 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
33936 _v = 0;
33937 PyErr_Clear();
33938 } else {
33939 _v = 1;
33940 }
33941 }
33942 if (_v) {
33943 {
33944 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
33945 }
33946 if (_v) {
33947 {
33948 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
33949 }
33950 if (_v) {
33951 if (argc <= 3) {
33952 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
33953 }
33954 {
33955 void *ptr;
33956 if (SWIG_ConvertPtr(argv[3], (void **) &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
33957 _v = 0;
33958 PyErr_Clear();
33959 } else {
33960 _v = 1;
33961 }
33962 }
33963 if (_v) {
33964 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
33965 }
33966 }
33967 }
33968 }
33969 }
33970
33971 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
33972 return NULL;
33973 }
33974
33975
33976 static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
33977 PyObject *obj;
33978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33979 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
33980 Py_INCREF(obj);
33981 return Py_BuildValue((char *)"");
33982 }
33983 static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
33984 PyObject *resultobj;
33985 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
33986 int arg2 ;
33987 wxWindow *arg3 = (wxWindow *) 0 ;
33988 int arg4 ;
33989 int arg5 = (int) 0 ;
33990 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
33991 PyObject * obj0 = 0 ;
33992 PyObject * obj2 = 0 ;
33993 char *kwnames[] = {
33994 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
33995 };
33996
33997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5,&arg6)) goto fail;
33998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
33999 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34000 {
34001 PyThreadState* __tstate = wxPyBeginAllowThreads();
34002 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
34003
34004 wxPyEndAllowThreads(__tstate);
34005 if (PyErr_Occurred()) SWIG_fail;
34006 }
34007 Py_INCREF(Py_None); resultobj = Py_None;
34008 return resultobj;
34009 fail:
34010 return NULL;
34011 }
34012
34013
34014 static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34015 PyObject *resultobj;
34016 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34017 wxWindow *arg2 = (wxWindow *) 0 ;
34018 int arg3 = (int) 0 ;
34019 PyObject * obj0 = 0 ;
34020 PyObject * obj1 = 0 ;
34021 char *kwnames[] = {
34022 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34023 };
34024
34025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34028 {
34029 PyThreadState* __tstate = wxPyBeginAllowThreads();
34030 (arg1)->LeftOf(arg2,arg3);
34031
34032 wxPyEndAllowThreads(__tstate);
34033 if (PyErr_Occurred()) SWIG_fail;
34034 }
34035 Py_INCREF(Py_None); resultobj = Py_None;
34036 return resultobj;
34037 fail:
34038 return NULL;
34039 }
34040
34041
34042 static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34043 PyObject *resultobj;
34044 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34045 wxWindow *arg2 = (wxWindow *) 0 ;
34046 int arg3 = (int) 0 ;
34047 PyObject * obj0 = 0 ;
34048 PyObject * obj1 = 0 ;
34049 char *kwnames[] = {
34050 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34051 };
34052
34053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&arg3)) goto fail;
34054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34056 {
34057 PyThreadState* __tstate = wxPyBeginAllowThreads();
34058 (arg1)->RightOf(arg2,arg3);
34059
34060 wxPyEndAllowThreads(__tstate);
34061 if (PyErr_Occurred()) SWIG_fail;
34062 }
34063 Py_INCREF(Py_None); resultobj = Py_None;
34064 return resultobj;
34065 fail:
34066 return NULL;
34067 }
34068
34069
34070 static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
34071 PyObject *resultobj;
34072 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34073 wxWindow *arg2 = (wxWindow *) 0 ;
34074 int arg3 = (int) 0 ;
34075 PyObject * obj0 = 0 ;
34076 PyObject * obj1 = 0 ;
34077 char *kwnames[] = {
34078 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34079 };
34080
34081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&arg3)) goto fail;
34082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34084 {
34085 PyThreadState* __tstate = wxPyBeginAllowThreads();
34086 (arg1)->Above(arg2,arg3);
34087
34088 wxPyEndAllowThreads(__tstate);
34089 if (PyErr_Occurred()) SWIG_fail;
34090 }
34091 Py_INCREF(Py_None); resultobj = Py_None;
34092 return resultobj;
34093 fail:
34094 return NULL;
34095 }
34096
34097
34098 static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
34099 PyObject *resultobj;
34100 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34101 wxWindow *arg2 = (wxWindow *) 0 ;
34102 int arg3 = (int) 0 ;
34103 PyObject * obj0 = 0 ;
34104 PyObject * obj1 = 0 ;
34105 char *kwnames[] = {
34106 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34107 };
34108
34109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&arg3)) goto fail;
34110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34112 {
34113 PyThreadState* __tstate = wxPyBeginAllowThreads();
34114 (arg1)->Below(arg2,arg3);
34115
34116 wxPyEndAllowThreads(__tstate);
34117 if (PyErr_Occurred()) SWIG_fail;
34118 }
34119 Py_INCREF(Py_None); resultobj = Py_None;
34120 return resultobj;
34121 fail:
34122 return NULL;
34123 }
34124
34125
34126 static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
34127 PyObject *resultobj;
34128 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34129 wxWindow *arg2 = (wxWindow *) 0 ;
34130 int arg3 ;
34131 int arg4 = (int) 0 ;
34132 PyObject * obj0 = 0 ;
34133 PyObject * obj1 = 0 ;
34134 char *kwnames[] = {
34135 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34136 };
34137
34138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34141 {
34142 PyThreadState* __tstate = wxPyBeginAllowThreads();
34143 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
34144
34145 wxPyEndAllowThreads(__tstate);
34146 if (PyErr_Occurred()) SWIG_fail;
34147 }
34148 Py_INCREF(Py_None); resultobj = Py_None;
34149 return resultobj;
34150 fail:
34151 return NULL;
34152 }
34153
34154
34155 static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
34156 PyObject *resultobj;
34157 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34158 wxWindow *arg2 = (wxWindow *) 0 ;
34159 int arg3 ;
34160 int arg4 ;
34161 PyObject * obj0 = 0 ;
34162 PyObject * obj1 = 0 ;
34163 char *kwnames[] = {
34164 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34165 };
34166
34167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
34168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34170 {
34171 PyThreadState* __tstate = wxPyBeginAllowThreads();
34172 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
34173
34174 wxPyEndAllowThreads(__tstate);
34175 if (PyErr_Occurred()) SWIG_fail;
34176 }
34177 Py_INCREF(Py_None); resultobj = Py_None;
34178 return resultobj;
34179 fail:
34180 return NULL;
34181 }
34182
34183
34184 static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
34185 PyObject *resultobj;
34186 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34187 int arg2 ;
34188 PyObject * obj0 = 0 ;
34189 char *kwnames[] = {
34190 (char *) "self",(char *) "val", NULL
34191 };
34192
34193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&arg2)) goto fail;
34194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34195 {
34196 PyThreadState* __tstate = wxPyBeginAllowThreads();
34197 (arg1)->Absolute(arg2);
34198
34199 wxPyEndAllowThreads(__tstate);
34200 if (PyErr_Occurred()) SWIG_fail;
34201 }
34202 Py_INCREF(Py_None); resultobj = Py_None;
34203 return resultobj;
34204 fail:
34205 return NULL;
34206 }
34207
34208
34209 static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
34210 PyObject *resultobj;
34211 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34212 PyObject * obj0 = 0 ;
34213 char *kwnames[] = {
34214 (char *) "self", NULL
34215 };
34216
34217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
34218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34219 {
34220 PyThreadState* __tstate = wxPyBeginAllowThreads();
34221 (arg1)->Unconstrained();
34222
34223 wxPyEndAllowThreads(__tstate);
34224 if (PyErr_Occurred()) SWIG_fail;
34225 }
34226 Py_INCREF(Py_None); resultobj = Py_None;
34227 return resultobj;
34228 fail:
34229 return NULL;
34230 }
34231
34232
34233 static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
34234 PyObject *resultobj;
34235 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34236 PyObject * obj0 = 0 ;
34237 char *kwnames[] = {
34238 (char *) "self", NULL
34239 };
34240
34241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
34242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34243 {
34244 PyThreadState* __tstate = wxPyBeginAllowThreads();
34245 (arg1)->AsIs();
34246
34247 wxPyEndAllowThreads(__tstate);
34248 if (PyErr_Occurred()) SWIG_fail;
34249 }
34250 Py_INCREF(Py_None); resultobj = Py_None;
34251 return resultobj;
34252 fail:
34253 return NULL;
34254 }
34255
34256
34257 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34258 PyObject *resultobj;
34259 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34260 wxWindow *result;
34261 PyObject * obj0 = 0 ;
34262 char *kwnames[] = {
34263 (char *) "self", NULL
34264 };
34265
34266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
34267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34268 {
34269 PyThreadState* __tstate = wxPyBeginAllowThreads();
34270 result = (wxWindow *)(arg1)->GetOtherWindow();
34271
34272 wxPyEndAllowThreads(__tstate);
34273 if (PyErr_Occurred()) SWIG_fail;
34274 }
34275 {
34276 resultobj = wxPyMake_wxObject(result);
34277 }
34278 return resultobj;
34279 fail:
34280 return NULL;
34281 }
34282
34283
34284 static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34285 PyObject *resultobj;
34286 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34287 int result;
34288 PyObject * obj0 = 0 ;
34289 char *kwnames[] = {
34290 (char *) "self", NULL
34291 };
34292
34293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
34294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34295 {
34296 PyThreadState* __tstate = wxPyBeginAllowThreads();
34297 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
34298
34299 wxPyEndAllowThreads(__tstate);
34300 if (PyErr_Occurred()) SWIG_fail;
34301 }
34302 resultobj = PyInt_FromLong((long)result);
34303 return resultobj;
34304 fail:
34305 return NULL;
34306 }
34307
34308
34309 static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34310 PyObject *resultobj;
34311 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34312 int arg2 ;
34313 PyObject * obj0 = 0 ;
34314 char *kwnames[] = {
34315 (char *) "self",(char *) "which", NULL
34316 };
34317
34318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&arg2)) goto fail;
34319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34320 {
34321 PyThreadState* __tstate = wxPyBeginAllowThreads();
34322 (arg1)->SetEdge((wxEdge )arg2);
34323
34324 wxPyEndAllowThreads(__tstate);
34325 if (PyErr_Occurred()) SWIG_fail;
34326 }
34327 Py_INCREF(Py_None); resultobj = Py_None;
34328 return resultobj;
34329 fail:
34330 return NULL;
34331 }
34332
34333
34334 static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34335 PyObject *resultobj;
34336 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34337 int arg2 ;
34338 PyObject * obj0 = 0 ;
34339 char *kwnames[] = {
34340 (char *) "self",(char *) "v", NULL
34341 };
34342
34343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&arg2)) goto fail;
34344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34345 {
34346 PyThreadState* __tstate = wxPyBeginAllowThreads();
34347 (arg1)->SetValue(arg2);
34348
34349 wxPyEndAllowThreads(__tstate);
34350 if (PyErr_Occurred()) SWIG_fail;
34351 }
34352 Py_INCREF(Py_None); resultobj = Py_None;
34353 return resultobj;
34354 fail:
34355 return NULL;
34356 }
34357
34358
34359 static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34360 PyObject *resultobj;
34361 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34362 int result;
34363 PyObject * obj0 = 0 ;
34364 char *kwnames[] = {
34365 (char *) "self", NULL
34366 };
34367
34368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
34369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34370 {
34371 PyThreadState* __tstate = wxPyBeginAllowThreads();
34372 result = (int)(arg1)->GetMargin();
34373
34374 wxPyEndAllowThreads(__tstate);
34375 if (PyErr_Occurred()) SWIG_fail;
34376 }
34377 resultobj = PyInt_FromLong((long)result);
34378 return resultobj;
34379 fail:
34380 return NULL;
34381 }
34382
34383
34384 static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
34385 PyObject *resultobj;
34386 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34387 int arg2 ;
34388 PyObject * obj0 = 0 ;
34389 char *kwnames[] = {
34390 (char *) "self",(char *) "m", NULL
34391 };
34392
34393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&arg2)) goto fail;
34394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34395 {
34396 PyThreadState* __tstate = wxPyBeginAllowThreads();
34397 (arg1)->SetMargin(arg2);
34398
34399 wxPyEndAllowThreads(__tstate);
34400 if (PyErr_Occurred()) SWIG_fail;
34401 }
34402 Py_INCREF(Py_None); resultobj = Py_None;
34403 return resultobj;
34404 fail:
34405 return NULL;
34406 }
34407
34408
34409 static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
34410 PyObject *resultobj;
34411 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34412 int result;
34413 PyObject * obj0 = 0 ;
34414 char *kwnames[] = {
34415 (char *) "self", NULL
34416 };
34417
34418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
34419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34420 {
34421 PyThreadState* __tstate = wxPyBeginAllowThreads();
34422 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
34423
34424 wxPyEndAllowThreads(__tstate);
34425 if (PyErr_Occurred()) SWIG_fail;
34426 }
34427 resultobj = PyInt_FromLong((long)result);
34428 return resultobj;
34429 fail:
34430 return NULL;
34431 }
34432
34433
34434 static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
34435 PyObject *resultobj;
34436 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34437 int result;
34438 PyObject * obj0 = 0 ;
34439 char *kwnames[] = {
34440 (char *) "self", NULL
34441 };
34442
34443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
34444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34445 {
34446 PyThreadState* __tstate = wxPyBeginAllowThreads();
34447 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
34448
34449 wxPyEndAllowThreads(__tstate);
34450 if (PyErr_Occurred()) SWIG_fail;
34451 }
34452 resultobj = PyInt_FromLong((long)result);
34453 return resultobj;
34454 fail:
34455 return NULL;
34456 }
34457
34458
34459 static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34460 PyObject *resultobj;
34461 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34462 int result;
34463 PyObject * obj0 = 0 ;
34464 char *kwnames[] = {
34465 (char *) "self", NULL
34466 };
34467
34468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
34469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34470 {
34471 PyThreadState* __tstate = wxPyBeginAllowThreads();
34472 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
34473
34474 wxPyEndAllowThreads(__tstate);
34475 if (PyErr_Occurred()) SWIG_fail;
34476 }
34477 resultobj = PyInt_FromLong((long)result);
34478 return resultobj;
34479 fail:
34480 return NULL;
34481 }
34482
34483
34484 static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34485 PyObject *resultobj;
34486 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34487 bool result;
34488 PyObject * obj0 = 0 ;
34489 char *kwnames[] = {
34490 (char *) "self", NULL
34491 };
34492
34493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
34494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34495 {
34496 PyThreadState* __tstate = wxPyBeginAllowThreads();
34497 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
34498
34499 wxPyEndAllowThreads(__tstate);
34500 if (PyErr_Occurred()) SWIG_fail;
34501 }
34502 resultobj = PyInt_FromLong((long)result);
34503 return resultobj;
34504 fail:
34505 return NULL;
34506 }
34507
34508
34509 static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
34510 PyObject *resultobj;
34511 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34512 bool arg2 ;
34513 PyObject * obj0 = 0 ;
34514 PyObject * obj1 = 0 ;
34515 char *kwnames[] = {
34516 (char *) "self",(char *) "d", NULL
34517 };
34518
34519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
34520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34521 arg2 = PyInt_AsLong(obj1) ? true : false;
34522 if (PyErr_Occurred()) SWIG_fail;
34523 {
34524 PyThreadState* __tstate = wxPyBeginAllowThreads();
34525 (arg1)->SetDone(arg2);
34526
34527 wxPyEndAllowThreads(__tstate);
34528 if (PyErr_Occurred()) SWIG_fail;
34529 }
34530 Py_INCREF(Py_None); resultobj = Py_None;
34531 return resultobj;
34532 fail:
34533 return NULL;
34534 }
34535
34536
34537 static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34538 PyObject *resultobj;
34539 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34540 int result;
34541 PyObject * obj0 = 0 ;
34542 char *kwnames[] = {
34543 (char *) "self", NULL
34544 };
34545
34546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
34547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34548 {
34549 PyThreadState* __tstate = wxPyBeginAllowThreads();
34550 result = (int)(arg1)->GetRelationship();
34551
34552 wxPyEndAllowThreads(__tstate);
34553 if (PyErr_Occurred()) SWIG_fail;
34554 }
34555 resultobj = PyInt_FromLong((long)result);
34556 return resultobj;
34557 fail:
34558 return NULL;
34559 }
34560
34561
34562 static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
34563 PyObject *resultobj;
34564 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34565 int arg2 ;
34566 PyObject * obj0 = 0 ;
34567 char *kwnames[] = {
34568 (char *) "self",(char *) "r", NULL
34569 };
34570
34571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&arg2)) goto fail;
34572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34573 {
34574 PyThreadState* __tstate = wxPyBeginAllowThreads();
34575 (arg1)->SetRelationship((wxRelationship )arg2);
34576
34577 wxPyEndAllowThreads(__tstate);
34578 if (PyErr_Occurred()) SWIG_fail;
34579 }
34580 Py_INCREF(Py_None); resultobj = Py_None;
34581 return resultobj;
34582 fail:
34583 return NULL;
34584 }
34585
34586
34587 static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
34588 PyObject *resultobj;
34589 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34590 wxWindow *arg2 = (wxWindow *) 0 ;
34591 bool result;
34592 PyObject * obj0 = 0 ;
34593 PyObject * obj1 = 0 ;
34594 char *kwnames[] = {
34595 (char *) "self",(char *) "otherW", NULL
34596 };
34597
34598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
34599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34601 {
34602 PyThreadState* __tstate = wxPyBeginAllowThreads();
34603 result = (bool)(arg1)->ResetIfWin(arg2);
34604
34605 wxPyEndAllowThreads(__tstate);
34606 if (PyErr_Occurred()) SWIG_fail;
34607 }
34608 resultobj = PyInt_FromLong((long)result);
34609 return resultobj;
34610 fail:
34611 return NULL;
34612 }
34613
34614
34615 static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
34616 PyObject *resultobj;
34617 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34618 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
34619 wxWindow *arg3 = (wxWindow *) 0 ;
34620 bool result;
34621 PyObject * obj0 = 0 ;
34622 PyObject * obj1 = 0 ;
34623 PyObject * obj2 = 0 ;
34624 char *kwnames[] = {
34625 (char *) "self",(char *) "constraints",(char *) "win", NULL
34626 };
34627
34628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
34629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34631 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34632 {
34633 PyThreadState* __tstate = wxPyBeginAllowThreads();
34634 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
34635
34636 wxPyEndAllowThreads(__tstate);
34637 if (PyErr_Occurred()) SWIG_fail;
34638 }
34639 resultobj = PyInt_FromLong((long)result);
34640 return resultobj;
34641 fail:
34642 return NULL;
34643 }
34644
34645
34646 static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
34647 PyObject *resultobj;
34648 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
34649 int arg2 ;
34650 wxWindow *arg3 = (wxWindow *) 0 ;
34651 wxWindow *arg4 = (wxWindow *) 0 ;
34652 int result;
34653 PyObject * obj0 = 0 ;
34654 PyObject * obj2 = 0 ;
34655 PyObject * obj3 = 0 ;
34656 char *kwnames[] = {
34657 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
34658 };
34659
34660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
34661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIndividualLayoutConstraint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34662 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34663 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34664 {
34665 PyThreadState* __tstate = wxPyBeginAllowThreads();
34666 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
34667
34668 wxPyEndAllowThreads(__tstate);
34669 if (PyErr_Occurred()) SWIG_fail;
34670 }
34671 resultobj = PyInt_FromLong((long)result);
34672 return resultobj;
34673 fail:
34674 return NULL;
34675 }
34676
34677
34678 static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
34679 PyObject *obj;
34680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34681 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
34682 Py_INCREF(obj);
34683 return Py_BuildValue((char *)"");
34684 }
34685 static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34686 PyObject *resultobj;
34687 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34688 wxIndividualLayoutConstraint *result;
34689 PyObject * obj0 = 0 ;
34690 char *kwnames[] = {
34691 (char *) "self", NULL
34692 };
34693
34694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
34695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34696 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
34697
34698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34699 return resultobj;
34700 fail:
34701 return NULL;
34702 }
34703
34704
34705 static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34706 PyObject *resultobj;
34707 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34708 wxIndividualLayoutConstraint *result;
34709 PyObject * obj0 = 0 ;
34710 char *kwnames[] = {
34711 (char *) "self", NULL
34712 };
34713
34714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
34715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34716 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
34717
34718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34719 return resultobj;
34720 fail:
34721 return NULL;
34722 }
34723
34724
34725 static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34726 PyObject *resultobj;
34727 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34728 wxIndividualLayoutConstraint *result;
34729 PyObject * obj0 = 0 ;
34730 char *kwnames[] = {
34731 (char *) "self", NULL
34732 };
34733
34734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
34735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34736 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
34737
34738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34739 return resultobj;
34740 fail:
34741 return NULL;
34742 }
34743
34744
34745 static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34746 PyObject *resultobj;
34747 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34748 wxIndividualLayoutConstraint *result;
34749 PyObject * obj0 = 0 ;
34750 char *kwnames[] = {
34751 (char *) "self", NULL
34752 };
34753
34754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
34755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34756 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
34757
34758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34759 return resultobj;
34760 fail:
34761 return NULL;
34762 }
34763
34764
34765 static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34766 PyObject *resultobj;
34767 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34768 wxIndividualLayoutConstraint *result;
34769 PyObject * obj0 = 0 ;
34770 char *kwnames[] = {
34771 (char *) "self", NULL
34772 };
34773
34774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
34775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34776 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
34777
34778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34779 return resultobj;
34780 fail:
34781 return NULL;
34782 }
34783
34784
34785 static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34786 PyObject *resultobj;
34787 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34788 wxIndividualLayoutConstraint *result;
34789 PyObject * obj0 = 0 ;
34790 char *kwnames[] = {
34791 (char *) "self", NULL
34792 };
34793
34794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
34795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34796 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
34797
34798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34799 return resultobj;
34800 fail:
34801 return NULL;
34802 }
34803
34804
34805 static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34806 PyObject *resultobj;
34807 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34808 wxIndividualLayoutConstraint *result;
34809 PyObject * obj0 = 0 ;
34810 char *kwnames[] = {
34811 (char *) "self", NULL
34812 };
34813
34814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
34815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34816 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
34817
34818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34819 return resultobj;
34820 fail:
34821 return NULL;
34822 }
34823
34824
34825 static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
34826 PyObject *resultobj;
34827 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34828 wxIndividualLayoutConstraint *result;
34829 PyObject * obj0 = 0 ;
34830 char *kwnames[] = {
34831 (char *) "self", NULL
34832 };
34833
34834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
34835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34836 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
34837
34838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
34839 return resultobj;
34840 fail:
34841 return NULL;
34842 }
34843
34844
34845 static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34846 PyObject *resultobj;
34847 wxLayoutConstraints *result;
34848 char *kwnames[] = {
34849 NULL
34850 };
34851
34852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
34853 {
34854 PyThreadState* __tstate = wxPyBeginAllowThreads();
34855 result = (wxLayoutConstraints *)new wxLayoutConstraints();
34856
34857 wxPyEndAllowThreads(__tstate);
34858 if (PyErr_Occurred()) SWIG_fail;
34859 }
34860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutConstraints, 1);
34861 return resultobj;
34862 fail:
34863 return NULL;
34864 }
34865
34866
34867 static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
34868 PyObject *resultobj;
34869 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34870 wxWindow *arg2 = (wxWindow *) 0 ;
34871 int *arg3 = (int *) 0 ;
34872 bool result;
34873 int temp3 ;
34874 PyObject * obj0 = 0 ;
34875 PyObject * obj1 = 0 ;
34876 char *kwnames[] = {
34877 (char *) "self",(char *) "win", NULL
34878 };
34879
34880 arg3 = &temp3;
34881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
34882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34884 {
34885 PyThreadState* __tstate = wxPyBeginAllowThreads();
34886 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
34887
34888 wxPyEndAllowThreads(__tstate);
34889 if (PyErr_Occurred()) SWIG_fail;
34890 }
34891 resultobj = PyInt_FromLong((long)result);
34892 {
34893 PyObject *o = PyInt_FromLong((long) (*arg3));
34894 resultobj = t_output_helper(resultobj,o);
34895 }
34896 return resultobj;
34897 fail:
34898 return NULL;
34899 }
34900
34901
34902 static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
34903 PyObject *resultobj;
34904 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
34905 bool result;
34906 PyObject * obj0 = 0 ;
34907 char *kwnames[] = {
34908 (char *) "self", NULL
34909 };
34910
34911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
34912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutConstraints,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
34913 {
34914 PyThreadState* __tstate = wxPyBeginAllowThreads();
34915 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
34916
34917 wxPyEndAllowThreads(__tstate);
34918 if (PyErr_Occurred()) SWIG_fail;
34919 }
34920 resultobj = PyInt_FromLong((long)result);
34921 return resultobj;
34922 fail:
34923 return NULL;
34924 }
34925
34926
34927 static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
34928 PyObject *obj;
34929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34930 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
34931 Py_INCREF(obj);
34932 return Py_BuildValue((char *)"");
34933 }
34934 static PyMethodDef SwigMethods[] = {
34935 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
34936 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
34937 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
34938 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
34939 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
34940 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
34941 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
34942 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
34943 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
34944 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
34945 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
34946 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
34947 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
34948 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
34949 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
34950 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
34951 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
34952 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
34953 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
34954 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
34955 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
34956 { (char *)"Size_GetX", (PyCFunction) _wrap_Size_GetX, METH_VARARGS | METH_KEYWORDS },
34957 { (char *)"Size_GetY", (PyCFunction) _wrap_Size_GetY, METH_VARARGS | METH_KEYWORDS },
34958 { (char *)"Size_asTuple", (PyCFunction) _wrap_Size_asTuple, METH_VARARGS | METH_KEYWORDS },
34959 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
34960 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
34961 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
34962 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
34963 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
34964 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
34965 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
34966 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
34967 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
34968 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
34969 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
34970 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
34971 { (char *)"RealPoint_asTuple", (PyCFunction) _wrap_RealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
34972 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
34973 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
34974 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
34975 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
34976 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
34977 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
34978 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
34979 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
34980 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
34981 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
34982 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
34983 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
34984 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
34985 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
34986 { (char *)"Point_asTuple", (PyCFunction) _wrap_Point_asTuple, METH_VARARGS | METH_KEYWORDS },
34987 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
34988 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
34989 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
34990 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
34991 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
34992 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
34993 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
34994 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
34995 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
34996 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
34997 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
34998 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
34999 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
35000 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
35001 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
35002 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
35003 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
35004 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
35005 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
35006 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
35007 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
35008 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
35009 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
35010 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
35011 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
35012 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
35013 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
35014 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
35015 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
35016 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
35017 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
35018 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
35019 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
35020 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
35021 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
35022 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
35023 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
35024 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
35025 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
35026 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
35027 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
35028 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
35029 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
35030 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
35031 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
35032 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
35033 { (char *)"Rect_asTuple", (PyCFunction) _wrap_Rect_asTuple, METH_VARARGS | METH_KEYWORDS },
35034 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
35035 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
35036 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
35037 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
35038 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
35039 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
35040 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
35041 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
35042 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35043 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
35044 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
35045 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
35046 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
35047 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
35048 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
35049 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
35050 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
35051 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
35052 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
35053 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
35054 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
35055 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
35056 { (char *)"Point2D_m_x_set", (PyCFunction) _wrap_Point2D_m_x_set, METH_VARARGS | METH_KEYWORDS },
35057 { (char *)"Point2D_m_x_get", (PyCFunction) _wrap_Point2D_m_x_get, METH_VARARGS | METH_KEYWORDS },
35058 { (char *)"Point2D_m_y_set", (PyCFunction) _wrap_Point2D_m_y_set, METH_VARARGS | METH_KEYWORDS },
35059 { (char *)"Point2D_m_y_get", (PyCFunction) _wrap_Point2D_m_y_get, METH_VARARGS | METH_KEYWORDS },
35060 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
35061 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
35062 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
35063 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
35064 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
35065 { (char *)"Point2D_asTuple", (PyCFunction) _wrap_Point2D_asTuple, METH_VARARGS | METH_KEYWORDS },
35066 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
35067 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
35068 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
35069 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
35070 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
35071 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
35072 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
35073 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
35074 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
35075 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
35076 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
35077 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
35078 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
35079 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
35080 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
35081 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
35082 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
35083 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
35084 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
35085 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
35086 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
35087 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
35088 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
35089 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
35090 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35091 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
35092 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35093 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
35094 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
35095 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
35096 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
35097 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35098 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35099 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35100 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35101 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35102 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
35103 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
35104 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
35105 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
35106 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
35107 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
35108 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
35109 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
35110 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
35111 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
35112 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
35113 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
35114 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
35115 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
35116 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
35117 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
35118 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
35119 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
35120 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
35121 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35122 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35123 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
35124 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
35125 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35126 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35127 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35128 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35129 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
35130 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
35131 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
35132 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
35133 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
35134 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
35135 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
35136 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
35137 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
35138 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
35139 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
35140 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
35141 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
35142 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
35143 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
35144 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
35145 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
35146 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
35147 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
35148 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
35149 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
35150 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
35151 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
35152 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35153 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
35154 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
35155 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
35156 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
35157 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
35158 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
35159 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
35160 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
35161 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
35162 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
35163 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
35164 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
35165 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
35166 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
35167 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
35168 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
35169 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
35170 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
35171 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
35172 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
35173 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
35174 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
35175 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
35176 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
35177 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
35178 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
35179 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
35180 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
35181 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
35182 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
35183 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
35184 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
35185 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
35186 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
35187 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
35188 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
35189 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
35190 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
35191 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
35192 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
35193 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35194 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
35195 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
35196 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
35197 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35198 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
35199 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
35200 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
35201 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
35202 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
35203 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
35204 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
35205 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
35206 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
35207 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
35208 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
35209 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
35210 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
35211 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
35212 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
35213 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
35214 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
35215 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
35216 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
35217 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
35218 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
35219 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
35220 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
35221 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
35222 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
35223 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
35224 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
35225 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
35226 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
35227 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
35228 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
35229 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
35230 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
35231 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
35232 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
35233 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
35234 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
35235 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
35236 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
35237 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
35238 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
35239 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
35240 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
35241 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
35242 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
35243 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
35244 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
35245 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
35246 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
35247 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
35248 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
35249 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35250 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
35251 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
35252 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35253 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
35254 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
35255 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
35256 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35257 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
35258 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
35259 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35260 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
35261 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
35262 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
35263 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
35264 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
35265 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
35266 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
35267 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
35268 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
35269 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
35270 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
35271 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
35272 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
35273 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
35274 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
35275 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
35276 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
35277 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
35278 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
35279 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35280 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
35281 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
35282 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35283 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
35284 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
35285 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
35286 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
35287 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
35288 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
35289 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
35290 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
35291 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
35292 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
35293 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
35294 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
35295 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
35296 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
35297 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
35298 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35299 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
35300 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
35301 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
35302 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
35303 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35304 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35305 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35306 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35307 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
35308 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
35309 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
35310 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35311 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
35312 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35313 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
35314 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
35315 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
35316 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
35317 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
35318 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
35319 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
35320 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
35321 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
35322 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35323 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35324 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35325 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35326 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
35327 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
35328 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
35329 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
35330 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
35331 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
35332 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
35333 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
35334 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
35335 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
35336 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
35337 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
35338 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
35339 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
35340 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
35341 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
35342 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35343 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35344 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
35345 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35346 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35347 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
35348 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
35349 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
35350 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
35351 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35352 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35353 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35354 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35355 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
35356 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
35357 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
35358 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
35359 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
35360 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
35361 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35362 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35363 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35364 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35365 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35366 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35367 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35368 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35369 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
35370 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
35371 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
35372 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
35373 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
35374 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
35375 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
35376 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
35377 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35378 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35379 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
35380 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
35381 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
35382 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
35383 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
35384 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
35385 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
35386 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
35387 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
35388 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
35389 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
35390 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
35391 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
35392 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
35393 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35394 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35395 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
35396 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
35397 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
35398 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
35399 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
35400 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
35401 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
35402 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
35403 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
35404 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
35405 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
35406 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
35407 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
35408 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
35409 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
35410 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
35411 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
35412 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
35413 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
35414 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
35415 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
35416 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
35417 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
35418 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
35419 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
35420 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35421 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35422 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
35423 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
35424 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
35425 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35426 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35427 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
35428 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
35429 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35430 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
35431 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
35432 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35433 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
35434 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
35435 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
35436 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
35437 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
35438 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
35439 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
35440 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
35441 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
35442 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
35443 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
35444 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
35445 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
35446 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35447 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
35448 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
35449 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
35450 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35451 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
35452 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
35453 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
35454 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
35455 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
35456 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
35457 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
35458 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
35459 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
35460 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
35461 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
35462 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
35463 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35464 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
35465 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
35466 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
35467 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
35468 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
35469 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
35470 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
35471 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
35472 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
35473 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
35474 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
35475 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
35476 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
35477 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
35478 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
35479 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35480 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
35481 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
35482 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
35483 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
35484 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
35485 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
35486 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
35487 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
35488 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
35489 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
35490 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
35491 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
35492 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
35493 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35494 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
35495 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
35496 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
35497 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35498 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35499 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
35500 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
35501 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
35502 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
35503 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
35504 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
35505 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
35506 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
35507 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
35508 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35509 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
35510 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
35511 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
35512 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35513 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
35514 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
35515 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
35516 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
35517 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
35518 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
35519 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
35520 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35521 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
35522 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
35523 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
35524 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35525 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
35526 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
35527 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
35528 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
35529 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
35530 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
35531 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
35532 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
35533 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
35534 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
35535 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
35536 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
35537 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
35538 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
35539 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
35540 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
35541 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
35542 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35543 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35544 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
35545 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35546 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
35547 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
35548 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
35549 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
35550 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
35551 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
35552 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35553 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
35554 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
35555 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
35556 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
35557 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
35558 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
35559 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
35560 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
35561 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
35562 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35563 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
35564 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
35565 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
35566 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
35567 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
35568 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
35569 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
35570 { (char *)"PyApp_OnIdle", (PyCFunction) _wrap_PyApp_OnIdle, METH_VARARGS | METH_KEYWORDS },
35571 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
35572 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
35573 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
35574 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35575 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
35576 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35577 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
35578 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
35579 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
35580 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
35581 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
35582 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35583 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35584 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35585 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35586 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35587 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
35588 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
35589 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
35590 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
35591 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
35592 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
35593 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
35594 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
35595 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
35596 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
35597 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
35598 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
35599 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
35600 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
35601 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
35602 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
35603 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
35604 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
35605 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
35606 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
35607 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
35608 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
35609 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
35610 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
35611 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
35612 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
35613 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
35614 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
35615 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
35616 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
35617 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
35618 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
35619 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
35620 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
35621 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
35622 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
35623 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
35624 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
35625 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
35626 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
35627 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
35628 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
35629 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
35630 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
35631 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
35632 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
35633 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
35634 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
35635 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
35636 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
35637 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
35638 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
35639 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
35640 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
35641 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
35642 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
35643 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
35644 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
35645 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
35646 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
35647 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
35648 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
35649 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
35650 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
35651 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
35652 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
35653 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
35654 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
35655 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
35656 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35657 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
35658 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
35659 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
35660 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
35661 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
35662 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
35663 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
35664 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
35665 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
35666 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35667 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35668 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
35669 { (char *)"Window_SetWindowStyle", (PyCFunction) _wrap_Window_SetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35670 { (char *)"Window_GetWindowStyle", (PyCFunction) _wrap_Window_GetWindowStyle, METH_VARARGS | METH_KEYWORDS },
35671 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
35672 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
35673 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35674 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
35675 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
35676 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35677 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
35678 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
35679 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
35680 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
35681 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
35682 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
35683 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
35684 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35685 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
35686 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
35687 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
35688 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
35689 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
35690 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
35691 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
35692 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
35693 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
35694 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35695 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35696 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35697 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35698 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
35699 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
35700 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
35701 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
35702 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
35703 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35704 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
35705 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
35706 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
35707 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
35708 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
35709 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
35710 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
35711 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
35712 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
35713 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
35714 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
35715 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
35716 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
35717 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
35718 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
35719 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
35720 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
35721 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
35722 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
35723 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
35724 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
35725 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
35726 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
35727 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
35728 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
35729 { (char *)"Window_isExposedRect", (PyCFunction) _wrap_Window_isExposedRect, METH_VARARGS | METH_KEYWORDS },
35730 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35731 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35732 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
35733 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
35734 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
35735 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
35736 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
35737 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
35738 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
35739 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
35740 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
35741 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
35742 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
35743 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
35744 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
35745 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
35746 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
35747 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
35748 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
35749 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
35750 { (char *)"Window_GetBorderFlags", (PyCFunction) _wrap_Window_GetBorderFlags, METH_VARARGS | METH_KEYWORDS },
35751 { (char *)"Window_GetBorder", (PyCFunction) _wrap_Window_GetBorder, METH_VARARGS | METH_KEYWORDS },
35752 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
35753 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
35754 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
35755 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
35756 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
35757 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
35758 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
35759 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
35760 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
35761 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
35762 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
35763 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
35764 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
35765 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
35766 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
35767 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
35768 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
35769 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
35770 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
35771 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
35772 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
35773 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
35774 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
35775 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
35776 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
35777 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
35778 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
35779 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35780 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
35781 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
35782 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
35783 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
35784 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
35785 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35786 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
35787 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
35788 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
35789 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
35790 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
35791 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
35792 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
35793 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
35794 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
35795 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
35796 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
35797 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
35798 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
35799 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
35800 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
35801 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
35802 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
35803 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
35804 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
35805 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
35806 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
35807 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
35808 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
35809 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
35810 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
35811 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
35812 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
35813 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
35814 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
35815 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
35816 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
35817 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
35818 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
35819 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
35820 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
35821 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
35822 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
35823 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
35824 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
35825 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
35826 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
35827 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
35828 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
35829 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
35830 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
35831 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
35832 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
35833 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
35834 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
35835 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
35836 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
35837 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
35838 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35839 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
35840 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
35841 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
35842 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
35843 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35844 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35845 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
35846 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
35847 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
35848 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
35849 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35850 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
35851 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
35852 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
35853 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
35854 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
35855 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
35856 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
35857 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
35858 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
35859 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
35860 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
35861 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
35862 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
35863 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
35864 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
35865 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
35866 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
35867 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
35868 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
35869 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
35870 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
35871 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
35872 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
35873 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
35874 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
35875 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
35876 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
35877 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35878 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
35879 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
35880 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
35881 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
35882 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
35883 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
35884 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
35885 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
35886 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
35887 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
35888 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
35889 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
35890 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
35891 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
35892 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
35893 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
35894 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
35895 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
35896 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
35897 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
35898 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
35899 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
35900 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
35901 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
35902 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
35903 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
35904 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
35905 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
35906 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
35907 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
35908 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
35909 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
35910 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
35911 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
35912 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
35913 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
35914 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
35915 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
35916 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
35917 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
35918 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
35919 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
35920 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
35921 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
35922 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
35923 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
35924 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
35925 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
35926 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
35927 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
35928 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
35929 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
35930 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
35931 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
35932 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
35933 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
35934 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
35935 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
35936 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
35937 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
35938 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
35939 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
35940 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
35941 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
35942 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
35943 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
35944 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
35945 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
35946 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
35947 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
35948 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
35949 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
35950 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
35951 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
35952 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
35953 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
35954 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
35955 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
35956 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
35957 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
35958 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
35959 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
35960 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
35961 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
35962 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
35963 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
35964 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
35965 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
35966 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
35967 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
35968 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
35969 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
35970 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
35971 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
35972 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
35973 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
35974 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
35975 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
35976 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
35977 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
35978 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
35979 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
35980 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
35981 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
35982 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
35983 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
35984 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
35985 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
35986 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
35987 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
35988 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
35989 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
35990 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
35991 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
35992 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
35993 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
35994 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
35995 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
35996 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
35997 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
35998 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
35999 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
36000 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
36001 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
36002 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
36003 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
36004 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
36005 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
36006 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
36007 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
36008 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
36009 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
36010 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
36011 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36012 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36013 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
36014 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
36015 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
36016 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36017 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36018 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
36019 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
36020 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36021 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36022 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
36023 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
36024 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
36025 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
36026 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
36027 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
36028 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
36029 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
36030 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
36031 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
36032 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36033 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36034 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
36035 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
36036 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
36037 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
36038 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36039 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
36040 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36041 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
36042 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
36043 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
36044 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
36045 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
36046 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
36047 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
36048 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
36049 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
36050 { (char *)"GBPosition_asTuple", (PyCFunction) _wrap_GBPosition_asTuple, METH_VARARGS | METH_KEYWORDS },
36051 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
36052 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
36053 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
36054 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
36055 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
36056 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
36057 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
36058 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
36059 { (char *)"GBSpan_asTuple", (PyCFunction) _wrap_GBSpan_asTuple, METH_VARARGS | METH_KEYWORDS },
36060 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
36061 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
36062 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
36063 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
36064 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
36065 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
36066 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
36067 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
36068 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
36069 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
36070 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
36071 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
36072 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
36073 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
36074 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
36075 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
36076 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
36077 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36078 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
36079 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
36080 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
36081 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
36082 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
36083 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
36084 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
36085 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
36086 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
36087 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
36088 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
36089 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
36090 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
36091 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
36092 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
36093 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
36094 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
36095 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
36096 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
36097 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
36098 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
36099 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
36100 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
36101 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
36102 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
36103 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
36104 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
36105 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
36106 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
36107 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
36108 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
36109 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
36110 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
36111 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
36112 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
36113 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
36114 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
36115 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
36116 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
36117 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
36118 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
36119 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
36120 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
36121 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
36122 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
36123 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
36124 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
36125 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
36126 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
36127 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
36128 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
36129 { NULL, NULL }
36130 };
36131
36132
36133 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36134
36135 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
36136 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
36137 }
36138 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
36139 return (void *)((wxSizer *) ((wxBoxSizer *) x));
36140 }
36141 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
36142 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
36143 }
36144 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
36145 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36146 }
36147 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
36148 return (void *)((wxSizer *) ((wxGridSizer *) x));
36149 }
36150 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
36151 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
36152 }
36153 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
36154 return (void *)((wxSizer *) ((wxPySizer *) x));
36155 }
36156 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
36157 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
36158 }
36159 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
36160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
36161 }
36162 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
36163 return (void *)((wxEvent *) ((wxMenuEvent *) x));
36164 }
36165 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
36166 return (void *)((wxEvent *) ((wxCloseEvent *) x));
36167 }
36168 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
36169 return (void *)((wxEvent *) ((wxMouseEvent *) x));
36170 }
36171 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
36172 return (void *)((wxEvent *) ((wxEraseEvent *) x));
36173 }
36174 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
36175 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
36176 }
36177 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
36178 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
36179 }
36180 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
36181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
36182 }
36183 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
36184 return (void *)((wxEvent *) ((wxPyEvent *) x));
36185 }
36186 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
36187 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
36188 }
36189 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36190 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36191 }
36192 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36193 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36194 }
36195 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36196 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36197 }
36198 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36199 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36200 }
36201 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36202 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36203 }
36204 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36205 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36206 }
36207 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36208 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36209 }
36210 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36211 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36212 }
36213 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36214 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36215 }
36216 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36217 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36218 }
36219 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36220 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36221 }
36222 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36223 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36224 }
36225 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36226 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36227 }
36228 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36229 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36230 }
36231 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36232 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36233 }
36234 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36235 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36236 }
36237 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36238 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36239 }
36240 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36241 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36242 }
36243 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36244 return (void *)((wxEvent *) ((wxShowEvent *) x));
36245 }
36246 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36247 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36248 }
36249 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36250 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36251 }
36252 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36253 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36254 }
36255 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36256 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36257 }
36258 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36259 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36260 }
36261 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36262 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36263 }
36264 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
36265 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
36266 }
36267 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
36268 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
36269 }
36270 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
36271 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
36272 }
36273 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36274 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36275 }
36276 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36277 return (void *)((wxControl *) ((wxControlWithItems *) x));
36278 }
36279 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36281 }
36282 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36283 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36284 }
36285 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36287 }
36288 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36289 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36290 }
36291 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36292 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36293 }
36294 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36295 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36296 }
36297 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36298 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36299 }
36300 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36301 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36302 }
36303 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
36304 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
36305 }
36306 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
36307 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
36308 }
36309 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
36310 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
36311 }
36312 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
36313 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
36314 }
36315 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
36316 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
36317 }
36318 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
36319 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36320 }
36321 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
36322 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
36323 }
36324 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
36325 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
36326 }
36327 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
36328 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36329 }
36330 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
36331 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36332 }
36333 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
36334 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
36335 }
36336 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
36337 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
36338 }
36339 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
36340 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
36341 }
36342 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
36343 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
36344 }
36345 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
36346 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
36347 }
36348 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
36349 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
36350 }
36351 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
36352 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
36353 }
36354 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
36355 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
36356 }
36357 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
36358 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
36359 }
36360 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
36361 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
36362 }
36363 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
36364 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
36365 }
36366 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36367 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36368 }
36369 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36370 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36371 }
36372 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36374 }
36375 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36376 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36377 }
36378 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36379 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36380 }
36381 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36382 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36383 }
36384 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36385 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36386 }
36387 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36388 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36389 }
36390 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36392 }
36393 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36394 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36395 }
36396 static void *_p_wxSizerTo_p_wxObject(void *x) {
36397 return (void *)((wxObject *) ((wxSizer *) x));
36398 }
36399 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36400 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36401 }
36402 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36403 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36404 }
36405 static void *_p_wxMenuTo_p_wxObject(void *x) {
36406 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36407 }
36408 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36409 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36410 }
36411 static void *_p_wxImageTo_p_wxObject(void *x) {
36412 return (void *)((wxObject *) ((wxImage *) x));
36413 }
36414 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36415 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36416 }
36417 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36418 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36419 }
36420 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36421 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36422 }
36423 static void *_p_wxWindowTo_p_wxObject(void *x) {
36424 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36425 }
36426 static void *_p_wxControlTo_p_wxObject(void *x) {
36427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36428 }
36429 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36430 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36431 }
36432 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36433 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36434 }
36435 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36436 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36437 }
36438 static void *_p_wxEventTo_p_wxObject(void *x) {
36439 return (void *)((wxObject *) ((wxEvent *) x));
36440 }
36441 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36442 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36443 }
36444 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36445 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36446 }
36447 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36448 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36449 }
36450 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36451 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36452 }
36453 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36455 }
36456 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36458 }
36459 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36461 }
36462 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36464 }
36465 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36467 }
36468 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) ((wxEvtHandler *) x));
36470 }
36471 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36473 }
36474 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) ((wxImageHandler *) x));
36476 }
36477 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36479 }
36480 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36482 }
36483 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36485 }
36486 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36488 }
36489 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36491 }
36492 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36494 }
36495 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36497 }
36498 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36500 }
36501 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36503 }
36504 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36506 }
36507 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36509 }
36510 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36512 }
36513 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36515 }
36516 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36518 }
36519 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36521 }
36522 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36524 }
36525 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36526 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36527 }
36528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36529 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36530 }
36531 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36532 return (void *)((wxObject *) ((wxFileSystem *) x));
36533 }
36534 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36535 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36536 }
36537 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36538 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36539 }
36540 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36541 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36542 }
36543 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36544 return (void *)((wxObject *) ((wxSizerItem *) x));
36545 }
36546 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36547 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36548 }
36549 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36550 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36551 }
36552 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36553 return (void *)((wxObject *) ((wxFSFile *) x));
36554 }
36555 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36556 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36557 }
36558 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36559 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36560 }
36561 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36562 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36563 }
36564 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36565 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36566 }
36567 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36569 }
36570 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36571 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36572 }
36573 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36574 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36575 }
36576 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36577 return (void *)((wxObject *) ((wxMenuItem *) x));
36578 }
36579 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36580 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36581 }
36582 static void *_p_wxControlTo_p_wxWindow(void *x) {
36583 return (void *)((wxWindow *) ((wxControl *) x));
36584 }
36585 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36586 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36587 }
36588 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36589 return (void *)((wxWindow *) ((wxMenuBar *) x));
36590 }
36591 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36592 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36593 }
36594 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36595 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36596 }
36597 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36598 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36599 }
36600 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36601 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36602 }
36603 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36604 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36605 }
36606 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36607 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36608 }
36609 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36610 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36611 }
36612 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36613 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36614 }
36615 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36616 return (void *)((wxValidator *) ((wxPyValidator *) x));
36617 }
36618 static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
36619 static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
36620 static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem},{0}};
36621 static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
36622 static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
36623 static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
36624 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}};
36625 static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer},{0}};
36626 static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
36627 static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
36628 static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
36629 static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
36630 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
36631 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}};
36632 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}};
36633 static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer},{"_p_wxFlexGridSizer"},{0}};
36634 static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
36635 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
36636 static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
36637 static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
36638 static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
36639 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
36640 static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
36641 static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
36642 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{0}};
36643 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
36644 static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
36645 static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
36646 static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
36647 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
36648 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
36649 static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
36650 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
36651 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
36652 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
36653 static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
36654 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
36655 static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
36656 static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
36657 static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
36658 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
36659 static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
36660 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
36661 static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
36662 static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
36663 static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
36664 static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
36665 static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
36666 static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
36667 static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
36668 static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
36669 static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
36670 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
36671 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
36672 static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
36673 static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
36674 static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
36675 static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
36676 static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
36677 static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
36678 static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
36679 static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
36680 static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
36681 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}};
36682 static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler},{0}};
36683 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}};
36684 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}};
36685 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}};
36686 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}};
36687 static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
36688 static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
36689 static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
36690 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
36691 static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
36692 static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
36693 static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
36694 static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
36695 static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
36696 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
36697 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
36698 static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
36699 static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36700 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
36701 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
36702 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{0}};
36703 static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
36704 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
36705 static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
36706 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
36707 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
36708 static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
36709 static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
36710 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}};
36711 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
36712 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
36713 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
36714 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
36715 static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
36716 static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
36717 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36718 static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
36719 static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
36720 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
36721 static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
36722 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}};
36723 static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
36724 static swig_type_info _swigt__p_wxDropTarget[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
36725 static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
36726 static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
36727 static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
36728 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
36729 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
36730 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
36731 static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
36732
36733 static swig_type_info *swig_types_initial[] = {
36734 _swigt__p_wxLayoutConstraints,
36735 _swigt__p_wxRealPoint,
36736 _swigt__p_wxSizerItem,
36737 _swigt__p_wxGBSizerItem,
36738 _swigt__p_wxScrollEvent,
36739 _swigt__p_wxIndividualLayoutConstraint,
36740 _swigt__p_wxSizer,
36741 _swigt__p_wxBoxSizer,
36742 _swigt__p_wxStaticBoxSizer,
36743 _swigt__p_wxGridBagSizer,
36744 _swigt__p_wxAcceleratorEntry,
36745 _swigt__p_wxUpdateUIEvent,
36746 _swigt__p_wxMenu,
36747 _swigt__p_wxEvent,
36748 _swigt__p_wxGridSizer,
36749 _swigt__p_wxFlexGridSizer,
36750 _swigt__p_wxInitDialogEvent,
36751 _swigt__p_wxItemContainer,
36752 _swigt__p_wxNcPaintEvent,
36753 _swigt__p_wxPaintEvent,
36754 _swigt__p_wxSysColourChangedEvent,
36755 _swigt__p_wxMouseCaptureChangedEvent,
36756 _swigt__p_wxDisplayChangedEvent,
36757 _swigt__p_wxPaletteChangedEvent,
36758 _swigt__p_wxControl,
36759 _swigt__p_wxFont,
36760 _swigt__p_wxMenuBarBase,
36761 _swigt__p_wxSetCursorEvent,
36762 _swigt__p_wxFSFile,
36763 _swigt__p_wxCaret,
36764 _swigt__p_wxRegion,
36765 _swigt__p_wxPoint2D,
36766 _swigt__p_int,
36767 _swigt__p_wxSize,
36768 _swigt__p_wxDC,
36769 _swigt__p_wxPySizer,
36770 _swigt__p_wxNotifyEvent,
36771 _swigt__p_wxPyEvent,
36772 _swigt__p_wxPropagationDisabler,
36773 _swigt__p_wxAppTraits,
36774 _swigt__p_wxArrayString,
36775 _swigt__p_wxShowEvent,
36776 _swigt__p_wxToolTip,
36777 _swigt__p_wxMaximizeEvent,
36778 _swigt__p_wxIconizeEvent,
36779 _swigt__p_wxActivateEvent,
36780 _swigt__p_wxMoveEvent,
36781 _swigt__p_wxSizeEvent,
36782 _swigt__p_wxQueryNewPaletteEvent,
36783 _swigt__p_wxWindowCreateEvent,
36784 _swigt__p_wxIdleEvent,
36785 _swigt__p_wxMenuItem,
36786 _swigt__p_wxStaticBox,
36787 _swigt__p_long,
36788 _swigt__p_wxTIFFHandler,
36789 _swigt__p_wxXPMHandler,
36790 _swigt__p_wxPNMHandler,
36791 _swigt__p_wxJPEGHandler,
36792 _swigt__p_wxPCXHandler,
36793 _swigt__p_wxGIFHandler,
36794 _swigt__p_wxPNGHandler,
36795 _swigt__p_wxANIHandler,
36796 _swigt__p_wxMemoryFSHandler,
36797 _swigt__p_wxEvtHandler,
36798 _swigt__p_wxCURHandler,
36799 _swigt__p_wxICOHandler,
36800 _swigt__p_wxBMPHandler,
36801 _swigt__p_wxImageHandler,
36802 _swigt__p_wxFileSystemHandler,
36803 _swigt__p_wxPyFileSystemHandler,
36804 _swigt__p_wxInternetFSHandler,
36805 _swigt__p_wxZipFSHandler,
36806 _swigt__p_wxRect,
36807 _swigt__p_wxGBSpan,
36808 _swigt__p_wxPropagateOnce,
36809 _swigt__p_wxAcceleratorTable,
36810 _swigt__p_wxGBPosition,
36811 _swigt__p_wxImage,
36812 _swigt__p_wxFrame,
36813 _swigt__p_wxScrollWinEvent,
36814 _swigt__p_wxImageHistogram,
36815 _swigt__p_byte,
36816 _swigt__p_wxPoint,
36817 _swigt__p_wxCursor,
36818 _swigt__p_wxObject,
36819 _swigt__p_wxPyInputStream,
36820 _swigt__p_wxOutputStream,
36821 _swigt__p_wxInputStream,
36822 _swigt__p_wxDateTime,
36823 _swigt__p_wxKeyEvent,
36824 _swigt__p_wxNavigationKeyEvent,
36825 _swigt__p_wxWindowDestroyEvent,
36826 _swigt__p_wxWindow,
36827 _swigt__p_wxMenuBar,
36828 _swigt__p_wxString,
36829 _swigt__p_wxFileSystem,
36830 _swigt__p_wxBitmap,
36831 _swigt__p_wxMenuEvent,
36832 _swigt__p_wxContextMenuEvent,
36833 _swigt__p_unsigned_char,
36834 _swigt__p_wxCloseEvent,
36835 _swigt__p_wxEraseEvent,
36836 _swigt__p_wxMouseEvent,
36837 _swigt__p_wxPyApp,
36838 _swigt__p_wxCommandEvent,
36839 _swigt__p_wxPyCommandEvent,
36840 _swigt__p_wxDropTarget,
36841 _swigt__p_wxChildFocusEvent,
36842 _swigt__p_wxFocusEvent,
36843 _swigt__p_wxDropFilesEvent,
36844 _swigt__p_wxControlWithItems,
36845 _swigt__p_wxColour,
36846 _swigt__p_wxValidator,
36847 _swigt__p_wxPyValidator,
36848 0
36849 };
36850
36851
36852 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36853
36854 static swig_const_info swig_const_table[] = {
36855 { SWIG_PY_INT, (char *)"NOT_FOUND", (long) wxNOT_FOUND, 0, 0, 0},
36856 { SWIG_PY_INT, (char *)"VSCROLL", (long) wxVSCROLL, 0, 0, 0},
36857 { SWIG_PY_INT, (char *)"HSCROLL", (long) wxHSCROLL, 0, 0, 0},
36858 { SWIG_PY_INT, (char *)"CAPTION", (long) wxCAPTION, 0, 0, 0},
36859 { SWIG_PY_INT, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER, 0, 0, 0},
36860 { SWIG_PY_INT, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER, 0, 0, 0},
36861 { SWIG_PY_INT, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER, 0, 0, 0},
36862 { SWIG_PY_INT, (char *)"BORDER", (long) wxBORDER, 0, 0, 0},
36863 { SWIG_PY_INT, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER, 0, 0, 0},
36864 { SWIG_PY_INT, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER, 0, 0, 0},
36865 { SWIG_PY_INT, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW, 0, 0, 0},
36866 { SWIG_PY_INT, (char *)"NO_BORDER", (long) wxNO_BORDER, 0, 0, 0},
36867 { SWIG_PY_INT, (char *)"USER_COLOURS", (long) wxUSER_COLOURS, 0, 0, 0},
36868 { SWIG_PY_INT, (char *)"NO_3D", (long) wxNO_3D, 0, 0, 0},
36869 { SWIG_PY_INT, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL, 0, 0, 0},
36870 { SWIG_PY_INT, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS, 0, 0, 0},
36871 { SWIG_PY_INT, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW, 0, 0, 0},
36872 { SWIG_PY_INT, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME, 0, 0, 0},
36873 { SWIG_PY_INT, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN, 0, 0, 0},
36874 { SWIG_PY_INT, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN, 0, 0, 0},
36875 { SWIG_PY_INT, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP, 0, 0, 0},
36876 { SWIG_PY_INT, (char *)"ICONIZE", (long) wxICONIZE, 0, 0, 0},
36877 { SWIG_PY_INT, (char *)"MINIMIZE", (long) wxMINIMIZE, 0, 0, 0},
36878 { SWIG_PY_INT, (char *)"MAXIMIZE", (long) wxMAXIMIZE, 0, 0, 0},
36879 { SWIG_PY_INT, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX, 0, 0, 0},
36880 { SWIG_PY_INT, (char *)"THICK_FRAME", (long) wxTHICK_FRAME, 0, 0, 0},
36881 { SWIG_PY_INT, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU, 0, 0, 0},
36882 { SWIG_PY_INT, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX, 0, 0, 0},
36883 { SWIG_PY_INT, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX, 0, 0, 0},
36884 { SWIG_PY_INT, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ, 0, 0, 0},
36885 { SWIG_PY_INT, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT, 0, 0, 0},
36886 { SWIG_PY_INT, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX, 0, 0, 0},
36887 { SWIG_PY_INT, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER, 0, 0, 0},
36888 { SWIG_PY_INT, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL, 0, 0, 0},
36889 { SWIG_PY_INT, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS, 0, 0, 0},
36890 { SWIG_PY_INT, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT, 0, 0, 0},
36891 { SWIG_PY_INT, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE, 0, 0, 0},
36892 { SWIG_PY_INT, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE, 0, 0, 0},
36893 { SWIG_PY_INT, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW, 0, 0, 0},
36894 { SWIG_PY_INT, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT, 0, 0, 0},
36895 { SWIG_PY_INT, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU, 0, 0, 0},
36896 { SWIG_PY_INT, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR, 0, 0, 0},
36897 { SWIG_PY_INT, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED, 0, 0, 0},
36898 { SWIG_PY_INT, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN, 0, 0, 0},
36899 { SWIG_PY_INT, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM, 0, 0, 0},
36900 { SWIG_PY_INT, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT, 0, 0, 0},
36901 { SWIG_PY_INT, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE, 0, 0, 0},
36902 { SWIG_PY_INT, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE, 0, 0, 0},
36903 { SWIG_PY_INT, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN, 0, 0, 0},
36904 { SWIG_PY_INT, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS, 0, 0, 0},
36905 { SWIG_PY_INT, (char *)"RETAINED", (long) wxRETAINED, 0, 0, 0},
36906 { SWIG_PY_INT, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE, 0, 0, 0},
36907 { SWIG_PY_INT, (char *)"COLOURED", (long) wxCOLOURED, 0, 0, 0},
36908 { SWIG_PY_INT, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH, 0, 0, 0},
36909 { SWIG_PY_INT, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB, 0, 0, 0},
36910 { SWIG_PY_INT, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB, 0, 0, 0},
36911 { SWIG_PY_INT, (char *)"LB_SORT", (long) wxLB_SORT, 0, 0, 0},
36912 { SWIG_PY_INT, (char *)"LB_SINGLE", (long) wxLB_SINGLE, 0, 0, 0},
36913 { SWIG_PY_INT, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE, 0, 0, 0},
36914 { SWIG_PY_INT, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED, 0, 0, 0},
36915 { SWIG_PY_INT, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW, 0, 0, 0},
36916 { SWIG_PY_INT, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL, 0, 0, 0},
36917 { SWIG_PY_INT, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER, 0, 0, 0},
36918 { SWIG_PY_INT, (char *)"PASSWORD", (long) wxPASSWORD, 0, 0, 0},
36919 { SWIG_PY_INT, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE, 0, 0, 0},
36920 { SWIG_PY_INT, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN, 0, 0, 0},
36921 { SWIG_PY_INT, (char *)"CB_SORT", (long) wxCB_SORT, 0, 0, 0},
36922 { SWIG_PY_INT, (char *)"CB_READONLY", (long) wxCB_READONLY, 0, 0, 0},
36923 { SWIG_PY_INT, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL, 0, 0, 0},
36924 { SWIG_PY_INT, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL, 0, 0, 0},
36925 { SWIG_PY_INT, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS, 0, 0, 0},
36926 { SWIG_PY_INT, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS, 0, 0, 0},
36927 { SWIG_PY_INT, (char *)"RB_GROUP", (long) wxRB_GROUP, 0, 0, 0},
36928 { SWIG_PY_INT, (char *)"RB_SINGLE", (long) wxRB_SINGLE, 0, 0, 0},
36929 { SWIG_PY_INT, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL, 0, 0, 0},
36930 { SWIG_PY_INT, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL, 0, 0, 0},
36931 { SWIG_PY_INT, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS, 0, 0, 0},
36932 { SWIG_PY_INT, (char *)"SL_LABELS", (long) wxSL_LABELS, 0, 0, 0},
36933 { SWIG_PY_INT, (char *)"SL_LEFT", (long) wxSL_LEFT, 0, 0, 0},
36934 { SWIG_PY_INT, (char *)"SL_TOP", (long) wxSL_TOP, 0, 0, 0},
36935 { SWIG_PY_INT, (char *)"SL_RIGHT", (long) wxSL_RIGHT, 0, 0, 0},
36936 { SWIG_PY_INT, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM, 0, 0, 0},
36937 { SWIG_PY_INT, (char *)"SL_BOTH", (long) wxSL_BOTH, 0, 0, 0},
36938 { SWIG_PY_INT, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE, 0, 0, 0},
36939 { SWIG_PY_INT, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL, 0, 0, 0},
36940 { SWIG_PY_INT, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL, 0, 0, 0},
36941 { SWIG_PY_INT, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP, 0, 0, 0},
36942 { SWIG_PY_INT, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE, 0, 0, 0},
36943 { SWIG_PY_INT, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE, 0, 0, 0},
36944 { SWIG_PY_INT, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER, 0, 0, 0},
36945 { SWIG_PY_INT, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE, 0, 0, 0},
36946 { SWIG_PY_INT, (char *)"WINDING_RULE", (long) wxWINDING_RULE, 0, 0, 0},
36947 { SWIG_PY_INT, (char *)"TOOL_TOP", (long) wxTOOL_TOP, 0, 0, 0},
36948 { SWIG_PY_INT, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM, 0, 0, 0},
36949 { SWIG_PY_INT, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT, 0, 0, 0},
36950 { SWIG_PY_INT, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT, 0, 0, 0},
36951 { SWIG_PY_INT, (char *)"OK", (long) wxOK, 0, 0, 0},
36952 { SWIG_PY_INT, (char *)"YES_NO", (long) wxYES_NO, 0, 0, 0},
36953 { SWIG_PY_INT, (char *)"CANCEL", (long) wxCANCEL, 0, 0, 0},
36954 { SWIG_PY_INT, (char *)"YES", (long) wxYES, 0, 0, 0},
36955 { SWIG_PY_INT, (char *)"NO", (long) wxNO, 0, 0, 0},
36956 { SWIG_PY_INT, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT, 0, 0, 0},
36957 { SWIG_PY_INT, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT, 0, 0, 0},
36958 { SWIG_PY_INT, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION, 0, 0, 0},
36959 { SWIG_PY_INT, (char *)"ICON_HAND", (long) wxICON_HAND, 0, 0, 0},
36960 { SWIG_PY_INT, (char *)"ICON_QUESTION", (long) wxICON_QUESTION, 0, 0, 0},
36961 { SWIG_PY_INT, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION, 0, 0, 0},
36962 { SWIG_PY_INT, (char *)"ICON_STOP", (long) wxICON_STOP, 0, 0, 0},
36963 { SWIG_PY_INT, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK, 0, 0, 0},
36964 { SWIG_PY_INT, (char *)"ICON_MASK", (long) wxICON_MASK, 0, 0, 0},
36965 { SWIG_PY_INT, (char *)"ICON_WARNING", (long) wxICON_WARNING, 0, 0, 0},
36966 { SWIG_PY_INT, (char *)"ICON_ERROR", (long) wxICON_ERROR, 0, 0, 0},
36967 { SWIG_PY_INT, (char *)"FORWARD", (long) wxFORWARD, 0, 0, 0},
36968 { SWIG_PY_INT, (char *)"BACKWARD", (long) wxBACKWARD, 0, 0, 0},
36969 { SWIG_PY_INT, (char *)"RESET", (long) wxRESET, 0, 0, 0},
36970 { SWIG_PY_INT, (char *)"HELP", (long) wxHELP, 0, 0, 0},
36971 { SWIG_PY_INT, (char *)"MORE", (long) wxMORE, 0, 0, 0},
36972 { SWIG_PY_INT, (char *)"SETUP", (long) wxSETUP, 0, 0, 0},
36973 { SWIG_PY_INT, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH, 0, 0, 0},
36974 { SWIG_PY_INT, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT, 0, 0, 0},
36975 { SWIG_PY_INT, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO, 0, 0, 0},
36976 { SWIG_PY_INT, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING, 0, 0, 0},
36977 { SWIG_PY_INT, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE, 0, 0, 0},
36978 { SWIG_PY_INT, (char *)"PORTRAIT", (long) wxPORTRAIT, 0, 0, 0},
36979 { SWIG_PY_INT, (char *)"LANDSCAPE", (long) wxLANDSCAPE, 0, 0, 0},
36980 { SWIG_PY_INT, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH, 0, 0, 0},
36981 { SWIG_PY_INT, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM, 0, 0, 0},
36982 { SWIG_PY_INT, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW, 0, 0, 0},
36983 { SWIG_PY_INT, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT, 0, 0, 0},
36984 { SWIG_PY_INT, (char *)"ID_ANY", (long) wxID_ANY, 0, 0, 0},
36985 { SWIG_PY_INT, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR, 0, 0, 0},
36986 { SWIG_PY_INT, (char *)"ID_LOWEST", (long) wxID_LOWEST, 0, 0, 0},
36987 { SWIG_PY_INT, (char *)"ID_OPEN", (long) wxID_OPEN, 0, 0, 0},
36988 { SWIG_PY_INT, (char *)"ID_CLOSE", (long) wxID_CLOSE, 0, 0, 0},
36989 { SWIG_PY_INT, (char *)"ID_NEW", (long) wxID_NEW, 0, 0, 0},
36990 { SWIG_PY_INT, (char *)"ID_SAVE", (long) wxID_SAVE, 0, 0, 0},
36991 { SWIG_PY_INT, (char *)"ID_SAVEAS", (long) wxID_SAVEAS, 0, 0, 0},
36992 { SWIG_PY_INT, (char *)"ID_REVERT", (long) wxID_REVERT, 0, 0, 0},
36993 { SWIG_PY_INT, (char *)"ID_EXIT", (long) wxID_EXIT, 0, 0, 0},
36994 { SWIG_PY_INT, (char *)"ID_UNDO", (long) wxID_UNDO, 0, 0, 0},
36995 { SWIG_PY_INT, (char *)"ID_REDO", (long) wxID_REDO, 0, 0, 0},
36996 { SWIG_PY_INT, (char *)"ID_HELP", (long) wxID_HELP, 0, 0, 0},
36997 { SWIG_PY_INT, (char *)"ID_PRINT", (long) wxID_PRINT, 0, 0, 0},
36998 { SWIG_PY_INT, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP, 0, 0, 0},
36999 { SWIG_PY_INT, (char *)"ID_PREVIEW", (long) wxID_PREVIEW, 0, 0, 0},
37000 { SWIG_PY_INT, (char *)"ID_ABOUT", (long) wxID_ABOUT, 0, 0, 0},
37001 { SWIG_PY_INT, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS, 0, 0, 0},
37002 { SWIG_PY_INT, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS, 0, 0, 0},
37003 { SWIG_PY_INT, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES, 0, 0, 0},
37004 { SWIG_PY_INT, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT, 0, 0, 0},
37005 { SWIG_PY_INT, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL, 0, 0, 0},
37006 { SWIG_PY_INT, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES, 0, 0, 0},
37007 { SWIG_PY_INT, (char *)"ID_CUT", (long) wxID_CUT, 0, 0, 0},
37008 { SWIG_PY_INT, (char *)"ID_COPY", (long) wxID_COPY, 0, 0, 0},
37009 { SWIG_PY_INT, (char *)"ID_PASTE", (long) wxID_PASTE, 0, 0, 0},
37010 { SWIG_PY_INT, (char *)"ID_CLEAR", (long) wxID_CLEAR, 0, 0, 0},
37011 { SWIG_PY_INT, (char *)"ID_FIND", (long) wxID_FIND, 0, 0, 0},
37012 { SWIG_PY_INT, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE, 0, 0, 0},
37013 { SWIG_PY_INT, (char *)"ID_SELECTALL", (long) wxID_SELECTALL, 0, 0, 0},
37014 { SWIG_PY_INT, (char *)"ID_DELETE", (long) wxID_DELETE, 0, 0, 0},
37015 { SWIG_PY_INT, (char *)"ID_REPLACE", (long) wxID_REPLACE, 0, 0, 0},
37016 { SWIG_PY_INT, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL, 0, 0, 0},
37017 { SWIG_PY_INT, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES, 0, 0, 0},
37018 { SWIG_PY_INT, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS, 0, 0, 0},
37019 { SWIG_PY_INT, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS, 0, 0, 0},
37020 { SWIG_PY_INT, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS, 0, 0, 0},
37021 { SWIG_PY_INT, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST, 0, 0, 0},
37022 { SWIG_PY_INT, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE, 0, 0, 0},
37023 { SWIG_PY_INT, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME, 0, 0, 0},
37024 { SWIG_PY_INT, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE, 0, 0, 0},
37025 { SWIG_PY_INT, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE, 0, 0, 0},
37026 { SWIG_PY_INT, (char *)"ID_FILE1", (long) wxID_FILE1, 0, 0, 0},
37027 { SWIG_PY_INT, (char *)"ID_FILE2", (long) wxID_FILE2, 0, 0, 0},
37028 { SWIG_PY_INT, (char *)"ID_FILE3", (long) wxID_FILE3, 0, 0, 0},
37029 { SWIG_PY_INT, (char *)"ID_FILE4", (long) wxID_FILE4, 0, 0, 0},
37030 { SWIG_PY_INT, (char *)"ID_FILE5", (long) wxID_FILE5, 0, 0, 0},
37031 { SWIG_PY_INT, (char *)"ID_FILE6", (long) wxID_FILE6, 0, 0, 0},
37032 { SWIG_PY_INT, (char *)"ID_FILE7", (long) wxID_FILE7, 0, 0, 0},
37033 { SWIG_PY_INT, (char *)"ID_FILE8", (long) wxID_FILE8, 0, 0, 0},
37034 { SWIG_PY_INT, (char *)"ID_FILE9", (long) wxID_FILE9, 0, 0, 0},
37035 { SWIG_PY_INT, (char *)"ID_OK", (long) wxID_OK, 0, 0, 0},
37036 { SWIG_PY_INT, (char *)"ID_CANCEL", (long) wxID_CANCEL, 0, 0, 0},
37037 { SWIG_PY_INT, (char *)"ID_APPLY", (long) wxID_APPLY, 0, 0, 0},
37038 { SWIG_PY_INT, (char *)"ID_YES", (long) wxID_YES, 0, 0, 0},
37039 { SWIG_PY_INT, (char *)"ID_NO", (long) wxID_NO, 0, 0, 0},
37040 { SWIG_PY_INT, (char *)"ID_STATIC", (long) wxID_STATIC, 0, 0, 0},
37041 { SWIG_PY_INT, (char *)"ID_FORWARD", (long) wxID_FORWARD, 0, 0, 0},
37042 { SWIG_PY_INT, (char *)"ID_BACKWARD", (long) wxID_BACKWARD, 0, 0, 0},
37043 { SWIG_PY_INT, (char *)"ID_DEFAULT", (long) wxID_DEFAULT, 0, 0, 0},
37044 { SWIG_PY_INT, (char *)"ID_MORE", (long) wxID_MORE, 0, 0, 0},
37045 { SWIG_PY_INT, (char *)"ID_SETUP", (long) wxID_SETUP, 0, 0, 0},
37046 { SWIG_PY_INT, (char *)"ID_RESET", (long) wxID_RESET, 0, 0, 0},
37047 { SWIG_PY_INT, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP, 0, 0, 0},
37048 { SWIG_PY_INT, (char *)"ID_YESTOALL", (long) wxID_YESTOALL, 0, 0, 0},
37049 { SWIG_PY_INT, (char *)"ID_NOTOALL", (long) wxID_NOTOALL, 0, 0, 0},
37050 { SWIG_PY_INT, (char *)"ID_ABORT", (long) wxID_ABORT, 0, 0, 0},
37051 { SWIG_PY_INT, (char *)"ID_RETRY", (long) wxID_RETRY, 0, 0, 0},
37052 { SWIG_PY_INT, (char *)"ID_IGNORE", (long) wxID_IGNORE, 0, 0, 0},
37053 { SWIG_PY_INT, (char *)"ID_HIGHEST", (long) wxID_HIGHEST, 0, 0, 0},
37054 { SWIG_PY_INT, (char *)"OPEN", (long) wxOPEN, 0, 0, 0},
37055 { SWIG_PY_INT, (char *)"SAVE", (long) wxSAVE, 0, 0, 0},
37056 { SWIG_PY_INT, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY, 0, 0, 0},
37057 { SWIG_PY_INT, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT, 0, 0, 0},
37058 { SWIG_PY_INT, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST, 0, 0, 0},
37059 { SWIG_PY_INT, (char *)"MULTIPLE", (long) wxMULTIPLE, 0, 0, 0},
37060 { SWIG_PY_INT, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR, 0, 0, 0},
37061 { SWIG_PY_INT, (char *)"ACCEL_ALT", (long) wxACCEL_ALT, 0, 0, 0},
37062 { SWIG_PY_INT, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL, 0, 0, 0},
37063 { SWIG_PY_INT, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT, 0, 0, 0},
37064 { SWIG_PY_INT, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL, 0, 0, 0},
37065 { SWIG_PY_INT, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE, 0, 0, 0},
37066 { SWIG_PY_INT, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL, 0, 0, 0},
37067 { SWIG_PY_INT, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT, 0, 0, 0},
37068 { SWIG_PY_INT, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME, 0, 0, 0},
37069 { SWIG_PY_INT, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME, 0, 0, 0},
37070 { SWIG_PY_INT, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME, 0, 0, 0},
37071 { SWIG_PY_INT, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON, 0, 0, 0},
37072 { SWIG_PY_INT, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE, 0, 0, 0},
37073 { SWIG_PY_INT, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF, 0, 0, 0},
37074 { SWIG_PY_INT, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE, 0, 0, 0},
37075 { SWIG_PY_INT, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE, 0, 0, 0},
37076 { SWIG_PY_INT, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL, 0, 0, 0},
37077 { SWIG_PY_INT, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL, 0, 0, 0},
37078 { SWIG_PY_INT, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY, 0, 0, 0},
37079 { SWIG_PY_INT, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS, 0, 0, 0},
37080 { SWIG_PY_INT, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT, 0, 0, 0},
37081 { SWIG_PY_INT, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND, 0, 0, 0},
37082 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE, 0, 0, 0},
37083 { SWIG_PY_INT, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES, 0, 0, 0},
37084 { SWIG_PY_INT, (char *)"MM_TEXT", (long) wxMM_TEXT, 0, 0, 0},
37085 { SWIG_PY_INT, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC, 0, 0, 0},
37086 { SWIG_PY_INT, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC, 0, 0, 0},
37087 { SWIG_PY_INT, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH, 0, 0, 0},
37088 { SWIG_PY_INT, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH, 0, 0, 0},
37089 { SWIG_PY_INT, (char *)"MM_TWIPS", (long) wxMM_TWIPS, 0, 0, 0},
37090 { SWIG_PY_INT, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC, 0, 0, 0},
37091 { SWIG_PY_INT, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC, 0, 0, 0},
37092 { SWIG_PY_INT, (char *)"MM_POINTS", (long) wxMM_POINTS, 0, 0, 0},
37093 { SWIG_PY_INT, (char *)"MM_METRIC", (long) wxMM_METRIC, 0, 0, 0},
37094 { SWIG_PY_INT, (char *)"CENTRE", (long) wxCENTRE, 0, 0, 0},
37095 { SWIG_PY_INT, (char *)"CENTER", (long) wxCENTER, 0, 0, 0},
37096 { SWIG_PY_INT, (char *)"HORIZONTAL", (long) wxHORIZONTAL, 0, 0, 0},
37097 { SWIG_PY_INT, (char *)"VERTICAL", (long) wxVERTICAL, 0, 0, 0},
37098 { SWIG_PY_INT, (char *)"BOTH", (long) wxBOTH, 0, 0, 0},
37099 { SWIG_PY_INT, (char *)"LEFT", (long) wxLEFT, 0, 0, 0},
37100 { SWIG_PY_INT, (char *)"RIGHT", (long) wxRIGHT, 0, 0, 0},
37101 { SWIG_PY_INT, (char *)"UP", (long) wxUP, 0, 0, 0},
37102 { SWIG_PY_INT, (char *)"DOWN", (long) wxDOWN, 0, 0, 0},
37103 { SWIG_PY_INT, (char *)"TOP", (long) wxTOP, 0, 0, 0},
37104 { SWIG_PY_INT, (char *)"BOTTOM", (long) wxBOTTOM, 0, 0, 0},
37105 { SWIG_PY_INT, (char *)"NORTH", (long) wxNORTH, 0, 0, 0},
37106 { SWIG_PY_INT, (char *)"SOUTH", (long) wxSOUTH, 0, 0, 0},
37107 { SWIG_PY_INT, (char *)"WEST", (long) wxWEST, 0, 0, 0},
37108 { SWIG_PY_INT, (char *)"EAST", (long) wxEAST, 0, 0, 0},
37109 { SWIG_PY_INT, (char *)"ALL", (long) wxALL, 0, 0, 0},
37110 { SWIG_PY_INT, (char *)"ALIGN_NOT", (long) wxALIGN_NOT, 0, 0, 0},
37111 { SWIG_PY_INT, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL, 0, 0, 0},
37112 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL, 0, 0, 0},
37113 { SWIG_PY_INT, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT, 0, 0, 0},
37114 { SWIG_PY_INT, (char *)"ALIGN_TOP", (long) wxALIGN_TOP, 0, 0, 0},
37115 { SWIG_PY_INT, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT, 0, 0, 0},
37116 { SWIG_PY_INT, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM, 0, 0, 0},
37117 { SWIG_PY_INT, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL, 0, 0, 0},
37118 { SWIG_PY_INT, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL, 0, 0, 0},
37119 { SWIG_PY_INT, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER, 0, 0, 0},
37120 { SWIG_PY_INT, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE, 0, 0, 0},
37121 { SWIG_PY_INT, (char *)"ALIGN_MASK", (long) wxALIGN_MASK, 0, 0, 0},
37122 { SWIG_PY_INT, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT, 0, 0, 0},
37123 { SWIG_PY_INT, (char *)"SHRINK", (long) wxSHRINK, 0, 0, 0},
37124 { SWIG_PY_INT, (char *)"GROW", (long) wxGROW, 0, 0, 0},
37125 { SWIG_PY_INT, (char *)"EXPAND", (long) wxEXPAND, 0, 0, 0},
37126 { SWIG_PY_INT, (char *)"SHAPED", (long) wxSHAPED, 0, 0, 0},
37127 { SWIG_PY_INT, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE, 0, 0, 0},
37128 { SWIG_PY_INT, (char *)"TILE", (long) wxTILE, 0, 0, 0},
37129 { SWIG_PY_INT, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT, 0, 0, 0},
37130 { SWIG_PY_INT, (char *)"BORDER_NONE", (long) wxBORDER_NONE, 0, 0, 0},
37131 { SWIG_PY_INT, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC, 0, 0, 0},
37132 { SWIG_PY_INT, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE, 0, 0, 0},
37133 { SWIG_PY_INT, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED, 0, 0, 0},
37134 { SWIG_PY_INT, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN, 0, 0, 0},
37135 { SWIG_PY_INT, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE, 0, 0, 0},
37136 { SWIG_PY_INT, (char *)"BORDER_MASK", (long) wxBORDER_MASK, 0, 0, 0},
37137 { SWIG_PY_INT, (char *)"DEFAULT", (long) wxDEFAULT, 0, 0, 0},
37138 { SWIG_PY_INT, (char *)"DECORATIVE", (long) wxDECORATIVE, 0, 0, 0},
37139 { SWIG_PY_INT, (char *)"ROMAN", (long) wxROMAN, 0, 0, 0},
37140 { SWIG_PY_INT, (char *)"SCRIPT", (long) wxSCRIPT, 0, 0, 0},
37141 { SWIG_PY_INT, (char *)"SWISS", (long) wxSWISS, 0, 0, 0},
37142 { SWIG_PY_INT, (char *)"MODERN", (long) wxMODERN, 0, 0, 0},
37143 { SWIG_PY_INT, (char *)"TELETYPE", (long) wxTELETYPE, 0, 0, 0},
37144 { SWIG_PY_INT, (char *)"VARIABLE", (long) wxVARIABLE, 0, 0, 0},
37145 { SWIG_PY_INT, (char *)"FIXED", (long) wxFIXED, 0, 0, 0},
37146 { SWIG_PY_INT, (char *)"NORMAL", (long) wxNORMAL, 0, 0, 0},
37147 { SWIG_PY_INT, (char *)"LIGHT", (long) wxLIGHT, 0, 0, 0},
37148 { SWIG_PY_INT, (char *)"BOLD", (long) wxBOLD, 0, 0, 0},
37149 { SWIG_PY_INT, (char *)"ITALIC", (long) wxITALIC, 0, 0, 0},
37150 { SWIG_PY_INT, (char *)"SLANT", (long) wxSLANT, 0, 0, 0},
37151 { SWIG_PY_INT, (char *)"SOLID", (long) wxSOLID, 0, 0, 0},
37152 { SWIG_PY_INT, (char *)"DOT", (long) wxDOT, 0, 0, 0},
37153 { SWIG_PY_INT, (char *)"LONG_DASH", (long) wxLONG_DASH, 0, 0, 0},
37154 { SWIG_PY_INT, (char *)"SHORT_DASH", (long) wxSHORT_DASH, 0, 0, 0},
37155 { SWIG_PY_INT, (char *)"DOT_DASH", (long) wxDOT_DASH, 0, 0, 0},
37156 { SWIG_PY_INT, (char *)"USER_DASH", (long) wxUSER_DASH, 0, 0, 0},
37157 { SWIG_PY_INT, (char *)"TRANSPARENT", (long) wxTRANSPARENT, 0, 0, 0},
37158 { SWIG_PY_INT, (char *)"STIPPLE", (long) wxSTIPPLE, 0, 0, 0},
37159 { SWIG_PY_INT, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH, 0, 0, 0},
37160 { SWIG_PY_INT, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH, 0, 0, 0},
37161 { SWIG_PY_INT, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH, 0, 0, 0},
37162 { SWIG_PY_INT, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH, 0, 0, 0},
37163 { SWIG_PY_INT, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH, 0, 0, 0},
37164 { SWIG_PY_INT, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH, 0, 0, 0},
37165 { SWIG_PY_INT, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL, 0, 0, 0},
37166 { SWIG_PY_INT, (char *)"JOIN_MITER", (long) wxJOIN_MITER, 0, 0, 0},
37167 { SWIG_PY_INT, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND, 0, 0, 0},
37168 { SWIG_PY_INT, (char *)"CAP_ROUND", (long) wxCAP_ROUND, 0, 0, 0},
37169 { SWIG_PY_INT, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING, 0, 0, 0},
37170 { SWIG_PY_INT, (char *)"CAP_BUTT", (long) wxCAP_BUTT, 0, 0, 0},
37171 { SWIG_PY_INT, (char *)"CLEAR", (long) wxCLEAR, 0, 0, 0},
37172 { SWIG_PY_INT, (char *)"XOR", (long) wxXOR, 0, 0, 0},
37173 { SWIG_PY_INT, (char *)"INVERT", (long) wxINVERT, 0, 0, 0},
37174 { SWIG_PY_INT, (char *)"OR_REVERSE", (long) wxOR_REVERSE, 0, 0, 0},
37175 { SWIG_PY_INT, (char *)"AND_REVERSE", (long) wxAND_REVERSE, 0, 0, 0},
37176 { SWIG_PY_INT, (char *)"COPY", (long) wxCOPY, 0, 0, 0},
37177 { SWIG_PY_INT, (char *)"AND", (long) wxAND, 0, 0, 0},
37178 { SWIG_PY_INT, (char *)"AND_INVERT", (long) wxAND_INVERT, 0, 0, 0},
37179 { SWIG_PY_INT, (char *)"NO_OP", (long) wxNO_OP, 0, 0, 0},
37180 { SWIG_PY_INT, (char *)"NOR", (long) wxNOR, 0, 0, 0},
37181 { SWIG_PY_INT, (char *)"EQUIV", (long) wxEQUIV, 0, 0, 0},
37182 { SWIG_PY_INT, (char *)"SRC_INVERT", (long) wxSRC_INVERT, 0, 0, 0},
37183 { SWIG_PY_INT, (char *)"OR_INVERT", (long) wxOR_INVERT, 0, 0, 0},
37184 { SWIG_PY_INT, (char *)"NAND", (long) wxNAND, 0, 0, 0},
37185 { SWIG_PY_INT, (char *)"OR", (long) wxOR, 0, 0, 0},
37186 { SWIG_PY_INT, (char *)"SET", (long) wxSET, 0, 0, 0},
37187 { SWIG_PY_INT, (char *)"WXK_BACK", (long) WXK_BACK, 0, 0, 0},
37188 { SWIG_PY_INT, (char *)"WXK_TAB", (long) WXK_TAB, 0, 0, 0},
37189 { SWIG_PY_INT, (char *)"WXK_RETURN", (long) WXK_RETURN, 0, 0, 0},
37190 { SWIG_PY_INT, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE, 0, 0, 0},
37191 { SWIG_PY_INT, (char *)"WXK_SPACE", (long) WXK_SPACE, 0, 0, 0},
37192 { SWIG_PY_INT, (char *)"WXK_DELETE", (long) WXK_DELETE, 0, 0, 0},
37193 { SWIG_PY_INT, (char *)"WXK_START", (long) WXK_START, 0, 0, 0},
37194 { SWIG_PY_INT, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON, 0, 0, 0},
37195 { SWIG_PY_INT, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON, 0, 0, 0},
37196 { SWIG_PY_INT, (char *)"WXK_CANCEL", (long) WXK_CANCEL, 0, 0, 0},
37197 { SWIG_PY_INT, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON, 0, 0, 0},
37198 { SWIG_PY_INT, (char *)"WXK_CLEAR", (long) WXK_CLEAR, 0, 0, 0},
37199 { SWIG_PY_INT, (char *)"WXK_SHIFT", (long) WXK_SHIFT, 0, 0, 0},
37200 { SWIG_PY_INT, (char *)"WXK_ALT", (long) WXK_ALT, 0, 0, 0},
37201 { SWIG_PY_INT, (char *)"WXK_CONTROL", (long) WXK_CONTROL, 0, 0, 0},
37202 { SWIG_PY_INT, (char *)"WXK_MENU", (long) WXK_MENU, 0, 0, 0},
37203 { SWIG_PY_INT, (char *)"WXK_PAUSE", (long) WXK_PAUSE, 0, 0, 0},
37204 { SWIG_PY_INT, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL, 0, 0, 0},
37205 { SWIG_PY_INT, (char *)"WXK_PRIOR", (long) WXK_PRIOR, 0, 0, 0},
37206 { SWIG_PY_INT, (char *)"WXK_NEXT", (long) WXK_NEXT, 0, 0, 0},
37207 { SWIG_PY_INT, (char *)"WXK_END", (long) WXK_END, 0, 0, 0},
37208 { SWIG_PY_INT, (char *)"WXK_HOME", (long) WXK_HOME, 0, 0, 0},
37209 { SWIG_PY_INT, (char *)"WXK_LEFT", (long) WXK_LEFT, 0, 0, 0},
37210 { SWIG_PY_INT, (char *)"WXK_UP", (long) WXK_UP, 0, 0, 0},
37211 { SWIG_PY_INT, (char *)"WXK_RIGHT", (long) WXK_RIGHT, 0, 0, 0},
37212 { SWIG_PY_INT, (char *)"WXK_DOWN", (long) WXK_DOWN, 0, 0, 0},
37213 { SWIG_PY_INT, (char *)"WXK_SELECT", (long) WXK_SELECT, 0, 0, 0},
37214 { SWIG_PY_INT, (char *)"WXK_PRINT", (long) WXK_PRINT, 0, 0, 0},
37215 { SWIG_PY_INT, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE, 0, 0, 0},
37216 { SWIG_PY_INT, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT, 0, 0, 0},
37217 { SWIG_PY_INT, (char *)"WXK_INSERT", (long) WXK_INSERT, 0, 0, 0},
37218 { SWIG_PY_INT, (char *)"WXK_HELP", (long) WXK_HELP, 0, 0, 0},
37219 { SWIG_PY_INT, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0, 0, 0, 0},
37220 { SWIG_PY_INT, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1, 0, 0, 0},
37221 { SWIG_PY_INT, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2, 0, 0, 0},
37222 { SWIG_PY_INT, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3, 0, 0, 0},
37223 { SWIG_PY_INT, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4, 0, 0, 0},
37224 { SWIG_PY_INT, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5, 0, 0, 0},
37225 { SWIG_PY_INT, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6, 0, 0, 0},
37226 { SWIG_PY_INT, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7, 0, 0, 0},
37227 { SWIG_PY_INT, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8, 0, 0, 0},
37228 { SWIG_PY_INT, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9, 0, 0, 0},
37229 { SWIG_PY_INT, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY, 0, 0, 0},
37230 { SWIG_PY_INT, (char *)"WXK_ADD", (long) WXK_ADD, 0, 0, 0},
37231 { SWIG_PY_INT, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR, 0, 0, 0},
37232 { SWIG_PY_INT, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT, 0, 0, 0},
37233 { SWIG_PY_INT, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL, 0, 0, 0},
37234 { SWIG_PY_INT, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE, 0, 0, 0},
37235 { SWIG_PY_INT, (char *)"WXK_F1", (long) WXK_F1, 0, 0, 0},
37236 { SWIG_PY_INT, (char *)"WXK_F2", (long) WXK_F2, 0, 0, 0},
37237 { SWIG_PY_INT, (char *)"WXK_F3", (long) WXK_F3, 0, 0, 0},
37238 { SWIG_PY_INT, (char *)"WXK_F4", (long) WXK_F4, 0, 0, 0},
37239 { SWIG_PY_INT, (char *)"WXK_F5", (long) WXK_F5, 0, 0, 0},
37240 { SWIG_PY_INT, (char *)"WXK_F6", (long) WXK_F6, 0, 0, 0},
37241 { SWIG_PY_INT, (char *)"WXK_F7", (long) WXK_F7, 0, 0, 0},
37242 { SWIG_PY_INT, (char *)"WXK_F8", (long) WXK_F8, 0, 0, 0},
37243 { SWIG_PY_INT, (char *)"WXK_F9", (long) WXK_F9, 0, 0, 0},
37244 { SWIG_PY_INT, (char *)"WXK_F10", (long) WXK_F10, 0, 0, 0},
37245 { SWIG_PY_INT, (char *)"WXK_F11", (long) WXK_F11, 0, 0, 0},
37246 { SWIG_PY_INT, (char *)"WXK_F12", (long) WXK_F12, 0, 0, 0},
37247 { SWIG_PY_INT, (char *)"WXK_F13", (long) WXK_F13, 0, 0, 0},
37248 { SWIG_PY_INT, (char *)"WXK_F14", (long) WXK_F14, 0, 0, 0},
37249 { SWIG_PY_INT, (char *)"WXK_F15", (long) WXK_F15, 0, 0, 0},
37250 { SWIG_PY_INT, (char *)"WXK_F16", (long) WXK_F16, 0, 0, 0},
37251 { SWIG_PY_INT, (char *)"WXK_F17", (long) WXK_F17, 0, 0, 0},
37252 { SWIG_PY_INT, (char *)"WXK_F18", (long) WXK_F18, 0, 0, 0},
37253 { SWIG_PY_INT, (char *)"WXK_F19", (long) WXK_F19, 0, 0, 0},
37254 { SWIG_PY_INT, (char *)"WXK_F20", (long) WXK_F20, 0, 0, 0},
37255 { SWIG_PY_INT, (char *)"WXK_F21", (long) WXK_F21, 0, 0, 0},
37256 { SWIG_PY_INT, (char *)"WXK_F22", (long) WXK_F22, 0, 0, 0},
37257 { SWIG_PY_INT, (char *)"WXK_F23", (long) WXK_F23, 0, 0, 0},
37258 { SWIG_PY_INT, (char *)"WXK_F24", (long) WXK_F24, 0, 0, 0},
37259 { SWIG_PY_INT, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK, 0, 0, 0},
37260 { SWIG_PY_INT, (char *)"WXK_SCROLL", (long) WXK_SCROLL, 0, 0, 0},
37261 { SWIG_PY_INT, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP, 0, 0, 0},
37262 { SWIG_PY_INT, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN, 0, 0, 0},
37263 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE, 0, 0, 0},
37264 { SWIG_PY_INT, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB, 0, 0, 0},
37265 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER, 0, 0, 0},
37266 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1, 0, 0, 0},
37267 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2, 0, 0, 0},
37268 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3, 0, 0, 0},
37269 { SWIG_PY_INT, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4, 0, 0, 0},
37270 { SWIG_PY_INT, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME, 0, 0, 0},
37271 { SWIG_PY_INT, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT, 0, 0, 0},
37272 { SWIG_PY_INT, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP, 0, 0, 0},
37273 { SWIG_PY_INT, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT, 0, 0, 0},
37274 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN, 0, 0, 0},
37275 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR, 0, 0, 0},
37276 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP, 0, 0, 0},
37277 { SWIG_PY_INT, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT, 0, 0, 0},
37278 { SWIG_PY_INT, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN, 0, 0, 0},
37279 { SWIG_PY_INT, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END, 0, 0, 0},
37280 { SWIG_PY_INT, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN, 0, 0, 0},
37281 { SWIG_PY_INT, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT, 0, 0, 0},
37282 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE, 0, 0, 0},
37283 { SWIG_PY_INT, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL, 0, 0, 0},
37284 { SWIG_PY_INT, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY, 0, 0, 0},
37285 { SWIG_PY_INT, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD, 0, 0, 0},
37286 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR, 0, 0, 0},
37287 { SWIG_PY_INT, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT, 0, 0, 0},
37288 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL, 0, 0, 0},
37289 { SWIG_PY_INT, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE, 0, 0, 0},
37290 { SWIG_PY_INT, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT, 0, 0, 0},
37291 { SWIG_PY_INT, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT, 0, 0, 0},
37292 { SWIG_PY_INT, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU, 0, 0, 0},
37293 { SWIG_PY_INT, (char *)"PAPER_NONE", (long) wxPAPER_NONE, 0, 0, 0},
37294 { SWIG_PY_INT, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER, 0, 0, 0},
37295 { SWIG_PY_INT, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL, 0, 0, 0},
37296 { SWIG_PY_INT, (char *)"PAPER_A4", (long) wxPAPER_A4, 0, 0, 0},
37297 { SWIG_PY_INT, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET, 0, 0, 0},
37298 { SWIG_PY_INT, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET, 0, 0, 0},
37299 { SWIG_PY_INT, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET, 0, 0, 0},
37300 { SWIG_PY_INT, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL, 0, 0, 0},
37301 { SWIG_PY_INT, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID, 0, 0, 0},
37302 { SWIG_PY_INT, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER, 0, 0, 0},
37303 { SWIG_PY_INT, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT, 0, 0, 0},
37304 { SWIG_PY_INT, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE, 0, 0, 0},
37305 { SWIG_PY_INT, (char *)"PAPER_A3", (long) wxPAPER_A3, 0, 0, 0},
37306 { SWIG_PY_INT, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL, 0, 0, 0},
37307 { SWIG_PY_INT, (char *)"PAPER_A5", (long) wxPAPER_A5, 0, 0, 0},
37308 { SWIG_PY_INT, (char *)"PAPER_B4", (long) wxPAPER_B4, 0, 0, 0},
37309 { SWIG_PY_INT, (char *)"PAPER_B5", (long) wxPAPER_B5, 0, 0, 0},
37310 { SWIG_PY_INT, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO, 0, 0, 0},
37311 { SWIG_PY_INT, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO, 0, 0, 0},
37312 { SWIG_PY_INT, (char *)"PAPER_10X14", (long) wxPAPER_10X14, 0, 0, 0},
37313 { SWIG_PY_INT, (char *)"PAPER_11X17", (long) wxPAPER_11X17, 0, 0, 0},
37314 { SWIG_PY_INT, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE, 0, 0, 0},
37315 { SWIG_PY_INT, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9, 0, 0, 0},
37316 { SWIG_PY_INT, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10, 0, 0, 0},
37317 { SWIG_PY_INT, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11, 0, 0, 0},
37318 { SWIG_PY_INT, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12, 0, 0, 0},
37319 { SWIG_PY_INT, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14, 0, 0, 0},
37320 { SWIG_PY_INT, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL, 0, 0, 0},
37321 { SWIG_PY_INT, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5, 0, 0, 0},
37322 { SWIG_PY_INT, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3, 0, 0, 0},
37323 { SWIG_PY_INT, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4, 0, 0, 0},
37324 { SWIG_PY_INT, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6, 0, 0, 0},
37325 { SWIG_PY_INT, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65, 0, 0, 0},
37326 { SWIG_PY_INT, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4, 0, 0, 0},
37327 { SWIG_PY_INT, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5, 0, 0, 0},
37328 { SWIG_PY_INT, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6, 0, 0, 0},
37329 { SWIG_PY_INT, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY, 0, 0, 0},
37330 { SWIG_PY_INT, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH, 0, 0, 0},
37331 { SWIG_PY_INT, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL, 0, 0, 0},
37332 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US, 0, 0, 0},
37333 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN, 0, 0, 0},
37334 { SWIG_PY_INT, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN, 0, 0, 0},
37335 { SWIG_PY_INT, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4, 0, 0, 0},
37336 { SWIG_PY_INT, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD, 0, 0, 0},
37337 { SWIG_PY_INT, (char *)"PAPER_9X11", (long) wxPAPER_9X11, 0, 0, 0},
37338 { SWIG_PY_INT, (char *)"PAPER_10X11", (long) wxPAPER_10X11, 0, 0, 0},
37339 { SWIG_PY_INT, (char *)"PAPER_15X11", (long) wxPAPER_15X11, 0, 0, 0},
37340 { SWIG_PY_INT, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE, 0, 0, 0},
37341 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA, 0, 0, 0},
37342 { SWIG_PY_INT, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA, 0, 0, 0},
37343 { SWIG_PY_INT, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA, 0, 0, 0},
37344 { SWIG_PY_INT, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA, 0, 0, 0},
37345 { SWIG_PY_INT, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE, 0, 0, 0},
37346 { SWIG_PY_INT, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE, 0, 0, 0},
37347 { SWIG_PY_INT, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE, 0, 0, 0},
37348 { SWIG_PY_INT, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS, 0, 0, 0},
37349 { SWIG_PY_INT, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS, 0, 0, 0},
37350 { SWIG_PY_INT, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS, 0, 0, 0},
37351 { SWIG_PY_INT, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS, 0, 0, 0},
37352 { SWIG_PY_INT, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE, 0, 0, 0},
37353 { SWIG_PY_INT, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE, 0, 0, 0},
37354 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA, 0, 0, 0},
37355 { SWIG_PY_INT, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA, 0, 0, 0},
37356 { SWIG_PY_INT, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA, 0, 0, 0},
37357 { SWIG_PY_INT, (char *)"PAPER_A2", (long) wxPAPER_A2, 0, 0, 0},
37358 { SWIG_PY_INT, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE, 0, 0, 0},
37359 { SWIG_PY_INT, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE, 0, 0, 0},
37360 { SWIG_PY_INT, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX, 0, 0, 0},
37361 { SWIG_PY_INT, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL, 0, 0, 0},
37362 { SWIG_PY_INT, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL, 0, 0, 0},
37363 { SWIG_PY_INT, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR, 0, 0, 0},
37364 { SWIG_PY_INT, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL, 0, 0, 0},
37365 { SWIG_PY_INT, (char *)"ITEM_CHECK", (long) wxITEM_CHECK, 0, 0, 0},
37366 { SWIG_PY_INT, (char *)"ITEM_RADIO", (long) wxITEM_RADIO, 0, 0, 0},
37367 { SWIG_PY_INT, (char *)"ITEM_MAX", (long) wxITEM_MAX, 0, 0, 0},
37368 { SWIG_PY_INT, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE, 0, 0, 0},
37369 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST, 0, 0, 0},
37370 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1, 0, 0, 0},
37371 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2, 0, 0, 0},
37372 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1, 0, 0, 0},
37373 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2, 0, 0, 0},
37374 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB, 0, 0, 0},
37375 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1, 0, 0, 0},
37376 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2, 0, 0, 0},
37377 { SWIG_PY_INT, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST, 0, 0, 0},
37378 { SWIG_PY_INT, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE, 0, 0, 0},
37379 { SWIG_PY_INT, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE, 0, 0, 0},
37380 { SWIG_PY_INT, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR, 0, 0, 0},
37381 { SWIG_PY_INT, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR, 0, 0, 0},
37382 { SWIG_PY_INT, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER, 0, 0, 0},
37383 { SWIG_PY_INT, (char *)"HT_MAX", (long) wxHT_MAX, 0, 0, 0},
37384 { SWIG_PY_INT, (char *)"MOD_NONE", (long) wxMOD_NONE, 0, 0, 0},
37385 { SWIG_PY_INT, (char *)"MOD_ALT", (long) wxMOD_ALT, 0, 0, 0},
37386 { SWIG_PY_INT, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL, 0, 0, 0},
37387 { SWIG_PY_INT, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT, 0, 0, 0},
37388 { SWIG_PY_INT, (char *)"MOD_WIN", (long) wxMOD_WIN, 0, 0, 0},
37389 { SWIG_PY_INT, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE, 0, 0, 0},
37390 { SWIG_PY_INT, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE, 0, 0, 0},
37391 { SWIG_PY_INT, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE, 0, 0, 0},
37392 { SWIG_PY_INT, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID, 0, 0, 0},
37393 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP, 0, 0, 0},
37394 { SWIG_PY_INT, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE, 0, 0, 0},
37395 { SWIG_PY_INT, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE, 0, 0, 0},
37396 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO, 0, 0, 0},
37397 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE, 0, 0, 0},
37398 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR, 0, 0, 0},
37399 { SWIG_PY_INT, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE, 0, 0, 0},
37400 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM, 0, 0, 0},
37401 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA, 0, 0, 0},
37402 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM, 0, 0, 0},
37403 { SWIG_PY_INT, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA, 0, 0, 0},
37404 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF, 0, 0, 0},
37405 { SWIG_PY_INT, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE, 0, 0, 0},
37406 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF, 0, 0, 0},
37407 { SWIG_PY_INT, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE, 0, 0, 0},
37408 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG, 0, 0, 0},
37409 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE, 0, 0, 0},
37410 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG, 0, 0, 0},
37411 { SWIG_PY_INT, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE, 0, 0, 0},
37412 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM, 0, 0, 0},
37413 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE, 0, 0, 0},
37414 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX, 0, 0, 0},
37415 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE, 0, 0, 0},
37416 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT, 0, 0, 0},
37417 { SWIG_PY_INT, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE, 0, 0, 0},
37418 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON, 0, 0, 0},
37419 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE, 0, 0, 0},
37420 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI, 0, 0, 0},
37421 { SWIG_PY_INT, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF, 0, 0, 0},
37422 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR, 0, 0, 0},
37423 { SWIG_PY_INT, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE, 0, 0, 0},
37424 { SWIG_PY_INT, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY, 0, 0, 0},
37425 { SWIG_PY_INT, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE, 0, 0, 0},
37426 { SWIG_PY_INT, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW, 0, 0, 0},
37427 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW, 0, 0, 0},
37428 { SWIG_PY_INT, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE, 0, 0, 0},
37429 { SWIG_PY_INT, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR, 0, 0, 0},
37430 { SWIG_PY_INT, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS, 0, 0, 0},
37431 { SWIG_PY_INT, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND, 0, 0, 0},
37432 { SWIG_PY_INT, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM, 0, 0, 0},
37433 { SWIG_PY_INT, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON, 0, 0, 0},
37434 { SWIG_PY_INT, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER, 0, 0, 0},
37435 { SWIG_PY_INT, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON, 0, 0, 0},
37436 { SWIG_PY_INT, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY, 0, 0, 0},
37437 { SWIG_PY_INT, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH, 0, 0, 0},
37438 { SWIG_PY_INT, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL, 0, 0, 0},
37439 { SWIG_PY_INT, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT, 0, 0, 0},
37440 { SWIG_PY_INT, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT, 0, 0, 0},
37441 { SWIG_PY_INT, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW, 0, 0, 0},
37442 { SWIG_PY_INT, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON, 0, 0, 0},
37443 { SWIG_PY_INT, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW, 0, 0, 0},
37444 { SWIG_PY_INT, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS, 0, 0, 0},
37445 { SWIG_PY_INT, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE, 0, 0, 0},
37446 { SWIG_PY_INT, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE, 0, 0, 0},
37447 { SWIG_PY_INT, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING, 0, 0, 0},
37448 { SWIG_PY_INT, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN, 0, 0, 0},
37449 { SWIG_PY_INT, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT, 0, 0, 0},
37450 { SWIG_PY_INT, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH, 0, 0, 0},
37451 { SWIG_PY_INT, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK, 0, 0, 0},
37452 { SWIG_PY_INT, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT, 0, 0, 0},
37453 { SWIG_PY_INT, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW, 0, 0, 0},
37454 { SWIG_PY_INT, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT, 0, 0, 0},
37455 { SWIG_PY_INT, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX, 0, 0, 0},
37456 { SWIG_PY_INT, (char *)"FromStart", (long) wxFromStart, 0, 0, 0},
37457 { SWIG_PY_INT, (char *)"FromCurrent", (long) wxFromCurrent, 0, 0, 0},
37458 { SWIG_PY_INT, (char *)"FromEnd", (long) wxFromEnd, 0, 0, 0},
37459 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES, 0, 0, 0},
37460 { SWIG_PY_INT, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM, 0, 0, 0},
37461 { SWIG_PY_INT, (char *)"BMP_24BPP", (long) wxBMP_24BPP, 0, 0, 0},
37462 { SWIG_PY_INT, (char *)"BMP_8BPP", (long) wxBMP_8BPP, 0, 0, 0},
37463 { SWIG_PY_INT, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY, 0, 0, 0},
37464 { SWIG_PY_INT, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY, 0, 0, 0},
37465 { SWIG_PY_INT, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED, 0, 0, 0},
37466 { SWIG_PY_INT, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE, 0, 0, 0},
37467 { SWIG_PY_INT, (char *)"BMP_4BPP", (long) wxBMP_4BPP, 0, 0, 0},
37468 { SWIG_PY_INT, (char *)"BMP_1BPP", (long) wxBMP_1BPP, 0, 0, 0},
37469 { SWIG_PY_INT, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW, 0, 0, 0},
37470 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE, 0, 0, 0},
37471 { SWIG_PY_INT, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX, 0, 0, 0},
37472 { SWIG_PY_INT, (char *)"wxEVT_NULL", (long) wxEVT_NULL, 0, 0, 0},
37473 { SWIG_PY_INT, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST, 0, 0, 0},
37474 { SWIG_PY_INT, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST, 0, 0, 0},
37475 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED, 0, 0, 0},
37476 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED, 0, 0, 0},
37477 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED, 0, 0, 0},
37478 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED, 0, 0, 0},
37479 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 0, 0, 0},
37480 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 0, 0, 0},
37481 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED, 0, 0, 0},
37482 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED, 0, 0, 0},
37483 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED, 0, 0, 0},
37484 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED, 0, 0, 0},
37485 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED, 0, 0, 0},
37486 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED, 0, 0, 0},
37487 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED, 0, 0, 0},
37488 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED, 0, 0, 0},
37489 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED, 0, 0, 0},
37490 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER, 0, 0, 0},
37491 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN, 0, 0, 0},
37492 { SWIG_PY_INT, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP, 0, 0, 0},
37493 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN, 0, 0, 0},
37494 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP, 0, 0, 0},
37495 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN, 0, 0, 0},
37496 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP, 0, 0, 0},
37497 { SWIG_PY_INT, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION, 0, 0, 0},
37498 { SWIG_PY_INT, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW, 0, 0, 0},
37499 { SWIG_PY_INT, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW, 0, 0, 0},
37500 { SWIG_PY_INT, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK, 0, 0, 0},
37501 { SWIG_PY_INT, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK, 0, 0, 0},
37502 { SWIG_PY_INT, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK, 0, 0, 0},
37503 { SWIG_PY_INT, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS, 0, 0, 0},
37504 { SWIG_PY_INT, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS, 0, 0, 0},
37505 { SWIG_PY_INT, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS, 0, 0, 0},
37506 { SWIG_PY_INT, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL, 0, 0, 0},
37507 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN, 0, 0, 0},
37508 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP, 0, 0, 0},
37509 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN, 0, 0, 0},
37510 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP, 0, 0, 0},
37511 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN, 0, 0, 0},
37512 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP, 0, 0, 0},
37513 { SWIG_PY_INT, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION, 0, 0, 0},
37514 { SWIG_PY_INT, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW, 0, 0, 0},
37515 { SWIG_PY_INT, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW, 0, 0, 0},
37516 { SWIG_PY_INT, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK, 0, 0, 0},
37517 { SWIG_PY_INT, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK, 0, 0, 0},
37518 { SWIG_PY_INT, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK, 0, 0, 0},
37519 { SWIG_PY_INT, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR, 0, 0, 0},
37520 { SWIG_PY_INT, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK, 0, 0, 0},
37521 { SWIG_PY_INT, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY, 0, 0, 0},
37522 { SWIG_PY_INT, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN, 0, 0, 0},
37523 { SWIG_PY_INT, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP, 0, 0, 0},
37524 { SWIG_PY_INT, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY, 0, 0, 0},
37525 { SWIG_PY_INT, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR, 0, 0, 0},
37526 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP, 0, 0, 0},
37527 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM, 0, 0, 0},
37528 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP, 0, 0, 0},
37529 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN, 0, 0, 0},
37530 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP, 0, 0, 0},
37531 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN, 0, 0, 0},
37532 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK, 0, 0, 0},
37533 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE, 0, 0, 0},
37534 { SWIG_PY_INT, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL, 0, 0, 0},
37535 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP, 0, 0, 0},
37536 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM, 0, 0, 0},
37537 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP, 0, 0, 0},
37538 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN, 0, 0, 0},
37539 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP, 0, 0, 0},
37540 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN, 0, 0, 0},
37541 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK, 0, 0, 0},
37542 { SWIG_PY_INT, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE, 0, 0, 0},
37543 { SWIG_PY_INT, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE, 0, 0, 0},
37544 { SWIG_PY_INT, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE, 0, 0, 0},
37545 { SWIG_PY_INT, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW, 0, 0, 0},
37546 { SWIG_PY_INT, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION, 0, 0, 0},
37547 { SWIG_PY_INT, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION, 0, 0, 0},
37548 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP, 0, 0, 0},
37549 { SWIG_PY_INT, (char *)"wxEVT_POWER", (long) wxEVT_POWER, 0, 0, 0},
37550 { SWIG_PY_INT, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE, 0, 0, 0},
37551 { SWIG_PY_INT, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE, 0, 0, 0},
37552 { SWIG_PY_INT, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY, 0, 0, 0},
37553 { SWIG_PY_INT, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW, 0, 0, 0},
37554 { SWIG_PY_INT, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE, 0, 0, 0},
37555 { SWIG_PY_INT, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE, 0, 0, 0},
37556 { SWIG_PY_INT, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED, 0, 0, 0},
37557 { SWIG_PY_INT, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT, 0, 0, 0},
37558 { SWIG_PY_INT, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND, 0, 0, 0},
37559 { SWIG_PY_INT, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT, 0, 0, 0},
37560 { SWIG_PY_INT, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON, 0, 0, 0},
37561 { SWIG_PY_INT, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN, 0, 0, 0},
37562 { SWIG_PY_INT, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE, 0, 0, 0},
37563 { SWIG_PY_INT, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT, 0, 0, 0},
37564 { SWIG_PY_INT, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU, 0, 0, 0},
37565 { SWIG_PY_INT, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED, 0, 0, 0},
37566 { SWIG_PY_INT, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED, 0, 0, 0},
37567 { SWIG_PY_INT, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED, 0, 0, 0},
37568 { SWIG_PY_INT, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE, 0, 0, 0},
37569 { SWIG_PY_INT, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED, 0, 0, 0},
37570 { SWIG_PY_INT, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES, 0, 0, 0},
37571 { SWIG_PY_INT, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM, 0, 0, 0},
37572 { SWIG_PY_INT, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM, 0, 0, 0},
37573 { SWIG_PY_INT, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM, 0, 0, 0},
37574 { SWIG_PY_INT, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG, 0, 0, 0},
37575 { SWIG_PY_INT, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE, 0, 0, 0},
37576 { SWIG_PY_INT, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI, 0, 0, 0},
37577 { SWIG_PY_INT, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING, 0, 0, 0},
37578 { SWIG_PY_INT, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING, 0, 0, 0},
37579 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK, 0, 0, 0},
37580 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK, 0, 0, 0},
37581 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK, 0, 0, 0},
37582 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK, 0, 0, 0},
37583 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS, 0, 0, 0},
37584 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS, 0, 0, 0},
37585 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER, 0, 0, 0},
37586 { SWIG_PY_INT, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY, 0, 0, 0},
37587 { SWIG_PY_INT, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE, 0, 0, 0},
37588 { SWIG_PY_INT, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT, 0, 0, 0},
37589 { SWIG_PY_INT, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE, 0, 0, 0},
37590 { SWIG_PY_INT, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT, 0, 0, 0},
37591 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL, 0, 0, 0},
37592 { SWIG_PY_INT, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED, 0, 0, 0},
37593 { SWIG_PY_INT, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL, 0, 0, 0},
37594 { SWIG_PY_INT, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED, 0, 0, 0},
37595 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS, 0, 0, 0},
37596 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION, 0, 0, 0},
37597 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG, 0, 0, 0},
37598 { SWIG_PY_INT, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG, 0, 0, 0},
37599 { SWIG_PY_INT, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS, 0, 0, 0},
37600 { SWIG_PY_INT, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT, 0, 0, 0},
37601 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE, 0, 0, 0},
37602 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED, 0, 0, 0},
37603 { SWIG_PY_INT, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL, 0, 0, 0},
37604 { SWIG_PY_INT, (char *)"Left", (long) wxLeft, 0, 0, 0},
37605 { SWIG_PY_INT, (char *)"Top", (long) wxTop, 0, 0, 0},
37606 { SWIG_PY_INT, (char *)"Right", (long) wxRight, 0, 0, 0},
37607 { SWIG_PY_INT, (char *)"Bottom", (long) wxBottom, 0, 0, 0},
37608 { SWIG_PY_INT, (char *)"Width", (long) wxWidth, 0, 0, 0},
37609 { SWIG_PY_INT, (char *)"Height", (long) wxHeight, 0, 0, 0},
37610 { SWIG_PY_INT, (char *)"Centre", (long) wxCentre, 0, 0, 0},
37611 { SWIG_PY_INT, (char *)"Center", (long) wxCenter, 0, 0, 0},
37612 { SWIG_PY_INT, (char *)"CentreX", (long) wxCentreX, 0, 0, 0},
37613 { SWIG_PY_INT, (char *)"CentreY", (long) wxCentreY, 0, 0, 0},
37614 { SWIG_PY_INT, (char *)"Unconstrained", (long) wxUnconstrained, 0, 0, 0},
37615 { SWIG_PY_INT, (char *)"AsIs", (long) wxAsIs, 0, 0, 0},
37616 { SWIG_PY_INT, (char *)"PercentOf", (long) wxPercentOf, 0, 0, 0},
37617 { SWIG_PY_INT, (char *)"Above", (long) wxAbove, 0, 0, 0},
37618 { SWIG_PY_INT, (char *)"Below", (long) wxBelow, 0, 0, 0},
37619 { SWIG_PY_INT, (char *)"LeftOf", (long) wxLeftOf, 0, 0, 0},
37620 { SWIG_PY_INT, (char *)"RightOf", (long) wxRightOf, 0, 0, 0},
37621 { SWIG_PY_INT, (char *)"SameAs", (long) wxSameAs, 0, 0, 0},
37622 { SWIG_PY_INT, (char *)"Absolute", (long) wxAbsolute, 0, 0, 0},
37623 {0}};
37624
37625 #ifdef __cplusplus
37626 }
37627 #endif
37628
37629 #ifdef __cplusplus
37630 extern "C"
37631 #endif
37632 SWIGEXPORT(void) SWIG_init(void) {
37633 static PyObject *SWIG_globals = 0;
37634 static int typeinit = 0;
37635 PyObject *m, *d;
37636 int i;
37637 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37638 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37639 d = PyModule_GetDict(m);
37640
37641 if (!typeinit) {
37642 for (i = 0; swig_types_initial[i]; i++) {
37643 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37644 }
37645 typeinit = 1;
37646 }
37647 SWIG_InstallConstants(d,swig_const_table);
37648
37649
37650 #ifndef wxPyUSE_EXPORT
37651 // Make our API structure a CObject so other modules can import it
37652 // from this module.
37653 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
37654 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
37655 Py_XDECREF(cobj);
37656 #endif
37657
37658 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37659 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
37660 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
37661
37662 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
37663
37664
37665 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
37666
37667 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
37668 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
37669 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
37670 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
37671 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
37672 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
37673 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
37674 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
37675 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
37676 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
37677 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
37678 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
37679 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
37680 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
37681 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
37682 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
37683 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
37684 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
37685 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
37686 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
37687 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
37688 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
37689 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
37690 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
37691 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
37692 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
37693 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
37694 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
37695 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
37696 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
37697 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
37698 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
37699 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
37700 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
37701 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
37702 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
37703 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
37704 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
37705 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
37706 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
37707 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
37708 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
37709 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
37710 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
37711 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
37712 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
37713 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
37714 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
37715 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
37716 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
37717 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
37718 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
37719 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
37720 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
37721 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
37722 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
37723 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
37724 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
37725 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
37726 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
37727 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
37728 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
37729 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
37730 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
37731 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
37732 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
37733 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
37734 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
37735 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
37736 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
37737 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
37738 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
37739 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
37740 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
37741 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
37742 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
37743 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
37744 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
37745 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
37746 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
37747 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
37748 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
37749 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
37750 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
37751 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
37752 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
37753 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
37754 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
37755 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
37756 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
37757 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
37758 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
37759 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
37760 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
37761 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
37762 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
37763 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
37764 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
37765 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
37766 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
37767 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
37768 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
37769 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
37770 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
37771 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
37772 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
37773 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
37774 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
37775 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
37776 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
37777 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
37778 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
37779 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
37780 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
37781 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
37782 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
37783 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
37784 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
37785 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
37786 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
37787 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
37788 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
37789
37790 // Initialize threading, some globals and such
37791 __wxPyPreStart(d);
37792
37793
37794 // Although these are defined in __version__ they need to be here too so
37795 // that an assert can be done to ensure that the wxPython and the wxWindows
37796 // versions match.
37797 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
37798 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
37799 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
37800
37801 }
37802